Commit Graph

239 Commits

Author SHA1 Message Date
decentral1se 8ccf856110 fix: lay out generated secrets with warning/clarification 2022-03-11 16:39:34 +01:00
decentral1se 3381b8936d fix: better error handling & proper context deletion for server rm
continuous-integration/drone/push Build is passing
2022-02-24 15:57:52 +01:00
decentral1se 823f869f1d fix: error out correctly from ValidateDomain 2022-02-24 15:57:40 +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 5da4afa0ec fix: only ensure latest after cloning
continuous-integration/drone/push Build is passing
2022-02-18 09:55:07 +01:00
decentral1se c3442354e7 fix: skip dupe ipv4 check, done in EnsureDomainsResolveSameIPv4
continuous-integration/drone/push Build is passing
2022-02-14 17:44:15 +01:00
decentral1se b5f23d3791 feat: show latest published version on sync
continuous-integration/drone/push Build is passing
2022-02-09 08:58:20 +00:00
decentral1se 2b2dcc01b4 fix: dont checkout latest if we dont have a copy
continuous-integration/drone/push Build is passing
2022-02-09 09:54:02 +01:00
decentral1se 227c02cd09 refactor!: make common flags single char again
continuous-integration/drone/push Build is passing
2022-02-03 14:19:51 +01:00
decentral1se bfeda40e34 fix: catch more ssh failure modes with help
continuous-integration/drone/push Build is passing
2022-02-03 13:43:11 +01:00
decentral1se dfb32cbb68 fix: type -> recipe [ci skip] 2022-02-02 20:48:12 +01:00
decentral1se bdd9b0a1aa fix: ensure recipes on latest for lint/generate
continuous-integration/drone/push Build is passing
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
2022-01-29 13:35:42 +01:00
decentral1se c905376472 refactor!: use "config" instead of "compose" [ci skip] 2022-01-27 12:24:33 +01:00
decentral1se d316de218c feat: include recipe in deploy & friends overview 2022-01-27 12:23:02 +01:00
decentral1se 58e98f490d refactor!: type -> recipes
continuous-integration/drone/pr Build is failing
continuous-integration/drone/push Build is passing
2022-01-27 12:06:32 +01:00
decentral1se c0c3d9fe76 refactor!: make dry-run flag more convenient 2022-01-27 12:05:19 +01:00
decentral1se 2493921ade refactor!: de-duplicate record flags 2022-01-27 12:05:19 +01:00
decentral1se 22f9cf2be4 refactor: remove unused flag 2022-01-27 12:05:18 +01:00
decentral1se a23124aede feat: auto strip domain names to avoid runtime limits
continuous-integration/drone/push Build is passing
2022-01-27 10:33:21 +00:00
decentral1se e670844b56 refactor!: app name -> domain 2022-01-27 10:33:21 +00:00
decentral1se 9f2bb3f74f refactor!: remove auto dns, too magic, too broken 2022-01-19 11:20:51 +01:00
decentral1se f9a2c1d58f refactor: put StripTagMeta into formatter package
Avoid circular import.
2022-01-19 10:40:14 +01:00
decentral1se 7a66a90ecb fix!: change dry-run alias to not conflict with debug 2022-01-18 17:13:28 +01:00
decentral1se 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
decentral1se ca75654769 fix: read correct app file name for secret generation
Stack name is only an internal docker concept now.
2022-01-17 22:17:59 +01:00
decentral1se 2f4f288a46 feat: -a/--all-tags for listing all tags on recipe upgrade 2022-01-17 21:59:31 +01:00
decentral1se 4b7ec6384c fix: fix chaos mode for deployment
continuous-integration/drone/push Build is passing
2022-01-05 19:21:41 +01:00
decentral1se 74dfb12fd6 refactor: centralise tag meta stripping 2022-01-05 17:32:33 +01:00
decentral1se 10e4a8b97f fix: handle StackName/AppName correctly for new app creation
continuous-integration/drone/push Build is passing
2022-01-04 11:56:29 +01:00
decentral1se eed2756784 fix: new app table colume matches usual order now 2022-01-04 11:56:17 +01:00
decentral1se a1cbf21f61 fix: handle "uknown" version on deployment
Fixes pre-deploy overview version listing.
2022-01-03 16:32:03 +01:00
decentral1se 65feda7f1d fix: dont lookup release notes if no version passed 2022-01-03 16:14:56 +01:00
decentral1se 64e223a810 fix: dont display non-existant release notes if no version 2022-01-03 16:14:44 +01:00
decentral1se 2c78ac22e0 fix: handle missing ssh keys (pass auth) 2022-01-02 01:52:33 +01:00
decentral1se 3119220c21 fix: better error 2022-01-01 21:46:24 +01:00
decentral1se d26fabe8ef fix: handle zone argument correctly 2022-01-01 21:34:21 +01:00
decentral1se 84bf3ffa50 fix: use right variable 2022-01-01 21:34:07 +01:00
decentral1se a556ca625b fix: handle StackName / Name correctly 2022-01-01 17:22:19 +01:00
decentral1se 60e4dfd9cb refactor!: use lowercase like the rest style
continuous-integration/drone/push Build is passing
2021-12-31 16:53:58 +01:00
decentral1se 62441acf03 refactor: use SmallSHA 2021-12-30 00:41:21 +01:00
decentral1se 1fd0941239 refactor: improved version choice flow 2021-12-28 03:19:32 +01:00
decentral1se b4f48c3c59 feat: show release notes on upgrade
continuous-integration/drone/push Build is passing
2021-12-28 02:31:21 +01:00
decentral1se 43e68a99b0 refactor: reverse list function finally 2021-12-28 02:31:06 +01:00
decentral1se f5d2d3adf6 refactor: formatter gets own package 2021-12-28 01:24:23 +01:00
decentral1se 07119b0575 refactor: less files, they werent used generally 2021-12-28 01:08:44 +01:00
decentral1se d2a6e35986 refactor: rename to flags 2021-12-28 01:04:51 +01:00
decentral1se 0aa37fcee8 refactor!: simplifying publish logic
continuous-integration/drone/push Build is passing
2021-12-27 19:56:27 +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 a06043375d refactor: remove unused flag 2021-12-27 16:07:57 +01:00