40 Commits

Author SHA1 Message Date
e4b4084dfd
fix: stream logs without hitting git.coopcloud.tech
All checks were successful
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
All checks were successful
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
All checks were successful
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
All checks were successful
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
All checks were successful
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
All checks were successful
continuous-integration/drone/push Build is passing
2022-01-05 17:32:58 +01:00
49ccf2d204
fix: also show skip for non semver tags
All checks were successful
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
All checks were successful
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
All checks were successful
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
All checks were successful
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
6db1fdcfba refactor!: recipe upgrade: use new tagcmp version
All checks were successful
continuous-integration/drone/push Build is passing
2021-10-11 14:43:06 +00:00
11c4651a3b fix: don't crash when there is a more serious upgrade available
All checks were successful
continuous-integration/drone/push Build is passing
2021-10-05 09:55:25 +00:00
49f90674f2 fix: --major/minor/patch is the most serious upgrade you want to do 2021-10-05 09:55:25 +00:00
74a70edb03 feat: upgrade an app with no user input with --minor/major/patch flag 2021-10-05 09:55:25 +00:00
6fc5c31347 WIP: #172 upgrade --major/minor/patch placeholder 2021-10-05 09:55:25 +00:00
a58cea3e0a
docs: dont assume that yet [ci skip] 2021-10-02 23:30:18 +02:00
22c4d0d864
style: remove doubled debug message
All checks were successful
continuous-integration/drone/pr Build is passing
continuous-integration/drone/push Build is passing
2021-09-24 11:05:49 +02:00
9fcdc45851
feat: debug logging
Closes coop-cloud/organising#164.
2021-09-11 11:45:26 +02:00
f4d8b45859
fix: sort tags in descending order
Update tagcmp dep also.
2021-09-06 12:22:45 +02:00
356c8f8c4e
refactor: construct recipe struct proper
Some checks failed
continuous-integration/drone/push Build is failing
2021-09-06 01:41:16 +02:00
6a1ecd0f85
refactor: consolidate recipe in-place editing functions
All checks were successful
continuous-integration/drone/push Build is passing
2021-09-06 01:34:28 +02:00
b5d8fb1270
refactor: create compose package
All checks were successful
continuous-integration/drone/push Build is passing
2021-09-06 01:15:59 +02:00
a0625bf133
refactor: centralise recipe validation 2021-09-06 00:45:13 +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