decentral1se
b27acb2f61
feat: backup/restore [ci skip]
...
See coop-cloud/organising#30 .
2022-04-03 18:24:09 +02:00
decentral1se
323f4467c8
fix: filtering requires case-by-case handling
...
See https://github.com/moby/moby/issues/32985 .
2022-03-30 16:25:38 +02:00
decentral1se
6aa23a76a1
fix: more precise filtering
...
Closes coop-cloud/organising#305 .
2022-03-27 19:30:36 +00:00
decentral1se
338360096c
feat: pass domain to new app envs
...
See coop-cloud/organising#304 .
2022-03-27 21:06:48 +02:00
knoflook
f432bfdd23
fix: warn when no repo on git
2022-03-18 10:13:24 +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
d3e127e5c8
fix: retain backwards compat with TYPE/RECIPE change
2022-03-11 19:37:50 +01:00
decentral1se
e9cfb076c6
fix: strip length modifiers
...
See coop-cloud/organising#297 .
2022-03-11 16:40:10 +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
2fbdcfb958
refactor: try the meta for default branch too
...
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
...
Also fix error handling to match function signatures.
2022-02-18 11:17:43 +01:00
decentral1se
e056d8dc44
fix: de-dupe dns resolver logging, more concise [ci skip]
2022-02-14 18:06:06 +01:00
decentral1se
6b2a0011af
fix: remove dupe logging on catalogue reading [ci skip]
2022-02-14 17:37:25 +01:00
decentral1se
46fca7cfa7
docs: less ambig wording [ci skip]
2022-02-14 17:35:42 +01:00
decentral1se
82d560a946
fix: prompt for input on app cp
2022-02-14 17:10:53 +01:00
decentral1se
0557284461
fix: use new repo name
2022-02-09 08:58:51 +00:00
decentral1se
bfeda40e34
fix: catch more ssh failure modes with help
2022-02-03 13:43:11 +01:00
decentral1se
58e98f490d
refactor!: type -> recipes
2022-01-27 12:06:32 +01:00
decentral1se
a23124aede
feat: auto strip domain names to avoid runtime limits
2022-01-27 10:33:21 +00:00
decentral1se
c7062e0494
fix: initial subcmd completion
...
Broken by migration to v1 API.
2022-01-20 11:42:04 +01:00
decentral1se
13e582349c
fix: correctly override with ~/.ssh/config if failing to connect
2022-01-19 13:28:57 +01:00
decentral1se
b9ec41647b
fix: when upgrading, skip over bad tags, don't error out
2022-01-19 10:40:55 +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
...
Better flexible flags handling.
2022-01-18 14:38:20 +01:00
decentral1se
7733637767
fix: ensure catalogue cloned for catalogue reliant commands
2022-01-18 11:19:33 +01:00
decentral1se
fc2d83d203
fix: better error message for missing server
2022-01-17 22:04:11 +01:00
decentral1se
d7cf11b876
fix: further fixes for gracefully handling missing tag
...
Follows 1b37d2d5f5
.
2022-01-05 17:58:15 +01:00
decentral1se
74dfb12fd6
refactor: centralise tag meta stripping
2022-01-05 17:32:33 +01:00
decentral1se
66d5453248
docs: recommend more helper commands for deploy timeout
2022-01-03 16:33:28 +01:00
decentral1se
ba9abcb0d7
fix: increase converge timeout
2022-01-03 16:33:18 +01:00
decentral1se
7a0d18ceb6
fix: show unknown insteaf of empty for missing version
2022-01-01 17:23:21 +01:00
decentral1se
8992050409
docs: dont metion git explicitly in user messages
2022-01-01 17:23:04 +01:00
decentral1se
abd094387f
fix: use scale for restarting
...
The other approach wasn't working. Duplicating containers on restart.
You'd end up with 2 containers per restart...
2022-01-01 17:22:35 +01:00
decentral1se
a556ca625b
fix: handle StackName / Name correctly
2022-01-01 17:22:19 +01:00
decentral1se
1b7836009f
test: spec out check tests [ci skip]
2021-12-31 17:19:30 +01:00
decentral1se
eb3509ab3f
refactor: drop uneccessary structs
2021-12-31 17:12:09 +01:00
decentral1se
ce96269be0
fix: more fixed for dry mode, this time tested :)
...
Follows 299276c383
.
2021-12-31 13:37:03 +01:00
decentral1se
866cdd1f29
feat: service name in ps output
2021-12-31 12:59:31 +01:00
decentral1se
95d385c420
fix: GetService & handling missing services
2021-12-31 12:49:31 +01:00
decentral1se
930ff68bb2
refactor: drop unused function
2021-12-30 00:42:37 +01:00
decentral1se
62441acf03
refactor: use SmallSHA
2021-12-30 00:41:21 +01:00
decentral1se
5cacd09a04
refactor: remove old/non-urgen/resolved FIXMEs
2021-12-28 01:35:40 +01:00
decentral1se
6a98024a2b
refactor: drop old/upstream TODOs
2021-12-28 01:31:50 +01:00
decentral1se
f5d2d3adf6
refactor: formatter gets own package
2021-12-28 01:24:23 +01:00
decentral1se
0aa37fcee8
refactor!: simplifying publish logic
2021-12-27 19:56:27 +01:00
decentral1se
eb1b6be4c5
fix: auto-config ssh urls and push to them
2021-12-27 18:06:56 +01:00
decentral1se
b98397144a
fix: wording
2021-12-27 18:06:46 +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
c13f438580
refactor: remove old code
2021-12-27 04:03:53 +01:00
decentral1se
9c281d8608
fix: flags for logging in
2021-12-27 03:27:05 +01:00
decentral1se
c5a74e9f6b
fix: template env files too
2021-12-26 04:38:34 +01:00
decentral1se
cdc08ae95a
fix: much hacking, maybe fixed catalogue generation
2021-12-26 04:02:40 +01:00
decentral1se
3f35510507
fix: runtime caching for catalogue generation
2021-12-26 04:01:02 +01:00
decentral1se
b0834925a3
fix: log in correctly
...
See coop-cloud/abra#139 .
2021-12-26 03:44:29 +01:00
decentral1se
17340a79da
refactor: more local var
2021-12-26 00:14:48 +01:00
decentral1se
779c810521
refactor: less quotes, less verbose
2021-12-26 00:14:32 +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
ba8138079f
fix: use one function for up-to-date checks
2021-12-25 23:45:52 +01:00
decentral1se
8735a8f0ea
feat: lint before deploy/upgrade/rollback
...
See coop-cloud/organising#254 .
2021-12-25 23:35:45 +01:00
decentral1se
a84a5bc320
feat: more robust linting
...
See coop-cloud/organising#254 .
2021-12-25 23:22:50 +01:00
decentral1se
e2c3bc35c3
fix: handle missing label
2021-12-25 17:02:47 +01:00
decentral1se
6937bfbb0d
fix: if no remotes, skip on
2021-12-25 16:56:21 +01:00
decentral1se
4283f130a2
refactor: apps -> recipes
2021-12-25 14:04:07 +01:00
decentral1se
3b5354b2a5
refactor: less quotes
2021-12-25 02:03:09 +01:00
decentral1se
14400d4ed8
fix: sync recipes from remotes
2021-12-24 16:06:29 +01:00
decentral1se
dddf84d92b
fix: avoid default value for idf
...
We could default to ~/.ssh/id_rsa but if that doesn't exist, then we'll
just be confusing people in the logs. Best is to just rely on the
ssh-agent which overrides this anyway. We will document this.
See coop-cloud/organising#277
2021-12-24 15:39:44 +01:00
decentral1se
fefb042716
fix: shorter timeout on deploy
2021-12-24 02:26:02 +01:00
decentral1se
ab8db8df64
feat: deploy --no-converge-checks & finish app errors
2021-12-24 02:23:46 +01:00
decentral1se
e839f100df
fix: move that back, still wrong but less wrong
2021-12-24 01:32:42 +01:00
decentral1se
41a757b7ed
fix: only show when success is for sure
2021-12-24 00:44:50 +01:00
decentral1se
4b4298caf1
fix: better wording
2021-12-24 00:44:49 +01:00
decentral1se
8e8c241fdf
refactor: less quotes
2021-12-24 00:44:49 +01:00
decentral1se
9b8ff1ddcd
fix: get branch is now more robust
2021-12-24 00:44:44 +01:00
decentral1se
fc29ca6fce
refactor: less quotes
2021-12-24 00:25:45 +01:00
decentral1se
014d32112e
fix: ensure tags & commits are pushed
2021-12-23 02:24:43 +01:00
decentral1se
a7894cbda9
fix: better explanation
2021-12-23 02:10:57 +01:00
decentral1se
0362928840
fix!: parse ttl correctly
2021-12-23 01:41:12 +01:00
decentral1se
7a5aa1b005
test: make them work again
2021-12-23 01:06:56 +01:00
decentral1se
a07e71f7df
fix: grand ssh, provisioning, perms refactor
...
See coop-cloud/organising#280 .
See coop-cloud/organising#273 .
2021-12-22 20:08:15 +01:00
decentral1se
ec7223146b
docs: better timeout error
2021-12-21 23:48:32 +01:00
decentral1se
fa45264ea0
refactor: the grand recipe release refactor
2021-12-21 19:25:44 +01:00
decentral1se
2b1cc9f6dd
docs: less quotes, more clarity on init
2021-12-21 02:28:14 +01:00
decentral1se
fc3742212c
fix: more reliable syncing
2021-12-21 01:48:37 +01:00
decentral1se
fccbd7c7d7
chore: style lines
2021-12-21 01:48:21 +01:00
decentral1se
ae9e66c319
docs: less quotes, different quotes
2021-12-20 01:05:51 +01:00
decentral1se
8d499c0810
fix: find local only apps
2021-12-20 00:50:09 +01:00
decentral1se
0a903f041f
refactor: less quotes
2021-12-20 00:49:36 +01:00
decentral1se
bf82bc9c7f
feat: add dryflag, implement push for catalogue generate
2021-12-19 23:59:40 +01:00
decentral1se
5113db1612
refactor: centralise git commit machinery
2021-12-19 23:51:03 +01:00
decentral1se
88d4984248
docs: wording
2021-12-19 23:29:05 +01:00
decentral1se
4c66e44b3a
fix: use new recipes.json path
2021-12-19 23:17:46 +01:00
decentral1se
033bad3d10
fix: handle empty image meta
2021-12-19 23:14:43 +01:00
decentral1se
a750344653
refactor: better wording
2021-12-19 23:14:29 +01:00
decentral1se
f5caf5587a
refactor: fix log style and add recipe context
2021-12-19 23:08:03 +01:00
decentral1se
fdc9e8b5fd
refactor: improved log messages and less quotes
2021-12-19 23:02:58 +01:00
decentral1se
75edcabb23
fix: show progress on meta reading
2021-12-19 22:57:38 +01:00
decentral1se
fa0a63c11d
refactor: ensure type, drop comment
2021-12-19 22:45:08 +01:00
decentral1se
3d3eefb2fe
fix: bail out definitely on that error
...
See coop-cloud/organising#278 .
2021-12-19 22:44:19 +01:00
decentral1se
b8e2d1de67
refactor: move function into web package
2021-12-19 15:57:00 +01:00