Commit Graph

1348 Commits

Author SHA1 Message Date
decentral1se ce5c1a9ebb
chore: 0.7.0-rc2-beta 2023-02-10 12:47:20 +01:00
decentral1se 5e3b039f93
fix: kadabra is now called kadabra not abra
Closes coop-cloud/organising#402
2023-02-10 12:45:41 +01:00
decentral1se 0e9d218bbc
docs: fix comment names 2023-02-10 12:45:24 +01:00
decentral1se e1c635af86
chore: remove newline [ci skip] 2023-02-08 23:49:01 +01:00
decentral1se f6b139dfea
chore: formatting pass on kadabra [ci skip] 2023-02-08 23:20:25 +01:00
decentral1se 3d2b8fa446
chore: spacing 2023-02-08 23:02:54 +01:00
decentral1se 2eebac6fc0
chore: formatting, indentation 2023-02-08 22:59:47 +01:00
decentral1se f5e2710138
chore: remove comment 2023-02-08 22:59:30 +01:00
decentral1se 986470784d
chore: sort gitignore listing 2023-02-08 22:59:03 +01:00
moritz e76ed771df feat: kadabra, the app auto-updater (!268)
coop-cloud/organising#236

Autoupdater `kadabra` is ready for testing.
It should run on the server, check for available minor/patch updates and automatically upgrade the apps.

Co-authored-by: Moritz <moritz.m@local-it.org>
Reviewed-on: coop-cloud/abra#268
2023-02-08 18:53:04 +00:00
decentral1se f28af5e42f
fix: use correctly formatted comments 2023-02-08 11:28:38 +01:00
decentral1se fdf4854b0c
fix: unbork comments
Was breaking the build but not anymore!
2023-02-08 11:20:30 +01:00
decentral1se 6b9512d09c
build: docker dev builds depend on check too 2023-02-08 11:16:54 +01:00
decentral1se 21a86731d0
build: dont test/build if check fails
Save cycles for small mistakes.
2023-02-08 11:13:20 +01:00
decentral1se 91102e6607
build: not so useful anymore, also broken 2023-02-08 11:12:03 +01:00
decentral1se fadafda0b8
fix: make test suite work again 2023-02-08 11:11:39 +01:00
decentral1se c03cf76702
chore: gofmt import statements 2023-02-08 10:56:39 +01:00
decentral1se ebb748b7e7
chore: publish next tag 0.7.0-rc1-beta 2023-02-08 10:28:54 +01:00
decentral1se 2b3dbee24c
chore: go mod tidy 2023-02-07 22:20:11 +01:00
decentral1se a448cfdd0d
fix: revert bogus dependabot changes
Revert "chore(deps): update module github.com/docker/cli to v23"
This reverts commit 5ee6eb53b2.

Revert "chore(deps): update module github.com/docker/docker to v23"
This reverts commit 7b2880d425.
2023-02-07 22:19:28 +01:00
Comrade Renovate Bot 5ee6eb53b2 chore(deps): update module github.com/docker/cli to v23 2023-02-07 21:16:18 +00:00
Comrade Renovate Bot 7b2880d425 chore(deps): update module github.com/docker/docker to v23 2023-02-07 21:16:06 +00:00
Comrade Renovate Bot 928d6f5d7f chore(deps): update module golang.org/x/sys to v0.5.0 2023-02-07 08:02:03 +00:00
decentral1se 29fa607190
fix: restrict pulling to specific branch 2023-02-02 21:12:50 +01:00
decentral1se 7c541ffdfa
fix: better error handling in EnsureUpToDate 2023-02-02 21:12:24 +01:00
decentral1se 7ccc4b4c08
fix: woops, remove that print statement 2023-02-02 21:00:31 +01:00
decentral1se ef4df35995
fix: don't check twice (called in EnsureUpToDate) 2023-02-02 20:59:04 +01:00
decentral1se 71a9155042
fix: specify refs when fetching tags
See coop-cloud/organising#397
2023-02-02 20:58:38 +01:00
decentral1se 2a88491d7c
fix: catch errors here too
See coop-cloud/abra#266
2023-02-02 20:26:19 +01:00
decentral1se bf79552204
fix: improve permission denied message 2023-02-02 20:07:45 +01:00
decentral1se 0a7fa54759
fix: cant pass client here
Closes coop-cloud/organising#396
2023-02-02 20:06:49 +01:00
decentral1se 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
Comrade Renovate Bot f20fbbc913 chore(deps): update golang docker tag to v1.20 2023-02-02 08:02:02 +00:00
Moritz 76717531bd resolve PR: include the service info in the log message 2023-01-31 16:15:11 +01:00
Moritz 6774893412 add env ENABLE_AUTO_UPDATE as label to enable/disable the auto update process 2023-01-31 16:12:02 +01:00
moritz 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
moritz 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
moritz 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
Moritz 32851d4d99 fix: always fetch all repository tags 2023-01-31 11:52:15 +01:00
decentral1se c47aa49373
fix: improved missing context message 2023-01-24 10:48:53 +01:00
decentral1se cdee6b00c4
docs: better auto-completion help
Closes coop-cloud/organising#328
2023-01-23 19:01:00 +01:00
decentral1se a3e9383a4a
docs: wording [ci skip] 2023-01-23 18:48:51 +01:00
decentral1se b4cce7dcf4
fix: better warning if flying < 3.8 compose spec
Closes coop-cloud/organising#350
2023-01-23 18:42:23 +01:00
decentral1se 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
decentral1se 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
decentral1se 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
decentral1se 521570224b
Merge branch 'filter-servers-by-recipe' 2023-01-23 09:33:31 +01:00
decentral1se c72462e0b6
fix: no domain checks if no DOMAIN=... configured
Closes coop-cloud/organising#353
2023-01-23 09:33:12 +01:00
decentral1se 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
decentral1se 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