Commit Graph

2342 Commits

Author SHA1 Message Date
decentral1se c67471e6ca fix: show which secret was generated 2022-03-13 10:45:08 +01:00
decentral1se f0fc1027e5 feat: more info on volumes. skip driver info
continuous-integration/drone/push Build is passing
2022-03-12 17:11:05 +01:00
decentral1se c66695d55e fix: return err not logrus + new lines 2022-03-12 17:02:04 +01:00
decentral1se 262009701e fix: guard against concurrent write errors 2022-03-12 16:59:45 +01:00
decentral1se b31cb6b866 feat: prompt for secret generation
continuous-integration/drone/push Build is passing
Closes coop-cloud/organising#302.
2022-03-12 16:47:19 +01:00
decentral1se f39e186b66 fix: match Force/NoInput where needed
continuous-integration/drone/push Build is passing
2022-03-12 16:15:20 +01:00
decentral1se a8f35bdf2f fix: handle NoInput for volume removal 2022-03-12 16:09:05 +01:00
decentral1se 6e1e02ac28 chore: use same flag docs style 2022-03-12 16:08:44 +01:00
decentral1se 16fc5ee54b fix: can't force remove if it is already deployed 2022-03-12 16:08:26 +01:00
decentral1se 37a1fcc4af fix: delete all secrets if force/noinput 2022-03-12 16:01:42 +01:00
decentral1se a9b522719f fix: use name not stack name for pass storage 2022-03-12 16:01:31 +01:00
decentral1se ce70932a1c feat: single char short flag for volumes removal 2022-03-12 16:01:14 +01:00
decentral1se d61e104536 fix: look at removal flag for pass logic 2022-03-12 15:48:43 +01:00
decentral1se d5f30a3ae4 fix: use removal flag with correct help 2022-03-12 15:48:26 +01:00
decentral1se 2555096510 feat: short flags for run command 2022-03-12 15:42:29 +01:00
decentral1se 3797292b20 fix: no domain/converge check for deploy/upgrade/rollback 2022-03-12 15:36:43 +01:00
decentral1se 6333815b71 fix: remove unused flag 2022-03-12 15:32:23 +01:00
decentral1se 793a850fd5 refactor!: short flags for server add 2022-03-12 15:30:43 +01:00
decentral1se 42c1450384 refactor!: prefer short flags on release 2022-03-12 15:28:33 +01:00
decentral1se a2377882f6 refacator!: use single char short flags 2022-03-12 15:27:19 +01:00
decentral1se e78b395662 feat: new short flag for RC upgrading 2022-03-12 15:24:19 +01:00
decentral1se cdec834ca9 reformat: remove extra line in CLI help 2022-03-12 10:20:37 +01:00
decentral1se b4b0b464bd fix: only delete secrets from specific app
continuous-integration/drone/push Build is failing
See coop-cloud/organising#300.
2022-03-12 09:39:30 +01:00
decentral1se d8a1b0ccc1 doc: indicate storage location of secret in logs 2022-03-12 09:39:15 +01:00
decentral1se 3fbd381f55 fix: add pass remove flag & show name is optional 2022-03-12 09:17:24 +01:00
decentral1se d3e127e5c8 fix: retain backwards compat with TYPE/RECIPE change
continuous-integration/drone/push Build is passing
2022-03-11 19:37:50 +01:00
decentral1se e9cfb076c6 fix: strip length modifiers
continuous-integration/drone/push Build is passing
See coop-cloud/organising#297.
2022-03-11 16:40:10 +01:00
decentral1se 8ccf856110 fix: lay out generated secrets with warning/clarification 2022-03-11 16:39:34 +01:00
decentral1se d0945aa09d fix: handle NoInput for app removal 2022-03-11 16:39:20 +01:00
decentral1se 123619219e chore: go mod tidy
continuous-integration/drone/push Build is passing
2022-03-11 09:17:37 +01:00
decentral1se a27410952e Merge remote-tracking branch 'origin/renovate/main-github.com-docker-docker-20.x' into main 2022-03-11 09:17:15 +01:00
renovate-bot 13e0392af6 chore(deps): update module github.com/docker/docker to v20.10.13
renovate/artifacts Artifact file update failure
continuous-integration/drone/push Build is failing
continuous-integration/drone/pr Build is failing
2022-03-11 08:01:57 +00:00
renovate-bot 99a6135f72 chore(deps): update module github.com/docker/cli to v20.10.13
renovate/artifacts Artifact file update failure
continuous-integration/drone/pr Build is failing
continuous-integration/drone/push Build is failing
2022-03-11 08:01:45 +00:00
decentral1se a6b52c1354 chore: go mod tidy [ci skip] 2022-03-09 12:28:26 +01:00
renovate-bot fa51459191 chore(deps): update module github.com/docker/distribution to v2.8.1
renovate/artifacts Artifact file update failure
continuous-integration/drone/push Build is failing
continuous-integration/drone/pr Build is failing
2022-03-09 08:01:26 +00:00
decentral1se c529988427 feat: output success for secret insert [ci skip] 2022-03-08 18:10:37 +01:00
decentral1se 231cc3c718 fix: use StackName to filter volumes
continuous-integration/drone/push Build is passing
2022-03-08 18:04:47 +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 ecbeacf10f fix: prompt for container choice correctly on run [ci skip] 2022-02-22 11:47:36 +01:00
decentral1se 3f838038d5 chore: go mod tidy
continuous-integration/drone/push Build is passing
2022-02-22 10:52:14 +01:00
renovate-bot 91b4e021d0 chore(deps): update module github.com/containers/image to v5
renovate/artifacts Artifact file update failure
continuous-integration/drone/push Build is failing
continuous-integration/drone/pr Build is failing
2022-02-22 08:01:12 +00:00
decentral1se 598e87dca2 chore: skip new repositories
continuous-integration/drone/push Build is passing
2022-02-21 08:46:30 +00:00
decentral1se 001511876d chore: go mod tidy 2022-02-21 08:46:30 +00: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 2fbdcfb958 refactor: try the meta for default branch too
continuous-integration/drone/pr Build is passing
continuous-integration/drone/push Build is passing
Sometimes the Branch(...) call gets confused with state in the
repository. Its more robust to use the default value we get from gitea.

See coop-cloud/organising#299.
2022-02-20 18:07:49 +01:00
decentral1se 09ac74d205 fix: check out default branch from tags
continuous-integration/drone/push Build is passing
Also fix error handling to match function signatures.
2022-02-18 11:17:43 +01: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 9d5e805748 chore: go mod tidy
continuous-integration/drone/push Build is passing
2022-02-16 13:53:09 +01:00
renovate-bot 770ae5ed9b chore(deps): update module github.com/moby/sys/signal to v0.7.0
renovate/artifacts Artifact file update failure
continuous-integration/drone/push Build is failing
continuous-integration/drone/pr Build is failing
2022-02-16 08:01:33 +00:00