b0cd8ccbb9
refactor/fix: deploy/upgrade/rollback
...
continuous-integration/drone/pr Build is passing
continuous-integration/drone/push Build is passing
See coop-cloud/abra#461
2025-01-02 11:12:38 +01:00
671e1ca276
refactor!: cobra migrate
continuous-integration/drone/pr Build is passing
continuous-integration/drone/push Build is passing
2024-12-27 13:32:29 +01:00
1f8662cd95
refactor: urfave v3
2024-10-21 16:39:27 +02:00
375e17a4a0
refactor: urfave v2
2024-10-21 11:00:35 +02:00
0ff8e49cfd
docs: pass on sub-command help
2024-07-09 09:43:18 +02:00
87ecc05962
refactor(recipe): remove direct usage of config.RECIPE_DIR
continuous-integration/drone/pr Build is failing
2024-07-08 13:48:02 +02:00
5617a9ba07
refactor(recipe): remove remaining usage of old recipe struct
2024-07-08 13:15:20 +02:00
c1b03bcbd7
refactor(recipe): load load compoes config where its used
2024-07-08 12:31:39 +02:00
c861c09cce
refactor(recipe): use method or variable for .env.sample
2024-07-08 11:41:26 +02:00
01f3f4be17
refactor(recipe): use new recipe.Ensure method
2024-07-08 10:55:55 +02:00
950f85e2b4
refactor(recipe): introduce new recipe struct and move some methods
2024-07-08 10:55:43 +02:00
465827d5ee
log: no additional newlines
2024-07-08 01:01:14 +02:00
ef108d63e1
refactor: use central logger
continuous-integration/drone/pr Build is passing
continuous-integration/drone/push Build is passing
2024-07-08 00:01:28 +02:00
300a4ead01
fix: stop using deprecated APIs
continuous-integration/drone/push Build is failing
continuous-integration/drone/pr Build is failing
2024-06-19 19:14:52 +02:00
7f7f7224c6
feat: diff on release flow
...
continuous-integration/drone/pr Build is passing
continuous-integration/drone/push Build is passing
Also, don't commit unstaged files.
2023-10-16 18:31:22 +02:00
76035e003e
fix: recipe workflow with integration tests
continuous-integration/drone/push Build is failing
2023-09-21 10:36:53 +02:00
0be532692d
test: moar integration tests [ci skip]
continuous-integration/drone/pr Build is failing
2023-09-20 13:51:06 +02:00
3dc5662821
fix: improved offline support
...
continuous-integration/drone/push Build is passing
Closes coop-cloud/organising#471 .
2023-07-26 08:16:07 +02:00
c5d9d88359
Add some minor tweaks to machine readable pathway in recipe upgrade
continuous-integration/drone/push Build is failing
2023-04-27 16:45:57 +00:00
87e5909363
Make -m imply -n in recipe/upgrade
2023-04-27 16:45:57 +00:00
152c5d4563
Add machine output for recipe/upgrade
...
- Normal faff related to calling external libraries with structs thnx go
- Ouputs json now
2023-04-27 16:45:57 +00:00
34b274bc52
recipe/upgrade: Refactor upgradability list to make output easier
...
For future, we can print the struct as JSON.
2023-04-27 16:45:57 +00:00
62f8103fc2
recipe/upgrade: Add non-interactive mode.
...
Add support for -n which just outputs the list of compatible tags for each image.
2023-04-27 16:45:57 +00:00
312b93e794
fix: no gitops on recipe for "app new"
...
continuous-integration/drone/push Build is passing
Closes coop-cloud/organising#408
2023-02-15 00:49:22 +01:00
e4b4084dfd
fix: stream logs without hitting git.coopcloud.tech
...
continuous-integration/drone/pr Build is passing
continuous-integration/drone/push Build is passing
Medium-sized options refactor in here too!
See coop-cloud/organising#292 .
2023-02-13 16:46:43 +01:00
3b8893502a
docs: re-word on docstrings [ci skip]
2022-05-13 16:44:49 +02:00
6140abbcac
fix: sync to latest before commits come in
...
continuous-integration/drone/push Build is passing
Follows from a4989e383402e5c1af0b9713a3ad4f50ab5581e5
2022-04-20 11:42:24 +00:00
cdec834ca9
reformat: remove extra line in CLI help
2022-03-12 10:20:37 +01:00
b295958c17
fix: handle all container registries
...
See coop-cloud/organising#258
This fixes also how we read the digest of the image. I think it was
wrong before. Some registries restrict reading this info and we now just
default to "unknown" for that case.
This also appears to bring a wave of new dependencies due to the generic
handling logic of containers/... package. The abra binary is now 1mb
larger.
The catalogue generation is now slower unfortunately. But it is more
robust.
The generic logic looks in ~/.docker/config.json for log in details, so
you don't have to pass those in manually on the CLI anymore. We just
read those defaults. You can "docker login" to get credentials setup in
that file. Since most folks won't generate the catalogue, this seems
fine for now.
2022-02-21 08:46:30 +00:00
b2d17a1829
fix: ensure latest checked out for recipe upgrade
continuous-integration/drone/push Build is passing
2022-01-29 13:35:42 +01:00
f4b563528f
docs: point to new option for better assurance on tag listing
2022-01-19 10:40:37 +01:00
f9a2c1d58f
refactor: put StripTagMeta into formatter package
...
Avoid circular import.
2022-01-19 10:40:14 +01:00
0e688f1407
refactor!: migrate to urfave/cli v1
...
continuous-integration/drone/push Build is passing
Better flexible flags handling.
2022-01-18 14:38:20 +01:00
2f4f288a46
feat: -a/--all-tags for listing all tags on recipe upgrade
2022-01-17 21:59:31 +01:00
d7cf11b876
fix: further fixes for gracefully handling missing tag
...
continuous-integration/drone/push Build is passing
Follows 1b37d2d5f5e3a4b8c45481f082cb6f9d25cefdae.
2022-01-05 17:58:15 +01:00
d7e1b2947a
fix: skip failed image parse for upgrade and move on
2022-01-05 17:57:11 +01:00
1b37d2d5f5
fix: handle tags without images gracefully
continuous-integration/drone/push Build is passing
2022-01-05 17:32:58 +01:00
49ccf2d204
fix: also show skip for non semver tags
continuous-integration/drone/push Build is passing
2022-01-04 22:49:36 +01:00
76adc45431
docs: match typically log message style
2022-01-04 22:49:23 +01:00
a71b070921
feat: support skipping upgrades
2022-01-02 15:46:35 +01:00
0aa37fcee8
refactor!: simplifying publish logic
continuous-integration/drone/push Build is passing
2021-12-27 19:56:27 +01:00
4c186678b8
fix: clone https url by default
...
Catalogue package had to be merged into the recipe package due to too
many circular import errors. Also, use https url for cloning, assume
folks don't have ssh setup by default (the whole reason for the
refactor).
2021-12-27 16:45:56 +01:00
4283f130a2
refactor: apps -> recipes
2021-12-25 14:04:07 +01:00
e03761f251
fix: include image too
continuous-integration/drone/push Build is passing
2021-12-23 01:56:09 +01:00
8d499c0810
fix: find local only apps
2021-12-20 00:50:09 +01:00
0a903f041f
refactor: less quotes
2021-12-20 00:49:36 +01:00
053a06ccba
refactor: less quotes
2021-12-20 00:15:55 +01:00
db10c7b849
feat: run wizard mode on recipe upgrade [ci skip]
2021-11-09 18:06:06 +01:00
2b9395be1a
feat: make sync use wizard mode
...
continuous-integration/drone/push Build is passing
Some bugs squashed while testing this extensively.
2021-11-06 23:40:22 +01:00
f02ea7ca0d
feat: add recipe version pinning
...
closes: coop-cloud/organising#186
2021-11-03 05:28:23 +00:00