The Co-op Cloud command-line utility belt 🎩🐇 https://coopcloud.tech
Go to file
knoflook b1d4f12e7d
continuous-integration/drone/push Build is passing Details
Merge pull request 'docs: add app remove description' (#60) from knoflook/go-abra:dev into main
Reviewed-on: coop-cloud/go-abra#60
2021-09-03 12:26:48 +00:00
.chglog chore: added git-chglog options 2021-07-15 01:18:34 +01:00
catalogue refactor: migrate JSON function to new package 2021-08-09 16:16:33 +02:00
cli docs: add app remove description 2021-09-03 14:22:40 +02:00
client WIP heinous appEnv threading for env var loading 2021-09-01 15:01:20 +02:00
cmd/abra refactor: simplify for loop 2021-07-30 16:32:06 +01:00
config feat: final round of hacks for deploy command 2021-09-03 11:46:40 +02:00
secret feat: add app secret rm 2021-08-31 10:31:54 +02:00
tests/resources tests: around 60% code coverage for config package 2021-07-19 14:36:00 +01:00
web refactor: migrate JSON function to new package 2021-08-09 16:16:33 +02:00
.drone.yml test: integrate new test target into CI build 2021-07-19 15:50:16 +02:00
.envrc.sample docs: updated go env steps fo install our pgks 2021-08-13 13:23:54 +01:00
.gitignore docs: updated go env steps fo install our pgks 2021-08-13 13:23:54 +01:00
Makefile build: added GOPRIVATE export to makefile 2021-08-13 13:28:18 +01:00
README.md docs: updated report card to new repo 2021-08-13 14:13:37 +01:00
TODO.md docs: shuffle TODOs from my side [ci skip] 2021-09-03 11:59:35 +02:00
go.mod deps: just updating deps to not err out on my end 2021-08-31 15:53:50 +01:00
go.sum deps: just updating deps to not err out on my end 2021-08-31 15:53:50 +01:00
version feat: added version and makefile 2021-07-13 23:47:47 +01:00

README.md

go-abra

Build Status Go Report Card

Work-In-Progress port of abra to Golang.

See abra for more. See our progress in TODO.md.

Install

Arch-based Linux Distros

abra (coming-soon) or for the latest version on git abra-git

yay -S abra-git # or abra

Debian-based Linux Distros

Coming Soon

Homebrew

Coming Soon

Build from source

git clone https://git.coopcloud.tech/coop-cloud/go-abra
cd go-abra
go env -w GOPRIVATE=coopcloud.tech
make install

The abra binary will be in $GOPATH/bin.

Hacking

Install direnv, run cp .envrc.sample .envrc, then run direnv allow in this directory. This will set coopcloud repos as private due to this bug.. Or you can run go env -w GOPRIVATE=coopcloud.tech but I'm not sure how persistent this is.

Install Go >= 1.16 and then:

  • make build to build
  • ./abra to run commands
  • make test will run tests

Our Drone CI configuration runs a number of sanity on each pushed commit. See the Makefile for more handy targets.

Please use the conventional commit format for your commits so we can automate our change log.

Fork maintenance

We maintain a fork of godotenv for two features:

  1. multi-line env var support
  2. inline comment parsing

You can upgrade the version here by running go get github.com/Autonomic-Cooperative/godotenv@<commit> where <commit> is the latest commit you want to pin to. We are aiming to migrate to YAML format for the environment configuration, so this should only be a temporary thing.