decentral1se
0140f96ca1
fix: make sure to clone recipe
...
Closes coop-cloud/organising#193 .
2021-10-11 00:34:23 +02:00
decentral1se
c764243f3a
fix: manage multiple version showing edge cases
2021-10-08 10:50:48 +02:00
decentral1se
dde8afcd43
feat: support version/upgrade listing
...
Closes coop-cloud/organising#130 .
2021-10-08 09:51:47 +02:00
decentral1se
e78ced41fb
fix: use freifunk DNS resolver
...
Closes coop-cloud/organising#180 .
2021-10-06 08:47:01 +02:00
decentral1se
e9113500d8
feat: allow to override STACK_NAME
2021-10-05 20:40:16 +02:00
decentral1se
f75e264811
fix: ensure dirs are created
...
Also use debug logging for help.
Closes coop-cloud/organising#183 .
Closes coop-cloud/organising#183 .
2021-10-05 20:24:41 +02:00
decentral1se
8bfd76fd04
feat: generate versions for catalogue also
...
Closes coop-cloud/organising#179 .
2021-10-05 20:14:00 +02:00
knoflook
1cb5e3509d
fix: add compose.yml before commiting with recipe release; reset parts of tag according to semver when releasing
2021-10-05 16:36:15 +02:00
knoflook
11c4651a3b
fix: don't crash when there is a more serious upgrade available
2021-10-05 09:55:25 +00:00
knoflook
49f90674f2
fix: --major/minor/patch is the most serious upgrade you want to do
2021-10-05 09:55:25 +00:00
knoflook
74a70edb03
feat: upgrade an app with no user input with --minor/major/patch flag
2021-10-05 09:55:25 +00:00
knoflook
6fc5c31347
WIP: #172 upgrade --major/minor/patch placeholder
2021-10-05 09:55:25 +00:00
decentral1se
c616907b71
feat: teach recipe sync to understand new versions
...
Closes coop-cloud/organising#177 .
2021-10-05 10:28:09 +02:00
decentral1se
a58cea3e0a
docs: dont assume that yet [ci skip]
2021-10-02 23:30:18 +02:00
decentral1se
c1fd97c427
fix: handle new local server is listing
2021-10-02 22:40:08 +02:00
decentral1se
2f218bd99f
fix: ensure ~/.abra is created
...
Also make that debug message less cringe.
2021-10-02 22:37:30 +02:00
decentral1se
48290aa316
fix: make server path creation more robust
2021-10-02 22:30:08 +02:00
decentral1se
db5cbfa992
docs: reword this local flag usage
2021-10-02 22:14:01 +02:00
knoflook
6ae75e013a
refactor: move Major, Minor and Patch to recipe.go
2021-10-01 19:49:18 +02:00
decentral1se
22118b88e4
chore: appease formatter
2021-10-01 12:56:04 +02:00
3wc
3688ea9d69
feat: support local server with --local
2021-10-01 11:59:17 +02:00
decentral1se
10b15d65b4
docs: use same style log messages [ci skip]
2021-09-29 22:37:16 +02:00
decentral1se
1c5d6d6357
docs: attempt some cmd docs
2021-09-29 22:36:43 +02:00
knoflook
96bb145981
feat: check and sanitize user-specified tag
2021-09-29 16:25:39 +02:00
knoflook
c4c76f4848
feat: add a flag to commit your changes before creating a tag
2021-09-29 16:08:02 +02:00
decentral1se
2076c566bb
Merge pull request 'feat: tag recipes with abra' ( #99 ) from knoflook/abra:recipe-release into main
...
Reviewed-on: coop-cloud/abra#99
2021-09-29 12:39:35 +00:00
decentral1se
62f6327b66
refactor: use usual naming style [ci skip]
2021-09-28 21:28:46 +02:00
knoflook
857d12d23c
feat: print stack traces for errors when debugging
2021-09-27 12:24:02 +02:00
knoflook
22c4d0d864
style: remove doubled debug message
2021-09-24 11:05:49 +02:00
knoflook
e700e44363
feat: add main apps version as a semver build metadata when releasing
2021-09-24 10:48:09 +02:00
knoflook
9faefd2592
feat: push the new tag with --push
2021-09-23 18:52:21 +02:00
knoflook
cd179175f5
refactor: dont' create the same objects twice
2021-09-23 18:32:58 +02:00
knoflook
c0f92ca13d
feat: support --major/-x --minor/-y --patch/-z for tag calculation
2021-09-23 18:27:19 +02:00
knoflook
48d28c8dd1
feat: tag recipes with abra
2021-09-22 16:03:56 +02:00
decentral1se
6f43778691
fix: better UI/UX for app creation
...
Closes coop-cloud/organising#145 .
2021-09-22 08:59:00 +02:00
decentral1se
9783563fa6
fix: drop version checking while churning
2021-09-22 08:47:49 +02:00
decentral1se
1392afc015
fix: give better error message on server create
2021-09-22 08:19:28 +02:00
decentral1se
886009975d
fix: order args correctly
2021-09-22 08:19:14 +02:00
decentral1se
b1147cd136
feat: add x-platform progress bars for long loads
...
Closes coop-cloud/organising#150 .
2021-09-22 07:48:17 +02:00
decentral1se
7b349732ac
fix: fix name and doc exceptions for catalogue generation
2021-09-20 16:53:49 +02:00
decentral1se
a8ce64a9db
fix: ignore abra-bash for catalogue generation
2021-09-20 16:53:38 +02:00
decentral1se
96aa74a977
WIP: gather more meta for catalogue generation
2021-09-20 16:48:27 +02:00
decentral1se
700f022790
WIP: use repo metadata not existing catalogue
2021-09-20 09:38:51 +02:00
decentral1se
d188327b17
WIP: generating new apps.json
2021-09-17 08:04:16 +02:00
decentral1se
fdd46a4d98
chore: run formatter
2021-09-17 07:38:38 +02:00
decentral1se
e00920643e
WIP: implement async recipe cloning
...
See coop-cloud/organising#159 .
2021-09-16 16:28:11 +02:00
3wc
754fe81e01
feat: add templating during `.. app new`
...
Closes coop-cloud/organising#168
2021-09-16 15:09:35 +02:00
decentral1se
bece2e8351
fix: recovering debug logging [ci skip]
...
Follows 31edbbd32e
.
2021-09-16 13:10:17 +02:00
Roxie Gibson
e47d7029d7
refactor: S1005 gosimple
2021-09-16 12:01:47 +01:00
Roxie Gibson
31edbbd32e
fix: git metadata not removed in merge
2021-09-16 11:35:18 +01:00
Roxie Gibson
0a1c73bf00
refactor: use cli context vs creating new one
2021-09-16 11:21:38 +01:00
decentral1se
f87aad4688
fix: list all servers
...
Closes coop-cloud/organising#166 .
2021-09-16 09:26:12 +02:00
decentral1se
6794236b77
feat: support service completion
...
Closes coop-cloud/organising#165 .
2021-09-16 09:10:05 +02:00
decentral1se
66aeeee768
fix: completion doesn't fail silently now
...
Closes coop-cloud/organising#161 .
2021-09-16 08:45:38 +02:00
decentral1se
d290a4ec0b
WIP: the beginning of catalogue generation
...
See coop-cloud/organising#159 .
2021-09-14 16:00:15 +02:00
decentral1se
59c55c0a2f
fix: add complete for app run command
2021-09-11 11:51:25 +02:00
decentral1se
9fcdc45851
feat: debug logging
...
Closes coop-cloud/organising#164 .
2021-09-11 11:45:26 +02:00
decentral1se
99160967a8
refactor: domainName as arg and doc strings
...
See coop-cloud/organising#163 .
2021-09-10 15:04:01 +02:00
decentral1se
683ef0c3de
fix: make more server new command more robust
...
See coop-cloud/organising#163 .
2021-09-10 14:49:25 +02:00
decentral1se
3c3d8dc0e7
WIP: add first run at app rollback command
...
See coop-cloud/organising#146 .
2021-09-10 11:49:29 +02:00
decentral1se
855e9ea26d
fix: dont output secrets table if nothing there
...
See coop-cloud/organising#162 .
2021-09-10 10:36:46 +02:00
decentral1se
50d663ff6e
fix: use correct var for storing server var
...
See coop-cloud/organising#162 .
2021-09-10 10:36:39 +02:00
decentral1se
39ad6e8aa8
fix: use recipeName instead of recipe.Name
...
This provides a correctly formatted recipe name for machine reading
(i.e. with `-` and such) instead of the more human readable version
(i.e. with spaces).
Closes coop-cloud/organising#162 .
2021-09-10 09:56:58 +02:00
decentral1se
e114b2a939
Merge pull request 'feat: auto-complete app and recipe names' ( #89 ) from knoflook/abra:main into main
...
Reviewed-on: coop-cloud/abra#89
2021-09-08 12:16:41 +00:00
knoflook
511619722f
feat: autocomplete recipe names for more abra commands
2021-09-08 13:59:55 +02:00
knoflook
cf2653fef8
refactor: drop unused function, rename GetAppsNames
2021-09-08 13:43:55 +02:00
decentral1se
5ba40ad883
feat: include service tags
...
Closes coop-cloud/abra#92 .
2021-09-08 10:15:46 +02:00
knoflook
4c216fdf40
feat: auto-complete app and recipe names
2021-09-07 16:57:39 +02:00
decentral1se
c441a1ab52
Merge branch 'abra-upgrade' into main
2021-09-07 15:24:48 +02:00
decentral1se
f1659b3bda
feat: support abra upgrading
2021-09-07 15:23:10 +02:00
knoflook
1757fabb89
feat: bash and (fi)zsh completion along with docs
2021-09-07 13:18:21 +02:00
decentral1se
1de4f95267
docs: lower case that [ci skip]
2021-09-07 09:13:13 +02:00
decentral1se
dcf1a90c31
fix: tables align output again
...
Closes coop-cloud/go-abra#16 .
2021-09-07 08:41:03 +02:00
decentral1se
a06870f5cb
fix: generating secrets works again again
...
Closes coop-cloud/go-abra#68 .
2021-09-07 08:28:20 +02:00
decentral1se
b477bf8ece
fix: get app new working again
2021-09-07 08:12:37 +02:00
decentral1se
2cb0fb8d66
refactor: match app/recipe new instead of create
2021-09-07 07:31:11 +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
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
b7742d5e18
refactor: use pkg directory structure
2021-09-05 21:37:03 +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
ff21237a21
refactor: clear up app/recipe usage
...
See coop-cloud/go-abra#36 .
2021-09-05 00:14:27 +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
da049ad69a
fix: drop swarmkit/etcd dep
...
Part of coop-cloud/go-abra#57 .
2021-09-04 21:08:14 +02:00
knoflook
836420e369
docs: add app remove description
2021-09-03 14:22:40 +02:00
decentral1se
612fc5a531
feat: final round of hacks for deploy command
2021-09-03 11:46:40 +02:00
decentral1se
92c8e9aab9
fix: pass in stack name when deploying
2021-09-02 19:49:41 +02:00
knoflook
c150856a66
fix: app rm quitting when there are no secrets/volumes to remove
2021-09-02 17:52:42 +02:00
decentral1se
063fa66af9
WIP heinous appEnv threading for env var loading
2021-09-01 15:01:20 +02:00
decentral1se
09873b42ce
WIP making a mess for stack deploy
2021-09-01 14:03:39 +02:00
decentral1se
ac86912ead
WIP chaos integrate deploy/deploy_composefile
...
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
Roxie Gibson
45c6be02b1
refactor: check for errors on secret rm
2021-08-31 17:08:25 +01:00
Roxie Gibson
7835c1f91d
fix: defers after checking for err
2021-08-31 16:47:38 +01:00
Roxie Gibson
542e9eea5c
refactor: rm unneeded sprintf
2021-08-31 16:47:16 +01:00
Roxie Gibson
32b2bf245b
refactor: simplfiy for...range loops
2021-08-31 16:17:08 +01:00
Roxie Gibson
3b93f893fd
refactor: fix defer and handle error
2021-08-31 16:02:38 +01:00
decentral1se
57e641689a
feat: add secret generate (untested, moving fast)
2021-08-31 11:59:07 +02:00
decentral1se
d68f2f5686
feat: add app secret insert
2021-08-31 10:50:02 +02:00
decentral1se
f9ae9c9a56
feat: add app secret rm
2021-08-31 10:31:54 +02:00
decentral1se
15651822f1
feat: implement secret ls
...
Closes coop-cloud/go-abra#54 .
2021-08-30 17:02:08 +02:00
decentral1se
66a8630101
feat: implement undeploy command
2021-08-30 01:36:42 +02:00
decentral1se
440911f983
feat: finish app run command
2021-08-29 21:20:21 +02:00
decentral1se
8cc691ab52
WIP app run command
2021-08-29 18:21:30 +02:00
decentral1se
db4908c3ae
feat: add restore command
2021-08-29 16:25:31 +02:00
decentral1se
8651e22441
feat: implement app logs command
2021-08-29 14:13:35 +02:00
decentral1se
45e2442e83
fix: more robust length check
2021-08-29 14:13:07 +02:00
decentral1se
547f785da5
feat: add app cp command
2021-08-29 13:41:29 +02:00
decentral1se
acca710a5a
feat: add app config command
2021-08-29 10:45:49 +02:00
decentral1se
8ad51c1fd5
feat: implement check command
2021-08-28 20:13:56 +02:00
decentral1se
3a8296a8fe
feat: implement backup command
2021-08-28 19:10:19 +02:00
decentral1se
ff0b0b5ad8
feat: finish ps command
2021-08-28 16:00:16 +02:00
decentral1se
de5169ea24
fix: support trimming library is version listing
2021-08-25 14:22:31 +02:00
decentral1se
62ceca798c
refactor: sort output of version command
2021-08-25 14:16:33 +02:00
decentral1se
b34acefa21
refactor: support listing unknown versions
2021-08-25 14:06:42 +02:00
decentral1se
c5bb680fed
refactor: making app version command async
2021-08-25 13:30:55 +02:00
decentral1se
ed11634abf
WIP abra app version <app> implementation
2021-08-25 13:06:49 +02:00
knoflook
c3088a5158
refactor: create functions in client for removing and listing volumes
2021-08-17 20:39:07 +02:00
knoflook
5663659d23
feat: initial commit for abra app volume ls/rm
2021-08-17 20:39:06 +02:00
Roxie Gibson
ca4001a805
docs: fixed typo in functiion comment
2021-08-13 14:13:56 +01:00
Roxie Gibson
98ec23761f
refactor: de-vendor tagcmp into its own repo
2021-08-13 12:49:46 +01:00
Roxie Gibson
b143b544b6
fix: err not being checked & unneeded type assert
2021-08-12 14:53:42 +01:00
Roxie Gibson
8f9ffa0667
style: correct error formatting ST1005
2021-08-12 14:41:39 +01:00
knoflook
cefad74e22
fix: app rm removing secrets and volumes twice
2021-08-12 12:59:11 +02:00
decentral1se
83671f42a2
feat: recipe sync
2021-08-10 12:55:23 +02:00
decentral1se
c6ea18311e
refactor: drop this for now
2021-08-10 08:34:36 +02:00