Commit Graph

660 Commits

Author SHA1 Message Date
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 09ac74d205
fix: check out default branch from tags
continuous-integration/drone/push Build is passing Details
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 Details
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 Details
2022-02-14 17:44:15 +01:00
decentral1se fc5107865b
fix: typo
continuous-integration/drone/push Build is passing Details
2022-02-10 10:59:19 +01:00
decentral1se 0557284461 fix: use new repo name
continuous-integration/drone/push Build is passing Details
2022-02-09 08:58:51 +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 2b2dcc01b4
fix: dont checkout latest if we dont have a copy
continuous-integration/drone/push Build is passing Details
2022-02-09 09:54:02 +01:00
decentral1se 227c02cd09
refactor!: make common flags single char again
continuous-integration/drone/push Build is passing Details
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 Details
2022-02-03 13:43:11 +01:00
decentral1se 5237c7ed50
docs: focus more on straight ssh docs for server add 2022-02-03 13:42:49 +01:00
decentral1se 4e09f3b9a8
refactor: migrate authors to dedicated file [ci skip] 2022-02-02 21:00:00 +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 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 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 Details
continuous-integration/drone/push Build is passing Details
2022-01-27 12:06:32 +01:00
decentral1se 7a40e2d616
fix: remove duplicate flags on "server new" 2022-01-27 12:05:20 +01:00
decentral1se 2277e4ef72
refactor!: remove no-input flag where not needed 2022-01-27 12:05:19 +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 Details
2022-01-27 10:33:21 +00:00
decentral1se e670844b56 refactor!: app name -> domain 2022-01-27 10:33:21 +00:00
decentral1se fa8611b115
fix: respect NoInput on "app cp" & use app to get StackName
continuous-integration/drone/push Build is passing Details
2022-01-25 11:39:38 +01:00
decentral1se c7062e0494
fix: initial subcmd completion
continuous-integration/drone/pr Build is passing Details
continuous-integration/drone/push Build is passing Details
Broken by migration to v1 API.
2022-01-20 11:42:04 +01:00
decentral1se b1b9612e01
fix: dont try to parse empty values on status lookup
continuous-integration/drone/push Build is passing Details
2022-01-19 12:38:41 +01:00
decentral1se cb210d0c81
docs: pass on flag/help strings
continuous-integration/drone/push Build is passing Details
2022-01-19 11:21:06 +01:00
decentral1se 9f2bb3f74f
refactor!: remove auto dns, too magic, too broken 2022-01-19 11:20:51 +01:00
decentral1se a33767f848
refactor!: drop auto traefik deploy, rarely works
continuous-integration/drone/push Build is passing Details
2022-01-19 11:08:43 +01:00
decentral1se a1abe5c6be
refactor!: drop backup/restore for now
This will be done with the bot from now on.
2022-01-19 11:06:54 +01:00
decentral1se 53cd3b8b71
fix: drop duplicate flags 2022-01-19 10:58:09 +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 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 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 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 3aec5d1d7e
fix: ignore new test repo
continuous-integration/drone/push Build is passing Details
2022-01-12 16:11:18 +01:00
decentral1se e0fa1b6995
fix: let users know what was deleted
continuous-integration/drone/push Build is passing Details
2022-01-06 11:47:10 +01:00
decentral1se b69ab0df65
fix: chaos mode fixed for upgrade/rollback
continuous-integration/drone/push Build is passing Details
Follows 4b7ec6384c.
2022-01-06 10:32:24 +01:00
decentral1se 4b7ec6384c
fix: fix chaos mode for deployment
continuous-integration/drone/push Build is passing Details
2022-01-05 19:21:41 +01:00
decentral1se b22b63c2ba
fix: only output if volumes selected for removal
continuous-integration/drone/push Build is passing Details
2022-01-05 19:00:09 +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