Commit Graph

66 Commits

Author SHA1 Message Date
decentral1se 5cfc1c076c fix: remove timeout 2026-02-15 16:34:18 +00:00
decentral1se ab42584d05 docs: update var name 2025-11-05 09:52:28 +01:00
decentral1se e6af2da9dd refactor: named note, merge if clause 2025-11-04 08:34:49 +01:00
p4u1 4b688825e0 feat: create docker context when server folder does exist 2025-11-03 17:29:04 +01:00
decentral1se 89d5fc91b0 fix: gracefully explode of missing context
See toolshed/abra#675
2025-10-01 11:48:51 +02:00
3wordchant c67fc57902 feat: show proposed secret version changes during deploy 2025-09-09 17:37:12 -04:00
3wordchant 076d522b1a refactor: PR feedback 2025-09-09 13:18:26 -04:00
3wordchant d9f1f82923 style: 4matting 2025-09-08 22:12:00 -04:00
3wordchant 117f64a9d6 test: add some basic unit tests for new utility methods 2025-09-08 22:11:55 -04:00
3wordchant bf68ec56a3 style: 4matting 2025-09-08 22:11:35 -04:00
3wordchant 14d3f1f669 feat: show image differences in pre-deploy overview 2025-09-08 22:11:15 -04:00
3wordchant 745651e962 refactor: resolve circular import 2025-09-08 22:11:04 -04:00
3wordchant c2848cb3ec feat: add GetSecretNamesForStack, tidy up GetConfigNamesForStack 2025-09-08 22:10:58 -04:00
3wordchant 155df518dd feat: only show remote configs used in deployment 2025-09-08 22:10:39 -04:00
3wordchant 0b7c38c213 refactor: tidy up a little 2025-09-08 22:10:24 -04:00
decentral1se 9c37b9b748 test: app move (basics) 2025-09-01 11:17:39 +02:00
p4u1 61849a358c feat(app): Adds abra app move command 2025-09-01 06:50:11 +02:00
decentral1se 4e205cf13e feat: translation support
See toolshed/abra#483
2025-08-23 17:55:56 +02:00
decentral1se f5a843bd90 feat: remove old app configs
See toolshed/abra#577
2025-08-17 13:27:35 +00:00
decentral1se ef108d63e1 refactor: use central logger 2024-07-08 00:01:28 +02:00
decentral1se 1fe601cd16 fix: custom timeout only for "server add" 2024-06-25 16:13:57 +02:00
decentral1se 7b7e1bfa97 refactor!: server add/rm has better UI/UX
Less confusing logging messages, clear "is created" / "already exists"
output. Move the majority of logging to debug output to not confuse the
situation. Some code cleanups also in there.
2024-06-25 09:48:53 +02:00
decentral1se aa3910f8df refactor!: drop all SSH opts / config handling
See coop-cloud/organising#601
See coop-cloud/organising#482
2024-06-21 17:16:41 +02:00
decentral1se 300a4ead01 fix: stop using deprecated APIs 2024-06-19 19:14:52 +02:00
p4u1 d5ac3958a4 feat: add retries to app volume remove 2024-03-27 05:38:24 +00:00
rix a7ce71d6cf Fix formatting. 2023-07-15 08:15:46 +00:00
rix 4d2a1065d2 Replace types.volume with new volume type 2023-07-15 08:15:46 +00:00
decentral1se cccbe4a2ec fix: typo [ci skip] 2023-02-11 23:53:42 +01:00
decentral1se f53cfb6c36 fix: better error message when missing context [ci skip] 2023-02-11 23:49:01 +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
decentral1se 6fe5aed408 fix!: remove digest handling
Closes coop-cloud/organising#379
2023-01-22 08:54:13 +01:00
decentral1se 6aa23a76a1 fix: more precise filtering
Closes coop-cloud/organising#305.
2022-03-27 19:30:36 +00:00
decentral1se c66695d55e fix: return err not logrus + new lines 2022-03-12 17:02:04 +01:00
decentral1se 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
decentral1se bfeda40e34 fix: catch more ssh failure modes with help 2022-02-03 13:43:11 +01:00
decentral1se 6a98024a2b refactor: drop old/upstream TODOs 2021-12-28 01:31:50 +01:00
decentral1se 9c281d8608 fix: flags for logging in 2021-12-27 03:27:05 +01:00
decentral1se b0834925a3 fix: log in correctly
See coop-cloud/abra#139.
2021-12-26 03:44:29 +01:00
decentral1se 3b5354b2a5 refactor: less quotes 2021-12-25 02:03:09 +01:00
decentral1se 48e16c414c fix: use correct error format 2021-12-12 01:56:43 +01:00
decentral1se f3e55e5023 fix: support registry login details 2021-12-12 01:52:28 +01:00
d1admin cb32e88cde fix: support retryable http clients
Closes coop-cloud/organising#257.
2021-11-22 18:28:18 +01:00
d1admin cd361237e7 Revert "Revert "test: remove broken tests for client""
This reverts commit 59031595ea.

Argh, reverted this by accident, heres another one!
2021-11-09 18:25:28 +01:00
d1admin 59031595ea Revert "test: remove broken tests for client"
This reverts commit 17a5f1529a.
2021-11-09 17:58:31 +01:00
knoflook 17a5f1529a test: remove broken tests for client 2021-11-09 13:03:33 +01:00
d1admin edb427a7ae feat: implement host key checking
Closes coop-cloud/organising#237.
2021-11-08 15:37:23 +01:00
d1admin 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
d1admin fc2deda1f6 Revert "fix: drop copy/pasta, keep timeouts"
This reverts commit a170e26e27.

Attempting to add more nuanced timeout logic.
2021-11-02 15:18:17 +01:00
d1admin 963f8dcc73 fix: recover tests from overzealous cleanup 2021-10-21 19:40:26 +02:00
d1admin dc04cf5ff7 chore: migrate all upstream code to own dir 2021-10-21 19:35:13 +02:00