Commit Graph

287 Commits

Author SHA1 Message Date
c03d187256
fix: error out correctly and fix doc string
Some checks failed
continuous-integration/drone/push Build is failing
2021-09-06 00:26:45 +02:00
5e05bcd8b0
docs: <server> is not always required, drop it
Some checks failed
continuous-integration/drone/push Build is failing
2021-09-06 00:14:52 +02:00
d4333c2dc0
refactor: use app getting instead of boilerplate
Some checks failed
continuous-integration/drone/push Build is failing
2021-09-05 23:17:35 +02:00
48bcc9cb36
refactor: break up recipe cli package
All checks were successful
continuous-integration/drone/push Build is passing
2021-09-05 22:33:07 +02:00
ec40d88134
refactor: centralise app name validation
All checks were successful
continuous-integration/drone/push Build is passing
2021-09-05 22:04:48 +02:00
cc249e8187
fix: check for deployment of app before removing
All checks were successful
continuous-integration/drone/push Build is passing
Closes coop-cloud/go-abra#61.

Fix thanks to @knoflook!
2021-09-05 21:54:52 +02:00
273db078b0
fix: bail out if app doesn't exist
All checks were successful
continuous-integration/drone/push Build is passing
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
d82f854ebd
test: fix test suite to understand pkg/ directory
All checks were successful
continuous-integration/drone/push Build is passing
2021-09-05 21:39:12 +02:00
b7742d5e18
refactor: use pkg directory structure 2021-09-05 21:37:03 +02:00
f59380a35e
feat: add new target for LOC stats [ci skip] 2021-09-05 01:57:50 +02:00
c99f0fc908
refactor: recipe validation
All checks were successful
continuous-integration/drone/push Build is passing
2021-09-05 01:55:10 +02:00
317be4cc01
docs: short aliases [ci skip] 2021-09-05 01:34:56 +02:00
a3a66ef972
docs: short aliases, short descriptions [ci skip] 2021-09-05 01:21:16 +02:00
7155a33d31
fix: recipe lint and logrus usage 2021-09-05 01:21:05 +02:00
d5f49594a9
docs: attempt to simplify app/server/recipe CLI docs [ci skip] 2021-09-05 01:01:31 +02:00
5287f097e7
refactor: drop unused flags for now 2021-09-05 00:56:51 +02:00
1961cdcfee
docs: add autonomic as author 2021-09-05 00:54:36 +02:00
0727223009
docs: place <app> in args usage [ci skip] 2021-09-05 00:44:45 +02:00
07a43cb314
refactor: NewClientWithContext -> New, and use server only
All checks were successful
continuous-integration/drone/push Build is passing
2021-09-05 00:41:31 +02:00
dac679db48
refactor: punctuation, error handling and package docs 2021-09-05 00:22:47 +02:00
254a4d6d43
docs: document main package 2021-09-05 00:19:20 +02:00
fb75567729
docs: more docs for catalogue package [ci skip] 2021-09-05 00:17:28 +02:00
cb637ca89e
fix: use upper case for doc [ci skip] 2021-09-05 00:15:19 +02:00
ff21237a21
refactor: clear up app/recipe usage
All checks were successful
continuous-integration/drone/push Build is passing
See coop-cloud/go-abra#36.
2021-09-05 00:14:27 +02:00
5e4114036b
docs: more doc strings for secret package 2021-09-04 23:39:38 +02:00
4e92057f61
refactor: make SecretValue internal 2021-09-04 23:35:56 +02:00
fadbbabe09
docs: package doc string for secret 2021-09-04 23:29:05 +02:00
ba7b18f703
refactor: pass functions into own file 2021-09-04 23:28:54 +02:00
9bf11961d5
docs: add package docstring [ci skip] 2021-09-04 23:21:13 +02:00
a3e02540f6
refactor: use web module timeout everywhere 2021-09-04 23:18:34 +02:00
e68c7fc71c
fix: respect COMPOSE_FILE when loading compose files
All checks were successful
continuous-integration/drone/push Build is passing
Final part of coop-cloud/go-abra#57.
2021-09-04 22:02:49 +02:00
a8f30426ea
refactor: drop dead code and garden formatting
All checks were successful
continuous-integration/drone/push Build is passing
2021-09-04 21:23:47 +02:00
dc616fd3a0
refactor: drop swarm checking code for now
All checks were successful
continuous-integration/drone/push Build is passing
Part of coop-cloud/go-abra#57.
2021-09-04 21:19:34 +02:00
56796cf768
fix: use import only once 2021-09-04 21:12:53 +02:00
da049ad69a
fix: drop swarmkit/etcd dep
All checks were successful
continuous-integration/drone/push Build is passing
Part of coop-cloud/go-abra#57.
2021-09-04 21:08:14 +02:00
f65090bd2f
chore: run go mod tidy [ci skip] 2021-09-04 20:51:38 +02:00
b1d4f12e7d Merge pull request 'docs: add app remove description' (#60) from knoflook/go-abra:dev into main
All checks were successful
continuous-integration/drone/push Build is passing
Reviewed-on: coop-cloud/go-abra#60
2021-09-03 12:26:48 +00:00
836420e369
docs: add app remove description
All checks were successful
continuous-integration/drone/pr Build is passing
2021-09-03 14:22:40 +02:00
5c56e4521d
docs: shuffle TODOs from my side [ci skip] 2021-09-03 11:59:35 +02:00
612fc5a531
feat: final round of hacks for deploy command
All checks were successful
continuous-integration/drone/push Build is passing
2021-09-03 11:46:40 +02:00
92c8e9aab9
fix: pass in stack name when deploying
All checks were successful
continuous-integration/drone/push Build is passing
2021-09-02 19:49:41 +02:00
97188b57d9 Merge pull request 'fix: app rm quitting when there are no secrets/volumes to remove' (#56) from knoflook/go-abra:dev into main
All checks were successful
continuous-integration/drone/push Build is passing
Reviewed-on: coop-cloud/go-abra#56
2021-09-02 17:34:44 +00:00
7ab44cea57 Update 'TODO.md'
All checks were successful
continuous-integration/drone/push Build is passing
2021-09-02 15:57:38 +00:00
c150856a66
fix: app rm quitting when there are no secrets/volumes to remove
All checks were successful
continuous-integration/drone/pr Build is passing
2021-09-02 17:52:42 +02:00
063fa66af9
WIP heinous appEnv threading for env var loading
All checks were successful
continuous-integration/drone/push Build is passing
2021-09-01 15:01:20 +02:00
09873b42ce
WIP making a mess for stack deploy
All checks were successful
continuous-integration/drone/push Build is passing
2021-09-01 14:03:39 +02:00
ac86912ead
WIP chaos integrate deploy/deploy_composefile
All checks were successful
continuous-integration/drone/push Build is passing
The best in copy/pasta technology.

See https://github.com/docker/cli/tree/master/cli/command/stack/swarm
for more.
2021-09-01 13:08:42 +02:00
45c6be02b1
refactor: check for errors on secret rm
All checks were successful
continuous-integration/drone/push Build is passing
2021-08-31 17:08:25 +01:00
7835c1f91d
fix: defers after checking for err
All checks were successful
continuous-integration/drone/push Build is passing
2021-08-31 16:47:38 +01:00
542e9eea5c
refactor: rm unneeded sprintf 2021-08-31 16:47:16 +01:00