Commit Graph

352 Commits

Author SHA1 Message Date
decentral1se cf94c5acd0
chore: run go mod tidy 2021-09-06 17:50:32 +02:00
knoflook bb8124030e
feat: auto-release abra with goreleaser when a tag is pushed
continuous-integration/drone/push Build is passing Details
2021-09-06 17:22:18 +02:00
decentral1se 448dadd292
fix: sort versions correctly
Closes coop-cloud/go-abra#44.
2021-09-06 16:51:42 +02:00
decentral1se 8aaedee39e
fix: use new RecipeMeta struct 2021-09-06 12:24:23 +02:00
decentral1se f4d8b45859
fix: sort tags in descending order
Update tagcmp dep also.
2021-09-06 12:22:45 +02:00
decentral1se 7ed37547a5
docs: add FIXME [ci skip] 2021-09-06 01:51:04 +02:00
decentral1se 9862cf17a9
refactor: rename to RecipeMeta 2021-09-06 01:47:59 +02:00
decentral1se d1527741ba
refactor: drop erroneous return 2021-09-06 01:44:55 +02:00
decentral1se 9d6739a711
refactor: use new recipe struct 2021-09-06 01:43:21 +02:00
decentral1se 356c8f8c4e
refactor: construct recipe struct proper 2021-09-06 01:41:16 +02:00
decentral1se 6a1ecd0f85
refactor: consolidate recipe in-place editing functions 2021-09-06 01:34:28 +02:00
decentral1se b5d8fb1270
refactor: create compose package 2021-09-06 01:15:59 +02:00
decentral1se e1a10723ce
refactor: de-indent and error handle up front 2021-09-06 00:45:29 +02:00
decentral1se a0625bf133
refactor: centralise recipe validation 2021-09-06 00:45:13 +02:00
decentral1se 691a2c7a50
tests: fix App struct 2021-09-06 00:34:49 +02:00
decentral1se c03d187256
fix: error out correctly and fix doc string 2021-09-06 00:26:45 +02:00
decentral1se 5e05bcd8b0
docs: <server> is not always required, drop it 2021-09-06 00:14:52 +02:00
decentral1se d4333c2dc0
refactor: use app getting instead of boilerplate 2021-09-05 23:17:35 +02:00
decentral1se 48bcc9cb36
refactor: break up recipe cli package 2021-09-05 22:33:07 +02:00
decentral1se ec40d88134
refactor: centralise app name validation 2021-09-05 22:04:48 +02:00
decentral1se cc249e8187
fix: check for deployment of app before removing
Closes coop-cloud/go-abra#61.

Fix thanks to @knoflook!
2021-09-05 21:54:52 +02:00
decentral1se 273db078b0
fix: bail out if app doesn't exist
Closes coop-cloud/go-abra#67.
Closes coop-cloud/go-abra#69.

Fix lifted from approach in
coop-cloud/go-abra#69. Thanks for
@knoflook!
2021-09-05 21:46:36 +02:00
decentral1se d82f854ebd
test: fix test suite to understand pkg/ directory 2021-09-05 21:39:12 +02:00
decentral1se b7742d5e18
refactor: use pkg directory structure 2021-09-05 21:37:03 +02:00
decentral1se f59380a35e
feat: add new target for LOC stats [ci skip] 2021-09-05 01:57:50 +02:00
decentral1se c99f0fc908
refactor: recipe validation 2021-09-05 01:55:10 +02:00
decentral1se 317be4cc01
docs: short aliases [ci skip] 2021-09-05 01:34:56 +02:00
decentral1se a3a66ef972
docs: short aliases, short descriptions [ci skip] 2021-09-05 01:21:16 +02:00
decentral1se 7155a33d31
fix: recipe lint and logrus usage 2021-09-05 01:21:05 +02:00
decentral1se d5f49594a9
docs: attempt to simplify app/server/recipe CLI docs [ci skip] 2021-09-05 01:01:31 +02:00
decentral1se 5287f097e7
refactor: drop unused flags for now 2021-09-05 00:56:51 +02:00
decentral1se 1961cdcfee
docs: add autonomic as author 2021-09-05 00:54:36 +02:00
decentral1se 0727223009
docs: place <app> in args usage [ci skip] 2021-09-05 00:44:45 +02:00
decentral1se 07a43cb314
refactor: NewClientWithContext -> New, and use server only 2021-09-05 00:41:31 +02:00
decentral1se dac679db48
refactor: punctuation, error handling and package docs 2021-09-05 00:22:47 +02:00
decentral1se 254a4d6d43
docs: document main package 2021-09-05 00:19:20 +02:00
decentral1se fb75567729
docs: more docs for catalogue package [ci skip] 2021-09-05 00:17:28 +02:00
decentral1se cb637ca89e
fix: use upper case for doc [ci skip] 2021-09-05 00:15:19 +02:00
decentral1se ff21237a21
refactor: clear up app/recipe usage
See coop-cloud/go-abra#36.
2021-09-05 00:14:27 +02:00
decentral1se 5e4114036b
docs: more doc strings for secret package 2021-09-04 23:39:38 +02:00
decentral1se 4e92057f61
refactor: make SecretValue internal 2021-09-04 23:35:56 +02:00
decentral1se fadbbabe09
docs: package doc string for secret 2021-09-04 23:29:05 +02:00
decentral1se ba7b18f703
refactor: pass functions into own file 2021-09-04 23:28:54 +02:00
decentral1se 9bf11961d5
docs: add package docstring [ci skip] 2021-09-04 23:21:13 +02:00
decentral1se a3e02540f6
refactor: use web module timeout everywhere 2021-09-04 23:18:34 +02:00
decentral1se e68c7fc71c
fix: respect COMPOSE_FILE when loading compose files
Final part of coop-cloud/go-abra#57.
2021-09-04 22:02:49 +02:00
decentral1se a8f30426ea
refactor: drop dead code and garden formatting 2021-09-04 21:23:47 +02:00
decentral1se dc616fd3a0
refactor: drop swarm checking code for now
Part of coop-cloud/go-abra#57.
2021-09-04 21:19:34 +02:00
decentral1se 56796cf768
fix: use import only once 2021-09-04 21:12:53 +02:00
decentral1se da049ad69a
fix: drop swarmkit/etcd dep
Part of coop-cloud/go-abra#57.
2021-09-04 21:08:14 +02:00