Commit Graph

57 Commits

Author SHA1 Message Date
49f79dbd45
fix!: new catalogue URL
All checks were successful
continuous-integration/drone/pr Build is passing
continuous-integration/drone/push Build is passing
2022-05-03 17:08:52 +02:00
cbd924060f
fix: better local changes message
All checks were successful
continuous-integration/drone/push Build is passing
2022-04-19 10:29:05 +02: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
2fbdcfb958
refactor: try the meta for default branch too
All checks were successful
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
09ac74d205
fix: check out default branch from tags
All checks were successful
continuous-integration/drone/push Build is passing
Also fix error handling to match function signatures.
2022-02-18 11:17:43 +01:00
6b2a0011af
fix: remove dupe logging on catalogue reading [ci skip] 2022-02-14 17:37:25 +01:00
46fca7cfa7
docs: less ambig wording [ci skip] 2022-02-14 17:35:42 +01:00
0557284461 fix: use new repo name
All checks were successful
continuous-integration/drone/push Build is passing
2022-02-09 08:58:51 +00:00
58e98f490d
refactor!: type -> recipes
Some checks failed
continuous-integration/drone/pr Build is failing
continuous-integration/drone/push Build is passing
2022-01-27 12:06:32 +01:00
f9a2c1d58f
refactor: put StripTagMeta into formatter package
Avoid circular import.
2022-01-19 10:40:14 +01:00
7733637767
fix: ensure catalogue cloned for catalogue reliant commands
All checks were successful
continuous-integration/drone/push Build is passing
2022-01-18 11:19:33 +01:00
d7cf11b876
fix: further fixes for gracefully handling missing tag
All checks were successful
continuous-integration/drone/push Build is passing
Follows 1b37d2d5f5.
2022-01-05 17:58:15 +01:00
74dfb12fd6
refactor: centralise tag meta stripping 2022-01-05 17:32:33 +01:00
8992050409
docs: dont metion git explicitly in user messages 2022-01-01 17:23:04 +01:00
62441acf03
refactor: use SmallSHA 2021-12-30 00:41:21 +01:00
f5d2d3adf6
refactor: formatter gets own package 2021-12-28 01:24:23 +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
eb1b6be4c5
fix: auto-config ssh urls and push to them
All checks were successful
continuous-integration/drone/push Build is passing
2021-12-27 18:06:56 +01:00
b98397144a
fix: wording 2021-12-27 18:06:46 +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
cdc08ae95a
fix: much hacking, maybe fixed catalogue generation
All checks were successful
continuous-integration/drone/push Build is passing
2021-12-26 04:02:40 +01:00
17340a79da
refactor: more local var 2021-12-26 00:14:48 +01:00
ba8138079f
fix: use one function for up-to-date checks 2021-12-25 23:45:52 +01:00
a84a5bc320
feat: more robust linting
See coop-cloud/organising#254.
2021-12-25 23:22:50 +01:00
e2c3bc35c3
fix: handle missing label 2021-12-25 17:02:47 +01:00
6937bfbb0d
fix: if no remotes, skip on 2021-12-25 16:56:21 +01:00
4283f130a2
refactor: apps -> recipes 2021-12-25 14:04:07 +01:00
3b5354b2a5
refactor: less quotes
All checks were successful
continuous-integration/drone/push Build is passing
2021-12-25 02:03:09 +01:00
14400d4ed8
fix: sync recipes from remotes
All checks were successful
continuous-integration/drone/push Build is passing
2021-12-24 16:06:29 +01:00
4b4298caf1
fix: better wording 2021-12-24 00:44:49 +01:00
9b8ff1ddcd
fix: get branch is now more robust 2021-12-24 00:44:44 +01:00
fa45264ea0
refactor: the grand recipe release refactor 2021-12-21 19:25:44 +01:00
fc3742212c
fix: more reliable syncing 2021-12-21 01:48:37 +01:00
8d499c0810
fix: find local only apps 2021-12-20 00:50:09 +01:00
3d3eefb2fe
fix: bail out definitely on that error
See coop-cloud/organising#278.
2021-12-19 22:44:19 +01:00
d087a60e09
Revert "fix: dont throw away changes"
All checks were successful
continuous-integration/drone/push Build is passing
This reverts commit dd0f328a65.

Part of coop-cloud/organising#282.
2021-12-12 02:04:13 +01:00
962f566228
fix: go on with missing tag
All checks were successful
continuous-integration/drone/push Build is passing
Closes coop-cloud/organising#264.
2021-11-26 21:34:21 +01:00
dd0f328a65
fix: dont throw away changes
All checks were successful
continuous-integration/drone/push Build is passing
Part of coop-cloud/organising#226.
2021-11-22 21:11:59 +01:00
711c4e5ee8
fix: warn on invalid envs for catalogue generation
All checks were successful
continuous-integration/drone/pr Build is passing
continuous-integration/drone/push Build is passing
Closes coop-cloud/organising#256.
2021-11-22 18:38:59 +01:00
4a245c3e02
fix: ensure .git repo exists
Part of coop-cloud/organising#247.
2021-11-15 18:55:13 +01:00
486a1717e7
fix: dont attempt to clone is local repo is there
All checks were successful
continuous-integration/drone/push Build is passing
See coop-cloud/organising#247.
2021-11-14 22:54:55 +01:00
d56400eea8
fix: bail out on unstage changes for plain --force
Some checks failed
continuous-integration/drone/push Build is failing
2021-10-26 10:52:26 +02:00
dc04cf5ff7
chore: migrate all upstream code to own dir 2021-10-21 19:35:13 +02:00
9526d1fde6
fix: ensure we have version checked out on deploy
All checks were successful
continuous-integration/drone/push Build is passing
2021-10-18 09:30:43 +02:00
62cc7ef92d
feat: upgrade/downgrade support chaos mode
All checks were successful
continuous-integration/drone/push Build is passing
2021-10-18 08:57:25 +02:00
ae32b1eed2
fix: standardise checkout options
All checks were successful
continuous-integration/drone/push Build is passing
2021-10-14 12:17:58 +02:00
37022bf0c8
feat: make deploy only deploy
All checks were successful
continuous-integration/drone/push Build is passing
See coop-cloud/organising#127.
2021-10-13 16:51:04 +02:00
c616907b71
feat: teach recipe sync to understand new versions
All checks were successful
continuous-integration/drone/pr Build is passing
continuous-integration/drone/push Build is passing
Closes coop-cloud/organising#177.
2021-10-05 10:28:09 +02:00
8cc0a350e6
fix: pass sample env when loading recipe
Closes coop-cloud/organising#176.
2021-10-02 23:00:09 +02:00
6c115926e3
fix: load sample env for new apps
All checks were successful
continuous-integration/drone/push Build is passing
Closes coop-cloud/organising#170.
2021-09-16 08:40:48 +02:00