7c27b72e35
change .gitignore and add kadabras main.go
2023-02-08 19:39:03 +01:00
af6e4285e8
more verbose update info
2023-02-08 19:39:03 +01:00
7dd32ddd25
pull recipe and lint it
2023-02-08 19:39:03 +01:00
62daf78642
updater: read chaos deployment from docker label
2023-02-08 19:39:03 +01:00
352215dc83
PoC auto updater
2023-02-08 19:39:03 +01:00
29fa607190
fix: restrict pulling to specific branch
2023-02-02 21:12:50 +01:00
7c541ffdfa
fix: better error handling in EnsureUpToDate
2023-02-02 21:12:24 +01:00
7ccc4b4c08
fix: woops, remove that print statement
2023-02-02 21:00:31 +01:00
ef4df35995
fix: don't check twice (called in EnsureUpToDate)
2023-02-02 20:59:04 +01:00
71a9155042
fix: specify refs when fetching tags
...
See coop-cloud/organising#397
2023-02-02 20:58:38 +01:00
2a88491d7c
fix: catch errors here too
...
See coop-cloud/abra#266
2023-02-02 20:26:19 +01:00
bf79552204
fix: improve permission denied message
2023-02-02 20:07:45 +01:00
0a7fa54759
fix: cant pass client here
...
Closes coop-cloud/organising#396
2023-02-02 20:06:49 +01:00
7c1a97be72
refactor!: consolidate SSH handling
...
Closes coop-cloud/organising#389 .
Closes coop-cloud/organising#341 .
Closes coop-cloud/organising#326 .
Closes coop-cloud/organising#380 .
Closes coop-cloud/organising#360 .
2023-02-02 08:37:14 +00:00
f20fbbc913
chore(deps): update golang docker tag to v1.20
2023-02-02 08:02:02 +00:00
76717531bd
resolve PR: include the service info in the log message
2023-01-31 16:15:11 +01:00
6774893412
add env ENABLE_AUTO_UPDATE as label to enable/disable the auto update process
2023-01-31 16:12:02 +01:00
ebb86391af
add a label to signal that a deploy is a chaos deploy ( !265 )
...
Resolves coop-cloud/organising#390 by adding the following label `coop-cloud.${STACK_NAME}.chaos=true` (according to the version label).
This is required for the auto updater coop-cloud/organising#236 (comment)
Co-authored-by: Moritz <moritz.m@local-it.org>
Reviewed-on: coop-cloud/abra#265
2023-01-31 15:06:35 +00:00
50db39424c
add a label to signal that a deploy is connected with a recipe ( !264 )
...
Resolves coop-cloud/organising#391 by adding the following label `coop-cloud.${STACK_NAME}.recipe=${RECIPE}` (according to the version label).
This is required for the auto updater coop-cloud/organising#236 (comment)
Co-authored-by: Moritz <moritz.m@local-it.org>
Reviewed-on: coop-cloud/abra#264
2023-01-31 14:35:43 +00:00
ca1ea32c46
Expose all env vars to app
container. ( !263 )
...
Resolves coop-cloud/organising#393 and is required for the auto updater coop-cloud/organising#236 (comment)
Co-authored-by: Moritz <moritz.m@local-it.org>
Reviewed-on: coop-cloud/abra#263
2023-01-31 14:13:43 +00:00
32851d4d99
fix: always fetch all repository tags
2023-01-31 11:52:15 +01:00
c47aa49373
fix: improved missing context message
2023-01-24 10:48:53 +01:00
cdee6b00c4
docs: better auto-completion help
...
Closes coop-cloud/organising#328
2023-01-23 19:01:00 +01:00
a3e9383a4a
docs: wording [ci skip]
2023-01-23 18:48:51 +01:00
b4cce7dcf4
fix: better warning if flying < 3.8 compose spec
...
Closes coop-cloud/organising#350
2023-01-23 18:42:23 +01:00
b089109c94
fix: more robust docker context problem handling
...
See coop-cloud/organising#325
See coop-cloud/organising#340
2023-01-23 14:56:34 +01:00
27e0708ac7
fix: don't delete server dir on cleanup if not empty
...
Part of coop-cloud/organising#325 .
2023-01-23 13:56:27 +01:00
a93786c6be
fix!: make "app rm" more explicit & simpler
...
We point users to "app volume/secret remove" for more specific deletion
of other app data resources now. The idea is that if you lose the env
file locally, then you can't clean up anything after. So it is handy to
have a sort of WARNING barrier to deleting that file. This flow is the
only way to get Abra to delete your local env file. It now feels more
documented and sufficiently scary in the UI/UX to merit that. Hopefully
addresses the ticket sufficiently.
Closes coop-cloud/organising#335 .
2023-01-23 13:29:46 +01:00
521570224b
Merge branch 'filter-servers-by-recipe'
2023-01-23 09:33:31 +01:00
c72462e0b6
fix: no domain checks if no DOMAIN=... configured
...
Closes coop-cloud/organising#353
2023-01-23 09:33:12 +01:00
54646650c7
fix!: disable traefik linting when DOMAIN isn't present
...
Also reformats the linting output to be more readable.
Closes coop-cloud/organising#319 .
2023-01-23 08:31:00 +00:00
903aac9d7a
feat: recipe fetch command
...
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
...
Closes coop-cloud/organising#372
2023-01-23 08:25:17 +00:00
a694c8c20e
feat: filter server by recipe
...
Closes coop-cloud/organising#363
2023-01-23 00:54:22 +01:00
d4a42d8378
fix: error out if no backup configs found
2023-01-22 18:50:45 +01:00
e16ca45fa7
fix!: better backup file names
...
Closes coop-cloud/organising#366
2023-01-22 18:50:27 +01:00
32de2ee5de
fix: ensure catalogue is clean/up-to-date
...
Closes coop-cloud/organising#367
2023-01-22 17:52:36 +01:00
834d41ef50
docs: wording [ci skip]
2023-01-22 10:07:58 +01:00
6fe5aed408
fix!: remove digest handling
...
Closes coop-cloud/organising#379
2023-01-22 08:54:13 +01:00
03041b88d0
chore: gofmt
2023-01-21 23:26:23 +01:00
9338afb492
chore: go mod tidy
2023-01-20 10:16:14 +01:00
313ae0dbe2
chore(deps): update module github.com/docker/cli to v20.10.23
2023-01-20 09:12:52 +00:00
0dc7ec8570
chore(deps): update module github.com/docker/docker to v20.10.23
2023-01-20 08:02:52 +00:00
8a1a3aeb12
ci: automerge & run tidy [ci skip]
2023-01-18 17:28:36 +01:00
910469cfa0
chore: switch to dev
image by default
2023-01-15 19:48:07 -08:00
4f055096e9
chore: fix Drone build, ignore auto-recipes-catalogue-json
2023-01-15 18:16:53 -08:00
6c93f980dc
chore: tweak docker build
2023-01-15 18:08:22 -08:00
57f52bbf33
chore: disable go cache for now, parallelise build
2023-01-15 17:16:32 -08:00
9f5620d881
chore: attempt to fix drone build
2023-01-15 17:11:50 -08:00
44c4555aae
chore: attempt to enable go caching for docker image build
2023-01-15 17:10:57 -08:00