903aac9d7a
feat: recipe fetch command
...
continuous-integration/drone/pr Build was killed
continuous-integration/drone/push Build was killed
Also may have rooted out another go-git cloning bug 🙄
Closes coop-cloud/organising#365
2023-01-23 09:26:53 +01:00
49865c6a97
feat: app services command
...
continuous-integration/drone/push Build was killed
Closes coop-cloud/organising#372
2023-01-23 08:25:17 +00:00
32de2ee5de
fix: ensure catalogue is clean/up-to-date
...
continuous-integration/drone/pr Build is failing
continuous-integration/drone/push Build is failing
Closes coop-cloud/organising#367
2023-01-22 17:52:36 +01:00
6fe5aed408
fix!: remove digest handling
...
continuous-integration/drone/pr Build is failing
continuous-integration/drone/push Build is failing
Closes coop-cloud/organising#379
2023-01-22 08:54:13 +01:00
03041b88d0
chore: gofmt
continuous-integration/drone/push Build is failing
2023-01-21 23:26:23 +01:00
4f055096e9
chore: fix Drone build, ignore auto-recipes-catalogue-json
continuous-integration/drone/push Build is failing
2023-01-15 18:16:53 -08:00
1403eac72c
fix: parse "Status" field during catalogue generate
2023-01-15 17:10:45 -08:00
a6e23938eb
Add tests to jsontable.
...
- Test major functionality of jsontable
- Fix bug discovered in testing.
2023-01-15 17:10:36 -08:00
cae0d9ef79
Introduce a JSON output table mechanic
...
- Create JSONTable as a proxy/extension to tablewriter which can also output JSON.
- Implement machine readable output for `server list` and `recipe list`
2023-01-12 21:15:14 +00:00
b204b289d1
fix: disable progress bar with machine-readable output
continuous-integration/drone/pr Build is passing
continuous-integration/drone/push Build is passing
2022-12-16 10:20:51 -08:00
e788ac21f6
fix: keep abra working if recipe catalogue is offline ( !235 )
...
continuous-integration/drone/push Build is passing
Co-authored-by: Moritz <moritz.m@local-it.org>
Reviewed-on: #235
2022-12-13 14:42:45 +00:00
a21d431541
fix: don't panic() 😅
continuous-integration/drone/push Build is passing
2022-11-24 17:33:59 +00:00
8fad34e430
fix: switch back to replacing <recipe>.example.com
...
Fixes #355
2022-11-24 17:33:59 +00:00
14187449a5
fix: fork passgen
...
continuous-integration/drone/push Build is passing
See coop-cloud/organising#358
2022-11-14 15:18:54 +01:00
e41caa891d
fix: dont check ip on server when it is local
...
continuous-integration/drone/push Build is passing
Closes coop-cloud/organising#334 .
2022-08-14 22:20:17 +02:00
42a6818ff4
fix: app cmd parsing, usage & tests
...
continuous-integration/drone/push Build is passing
continuous-integration/drone/pr Build is passing
Note: the integration tests don't work due to ValidateApp still
attempting to validate the host key for the test app which doesn't
exist. This will be fixed in a future commit.
2022-08-14 16:18:58 +02:00
Franz Heinzmann (Frando)
8458e61d17
fix: branch checking logic
...
See https://github.com/go-git/go-git/issues/518 for why this is needed.
2022-08-11 17:49:22 +02:00
49f79dbd45
fix!: new catalogue URL
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
continuous-integration/drone/push Build is passing
2022-04-19 10:29:05 +02:00
b27acb2f61
feat: backup/restore [ci skip]
...
continuous-integration/drone/pr Build is passing
See coop-cloud/organising#30 .
2022-04-03 18:24:09 +02:00
323f4467c8
fix: filtering requires case-by-case handling
...
continuous-integration/drone/pr Build was killed
continuous-integration/drone/push Build was killed
See https://github.com/moby/moby/issues/32985 .
2022-03-30 16:25:38 +02:00
6aa23a76a1
fix: more precise filtering
...
continuous-integration/drone/push Build is passing
Closes coop-cloud/organising#305 .
2022-03-27 19:30:36 +00:00
338360096c
feat: pass domain to new app envs
...
continuous-integration/drone/push Build is passing
See coop-cloud/organising#304 .
2022-03-27 21:06:48 +02:00
f432bfdd23
fix: warn when no repo on git
continuous-integration/drone/push Build is failing
2022-03-18 10:13:24 +01:00
c66695d55e
fix: return err not logrus + new lines
2022-03-12 17:02:04 +01:00
262009701e
fix: guard against concurrent write errors
2022-03-12 16:59:45 +01:00
d3e127e5c8
fix: retain backwards compat with TYPE/RECIPE change
continuous-integration/drone/push Build is passing
2022-03-11 19:37:50 +01:00
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
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
...
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
...
continuous-integration/drone/push Build is passing
Also fix error handling to match function signatures.
2022-02-18 11:17:43 +01:00
e056d8dc44
fix: de-dupe dns resolver logging, more concise [ci skip]
2022-02-14 18:06:06 +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
82d560a946
fix: prompt for input on app cp
continuous-integration/drone/push Build is passing
2022-02-14 17:10:53 +01:00
0557284461
fix: use new repo name
continuous-integration/drone/push Build is passing
2022-02-09 08:58:51 +00:00
bfeda40e34
fix: catch more ssh failure modes with help
continuous-integration/drone/push Build is passing
2022-02-03 13:43:11 +01:00
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
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
c7062e0494
fix: initial subcmd completion
...
continuous-integration/drone/pr Build is passing
continuous-integration/drone/push Build is passing
Broken by migration to v1 API.
2022-01-20 11:42:04 +01:00
13e582349c
fix: correctly override with ~/.ssh/config if failing to connect
continuous-integration/drone/push Build is passing
2022-01-19 13:28:57 +01:00
b9ec41647b
fix: when upgrading, skip over bad tags, don't error out
continuous-integration/drone/push Build is passing
2022-01-19 10:40:55 +01:00
f9a2c1d58f
refactor: put StripTagMeta into formatter package
...
Avoid circular import.
2022-01-19 10:40:14 +01:00
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
7733637767
fix: ensure catalogue cloned for catalogue reliant commands
continuous-integration/drone/push Build is passing
2022-01-18 11:19:33 +01:00
fc2d83d203
fix: better error message for missing server
2022-01-17 22:04:11 +01:00
d7cf11b876
fix: further fixes for gracefully handling missing tag
...
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
66d5453248
docs: recommend more helper commands for deploy timeout
2022-01-03 16:33:28 +01:00
ba9abcb0d7
fix: increase converge timeout
2022-01-03 16:33:18 +01:00