Commit Graph

38 Commits

Author SHA1 Message Date
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 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
decentral1se c47aa49373
fix: improved missing context message 2023-01-24 10:48:53 +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 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 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 13e582349c
fix: correctly override with ~/.ssh/config if failing to connect 2022-01-19 13:28:57 +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 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 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 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 fc29ca6fce
refactor: less quotes 2021-12-24 00:25:45 +01:00
decentral1se ec7223146b
docs: better timeout error 2021-12-21 23:48:32 +01:00
decentral1se f5caf5587a
refactor: fix log style and add recipe context 2021-12-19 23:08:03 +01:00
decentral1se 3fb43ffa2c
Revert "fix: match exact on filtering" [ci skip]
This reverts commit 2bc2f8630b.

This breaks other stuff. Reverting!
2021-12-09 14:12:16 +01:00
decentral1se 2bc2f8630b
fix: match exact on filtering 2021-12-06 01:26:04 +01:00
decentral1se 748d607ddc
fix: better converge output
Closes coop-cloud/organising#263.
2021-11-26 21:24:15 +01:00
decentral1se fdf4fc6737
fix: ensure validation takes place
Part of coop-cloud/organising#243 (comment).
2021-11-21 15:00:04 +01:00
decentral1se e589709cb0
fix: attempt to include IdentityFile if available
This is part of trying to debug:

    coop-cloud/organising#250

And also part of:

    coop-cloud/docs.coopcloud.tech#27

Where I now try to specify the same logic as `ssh -i <my-key-path>` in
the underlying connection logic. This should help with being more
explicit about what key is being used via the SSH config file.
2021-11-18 21:16:10 +01:00
decentral1se 915083b426
fix: time out on 60 sec + of converge checks
See coop-cloud/organising#246.
2021-11-14 23:15:35 +01:00
decentral1se f78a04109c
fix: clarify when deploy done [ci skip] 2021-11-10 09:15:52 +01:00
decentral1se b67ad02f87
feat: rudimentary deploy status checking
See coop-cloud/organising#209.
2021-11-10 09:06:55 +01:00
decentral1se edb427a7ae
feat: implement host key checking
Closes coop-cloud/organising#237.
2021-11-08 15:37:23 +01:00
decentral1se f9726b6643
WIP: temporarily avoid SSH host key checking
Closes coop-cloud/organising#234.
Closes coop-cloud/organising#142.
2021-11-05 12:33:32 +01:00
decentral1se de7054fd74
fix: use x-platform code for pdeathsig
This might cause the macosx build not to fail, I hope.

See https://github.com/docker/cli/tree/v20.10.10/cli/connhelper/commandconn
2021-11-03 09:57:35 +01:00
decentral1se e37b49201f
fix: use IdleConnTimeout/ConnectTimeout
This is an attempt to set sensible timeouts on abra connections. This
might not be the last word on this but it seems that SSH connections now
bail out correctly and other kinds of commands don't explode (e.g.
logs).

Closes coop-cloud/organising#222.
Closes coop-cloud/organising#218.
2021-11-02 15:49:11 +01:00
decentral1se a458a5d9f7
docs: mark upstreams for all upstreams 2021-10-21 19:54:43 +02:00
decentral1se 963f8dcc73
fix: recover tests from overzealous cleanup 2021-10-21 19:40:26 +02:00
decentral1se dc04cf5ff7
chore: migrate all upstream code to own dir 2021-10-21 19:35:13 +02:00