Commit Graph

55 Commits

Author SHA1 Message Date
Apfelwurm 1bdc11ba62 fix no-input app deployment when no tty is present 2025-11-04 13:52:28 +00:00
decentral1se c794d533be fix: avoid hanging when tasks randomly surge
See toolshed/abra#557
2025-10-01 08:19:46 +02:00
decentral1se 824f314472 refactor: app move review pass 2025-09-01 11:17:22 +02:00
p4u1 61849a358c feat(app): Adds abra app move command 2025-09-01 06:50:11 +02:00
decentral1se e019142c9e fix: show when logs dont get collected
See toolshed/abra#575
2025-08-29 09:58:26 +02:00
decentral1se 8bf0d7addc fix: wait for containers to go away
See toolshed/abra#564
2025-08-28 16:17:37 +02:00
decentral1se 6a52575ae0 refactor!: do not set default timeout
See toolshed/abra#596

Quite some `i18n.G` additions along the way!
2025-08-25 11:49:11 +02:00
decentral1se 81c28e3006 test: appease the tester 2025-08-18 20:50:50 +02:00
p4u1 157d131b37 feat: Retrieves auth token from image
This allows using a private registry for an image.
To use it, you have to run docker login on your local machine before
running abra deploy.
2025-08-12 05:01:42 +00:00
decentral1se 47045ca8f1 feat: improved deploy progress reporting
See toolshed/abra#478
2025-03-23 09:13:36 +00:00
decentral1se 1723025fbf build: go 1.24
We were running behind and there were quite some deprecations to update.
This was mostly in the upstream copy/pasta package but seems quite
minimal.
2025-03-16 12:31:45 +01:00
decentral1se 0a63f9ce27 fix: undeploy handles chaos/unstaged in overview
Follows 3a71dc47f8
2025-01-02 21:50:23 +01:00
decentral1se 5975be6870 fix: unstaged changes handling
See toolshed/organising#651
2024-12-31 16:37:02 +01:00
decentral1se e5a6dea10c fix: catch ctrl-c again; less cryptic logging 2024-07-17 10:09:09 +02:00
decentral1se b82ac3bd63 refactor: make IsChaos an actual bool 2024-07-09 11:34:01 +02:00
decentral1se c33ca1c6bc fix!: chaos consistency (deploy/undeploy/rollback/upgrade)
See coop-cloud/organising#559

--chaos for rollback/upgrade goes away.
2024-07-08 17:23:49 +02:00
decentral1se 72c021c727 fix: remove old commands from deploy fail help 2024-07-08 14:29:51 +02:00
decentral1se 1a8dca9804 fix(deploy): only output when actually waiting 2024-07-08 01:01:14 +02:00
decentral1se 465827d5ee log: no additional newlines 2024-07-08 01:01:14 +02:00
decentral1se ef108d63e1 refactor: use central logger 2024-07-08 00:01:28 +02:00
decentral1se 9554ad40c8 refactor: use adapted upstream detach=false logic [ci skip]
See coop-cloud/organising#607.
2024-07-02 14:52:12 +02:00
mayel 63ea58ffaa add relevant command to error message 2024-04-01 18:51:53 +01:00
p4u1 3957b7c965 proper env modifiers support
This implements proper modifier support in the env file using this new fork of the godotenv library. The modifier implementation is quite basic for but can be improved later if needed. See this commit for the actual implementation.

Because we are now using proper modifer parsing, it does not affect the parsing of value, so this is possible again:
```
MY_VAR="#foo"
```
Closes coop-cloud/organising#535
2023-12-01 11:03:52 +00:00
decentral1se 358490e939 refactor: deploy output wording 2023-09-23 09:14:45 +02:00
rix 2db172ea5a Further changes to messages. 2023-08-04 19:22:48 +00:00
rix 2077658f6a Attempt to replace the deploy completed message. 2023-08-04 19:22:48 +00:00
rix 502e26b534 Change message when starting to poll for deployment status. 2023-08-04 19:22:48 +00:00
rix e22b692ada Add os hook for interrupt signal while waiting for service to converge. 2023-08-04 19:22:48 +00:00
moritz 31ec322c55 feat(deploy): set timeout via label (!290)
Solves coop-cloud/organising#437

A timeout can be specified globally for a recipe using this label:
`coop-cloud.${STACK_NAME}.timeout=${TIMEOUT:-120}`. This sets the default timeout to 120s. An app specific timeout can be set using the env `TIMEOUT`.

Co-authored-by: Moritz <moritz.m@local-it.org>
Reviewed-on: coop-cloud/abra#290
2023-04-14 14:44:18 +00: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 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 d3e127e5c8 fix: retain backwards compat with TYPE/RECIPE change 2022-03-11 19:37:50 +01:00
decentral1se 58e98f490d refactor!: type -> recipes 2022-01-27 12:06:32 +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 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
d1admin 748d607ddc fix: better converge output
Closes coop-cloud/organising#263.
2021-11-26 21:24:15 +01:00
d1admin fdf4fc6737 fix: ensure validation takes place
Part of coop-cloud/organising#243 (comment).
2021-11-21 15:00:04 +01:00