Commit Graph

178 Commits

Author SHA1 Message Date
decentral1se 6140abbcac fix: sync to latest before commits come in
continuous-integration/drone/push Build is passing Details
Follows from a4989e3834
2022-04-20 11:42:24 +00:00
decentral1se 996255188b Revert "fix: ensure we're on latest for recipe release dance"
This reverts commit 3c4bb6a55e.
2022-04-20 11:42:24 +00:00
decentral1se 3c4bb6a55e
fix: ensure we're on latest for recipe release dance
Closes coop-cloud/organising#313.
2022-04-19 10:28:49 +02:00
decentral1se a0d7a76f9d
fix: better error messages for release failures
See coop-cloud/organising#313
2022-04-19 10:20:35 +02:00
decentral1se cdec834ca9
reformat: remove extra line in CLI help 2022-03-12 10:20:37 +01:00
decentral1se 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
decentral1se b5f23d3791 feat: show latest published version on sync
continuous-integration/drone/push Build is passing Details
2022-02-09 08:58:20 +00:00
decentral1se bdd9b0a1aa
fix: ensure recipes on latest for lint/generate
continuous-integration/drone/push Build is passing Details
Follows b2d17a1829.
2022-01-29 14:06:25 +01:00
decentral1se b2d17a1829
fix: ensure latest checked out for recipe upgrade
continuous-integration/drone/push Build is passing Details
2022-01-29 13:35:42 +01:00
decentral1se 2277e4ef72
refactor!: remove no-input flag where not needed 2022-01-27 12:05:19 +01:00
decentral1se f4b563528f
docs: point to new option for better assurance on tag listing 2022-01-19 10:40:37 +01:00
decentral1se f9a2c1d58f
refactor: put StripTagMeta into formatter package
Avoid circular import.
2022-01-19 10:40:14 +01:00
decentral1se 0e688f1407
refactor!: migrate to urfave/cli v1
continuous-integration/drone/push Build is passing Details
Better flexible flags handling.
2022-01-18 14:38:20 +01:00
decentral1se 7733637767
fix: ensure catalogue cloned for catalogue reliant commands
continuous-integration/drone/push Build is passing Details
2022-01-18 11:19:33 +01:00
decentral1se 88f9796aaf
fix: let us know if not pushing changes without dry-run (recipe release)
continuous-integration/drone/push Build is passing Details
2022-01-18 10:55:07 +01:00
decentral1se 6cdba0f9de
fix: commit changes if dry-run not present (recipe release) 2022-01-18 10:54:54 +01:00
decentral1se 2f4f288a46
feat: -a/--all-tags for listing all tags on recipe upgrade 2022-01-17 21:59:31 +01:00
decentral1se d9f3a11265
fix: gracefully handle missing tag for syncing
continuous-integration/drone/push Build is passing Details
2022-01-05 18:04:46 +01:00
decentral1se d7cf11b876
fix: further fixes for gracefully handling missing tag
continuous-integration/drone/push Build is passing Details
Follows 1b37d2d5f5.
2022-01-05 17:58:15 +01:00
decentral1se d7e1b2947a
fix: skip failed image parse for upgrade and move on 2022-01-05 17:57:11 +01:00
decentral1se 1b37d2d5f5
fix: handle tags without images gracefully
continuous-integration/drone/push Build is passing Details
2022-01-05 17:32:58 +01:00
decentral1se 74dfb12fd6
refactor: centralise tag meta stripping 2022-01-05 17:32:33 +01:00
decentral1se 49ccf2d204
fix: also show skip for non semver tags
continuous-integration/drone/push Build is passing Details
2022-01-04 22:49:36 +01:00
decentral1se 76adc45431
docs: match typically log message style 2022-01-04 22:49:23 +01:00
decentral1se 625747d048
fix: get right url
continuous-integration/drone/push Build is passing Details
2022-01-02 15:54:46 +01:00
decentral1se a71b070921
feat: support skipping upgrades 2022-01-02 15:46:35 +01:00
decentral1se 560e0eab86
fix: ensure catalogue is present 2022-01-01 22:01:16 +01:00
decentral1se 0a550363b8
fix: correctly count recipes 2022-01-01 21:46:38 +01:00
decentral1se 3119220c21
fix: better error 2022-01-01 21:46:24 +01:00
decentral1se d957adb675
docs: update the release description
continuous-integration/drone/push Build is passing Details
2021-12-31 16:48:03 +01:00
decentral1se 5254af0fe4
fix: handle no changes edge case for recipe release
continuous-integration/drone/push Build is passing Details
2021-12-31 13:45:01 +01:00
decentral1se ce96269be0
fix: more fixed for dry mode, this time tested :)
Follows 299276c383.
2021-12-31 13:37:03 +01:00
decentral1se 299276c383
fix: handle dry run output result correctly
continuous-integration/drone/push Build is passing Details
2021-12-31 13:17:50 +01:00
decentral1se 8785f66391
feat: link direct to tag 2021-12-28 03:40:18 +01:00
decentral1se 24882e95b4
fix: take version from sync when releasing 2021-12-28 03:40:02 +01:00
decentral1se 1fd0941239
refactor: improved version choice flow 2021-12-28 03:19:32 +01:00
decentral1se 1f91b3bb03
fix: add prompt before publishing
continuous-integration/drone/push Build is passing Details
2021-12-28 01:51:39 +01:00
decentral1se f5d2d3adf6
refactor: formatter gets own package 2021-12-28 01:24:23 +01:00
decentral1se 0aa37fcee8
refactor!: simplifying publish logic
continuous-integration/drone/push Build is passing Details
2021-12-27 19:56:27 +01:00
decentral1se eb1b6be4c5
fix: auto-config ssh urls and push to them
continuous-integration/drone/push Build is passing Details
2021-12-27 18:06:56 +01:00
decentral1se 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
decentral1se 3eef1e8587
feat: filter recipes list
continuous-integration/drone/push Build is passing Details
2021-12-27 11:00:04 +01:00
decentral1se 06cc5d1cc3
fix: only update when really needed
continuous-integration/drone/push Build is passing Details
2021-12-27 04:10:12 +01:00
decentral1se 321ba1e0ec
fix: template without weird breakages 2021-12-27 03:14:48 +01:00
decentral1se c5a74e9f6b
fix: template env files too
continuous-integration/drone/push Build is passing Details
2021-12-26 04:38:34 +01:00
decentral1se 027c8a1420
fix: better recipe meta defaults
continuous-integration/drone/push Build is passing Details
2021-12-26 04:10:50 +01:00
decentral1se 9a1cf258a5
fix: check published version properly
Resulted in a refactor to a new lint package.
2021-12-26 00:00:19 +01:00
decentral1se a84a5bc320
feat: more robust linting
See coop-cloud/organising#254.
2021-12-25 23:22:50 +01:00
decentral1se c0caf14d74
fix: more meta for listing recipes 2021-12-25 17:17:41 +01:00
decentral1se d66c558b5c
fix: dont render if no versions 2021-12-25 17:12:41 +01:00