Commit Graph

675 Commits

Author SHA1 Message Date
3wordchant 032fe99086 Appease formatter
continuous-integration/drone/push Build is passing
2025-08-12 12:18:29 +00:00
3wordchant 0ab05cece2 Reformat linting errors in LintForErrors
See toolshed/organising#497 (comment)
2025-08-12 12:18:29 +00:00
3wordchant c63f6db61e WARN on recipe linting errors during --chaos..
..and show multiple linting errors instead of bailing on the first one.

Re #497
2025-08-12 12:18:29 +00:00
p4u1 157d131b37 feat: Retrieves auth token from image
continuous-integration/drone/push Build is passing
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
3wordchant 022606c13c Add default POT catalogue, don't alias gotext.Get 2025-08-04 16:51:33 +02:00
decentral1se 8cfda5229f feat: weblate 2025-08-04 16:51:26 +02:00
decentral1se 55c24f070c feat: cancel git clone ops gracefully
continuous-integration/drone/push Build is passing
See #528
2025-04-22 22:56:10 +02:00
decentral1se a43a092ba7 fix: fetch recipe for "app list -S"
continuous-integration/drone/push Build is passing
2025-04-19 07:28:15 +00:00
p4u1 fa084a61d2 fix(lint): Improves error message if a lint rule errors
continuous-integration/drone/push Build is passing
This was detected while debugging #534
2025-04-16 05:12:19 +00:00
decentral1se 6d64e0edd3 fix: sshPkg.Fatal has more nuance
continuous-integration/drone/pr Build is passing
continuous-integration/drone/push Build is passing
See #507
2025-03-23 10:27:58 +01:00
decentral1se 47045ca8f1 feat: improved deploy progress reporting
continuous-integration/drone/push Build is passing
See #478
2025-03-23 09:13:36 +00:00
Apfelwurm d0f982456e add charset modifier to secret generation (#521)
continuous-integration/drone/push Build is passing
since we need special chars in passwords for a recipe we are working on, i have added the option to specify a charset in the same way as the length can be setted.
i did not change anything in the behaviour, so if length is not specified, the charset gets ignored whether it is there or not.

you can specify the following:
`charset=default` - Results in passgen.AlphabetDefault being used
`charset=special` - Results in passgen.AlphabetSpecial being used
`charset=safespecial` - Results in `!@#%^&*_-+=` being used (so it is AlphabetSpecial without the dollar sign)
`charset=default,special` or `charset=special,default` - Results in passgen.AlphabetDefault + passgen.AlphabetSpecial being used
`charset=default,safespecial` or `charset=safespecial,default` - Results in passgen.AlphabetDefault + `!@#%^&*_-+=` being used ((so it is AlphabetSpecial without the dollar sign)

PR for the docs: toolshed/docs.coopcloud.tech#271

Co-authored-by: p4u1 <p4u1@noreply.git.coopcloud.tech>
Reviewed-on: #521
Reviewed-by: p4u1 <p4u1@noreply.git.coopcloud.tech>
Co-authored-by: Apfelwurm <Alexander@volzit.de>
Co-committed-by: Apfelwurm <Alexander@volzit.de>
2025-03-21 10:29:21 +00:00
decentral1se 1723025fbf build: go 1.24
continuous-integration/drone/pr Build is passing
continuous-integration/drone/push Build is passing
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
p4u1 e58a716fe1 feat(deploy): Simplifies deploy overview (#508)
continuous-integration/drone/push Build is passing
continuous-integration/drone/pr Build is passing
This simplifies the deploy overview, to only show 3 version fields:
- CURRENT DEPLOYMENT
- CURRENT ENV
- NEW DEPLOYMENT

It also fixes a few errors around version detection

Reviewed-on: #508
Co-authored-by: p4u1 <p4u1_f4u1@riseup.net>
Co-committed-by: p4u1 <p4u1_f4u1@riseup.net>
2025-03-12 16:13:24 +00:00
p4u1 4326d1d259 fix: Sorts git tags with tagcmp 2025-02-11 10:01:44 +00:00
decentral1se 64ad60663f test: adjust for new abra-test-recipe version
continuous-integration/drone/pr Build is passing
continuous-integration/drone/push Build is passing
See #470
2025-01-09 13:14:47 +00:00
decentral1se 4923984e84 fix: not flaky catalogue generate
continuous-integration/drone/pr Build is passing
continuous-integration/drone/push Build is passing
See #464
2025-01-05 12:08:10 +01:00
decentral1se b3a2402cec chore: remove redundant logging 2025-01-05 10:38:24 +01:00
decentral1se a773fd4256 chore: spacing 2025-01-05 10:38:13 +01:00
decentral1se b1a0d54bd3 fix: default to main then master 2025-01-05 10:37:30 +01:00
decentral1se e57a6d87a3 test: use recipes url 2025-01-03 20:35:19 +01:00
decentral1se 81cdc843ec fix: coop-cloud -> toolshed 2025-01-03 20:23:27 +01:00
decentral1se a379b31a19 refactor: dont use topics
See coop-cloud/organising#377
See coop-cloud/organising#569
2025-01-03 17:01:37 +00:00
decentral1se 1194f3b228 refactor!: maintain "domain"
continuous-integration/drone/push Build is passing
See toolshed/organising#636
2025-01-03 08:24:03 +01:00
decentral1se 2dc8034c16 fix: no dot dirs for server selection
continuous-integration/drone/push Build is passing
2025-01-03 08:16:30 +01:00
decentral1se c5ddeb2d8a fix: dont update catalogue on autocomplete 2025-01-03 08:10:57 +01:00
decentral1se 0a63f9ce27 fix: undeploy handles chaos/unstaged in overview
Follows 3a71dc47f8
2025-01-02 21:50:23 +01:00
decentral1se 3a71dc47f8 fix: more env version write tests
continuous-integration/drone/pr Build is passing
continuous-integration/drone/push Build is passing
See toolshed/organising#661
2025-01-02 21:20:40 +01:00
decentral1se 48198d55bd chore: rename [ci skip] 2025-01-02 11:31:15 +01:00
decentral1se b0cd8ccbb9 refactor/fix: deploy/upgrade/rollback
continuous-integration/drone/pr Build is passing
continuous-integration/drone/push Build is passing
See coop-cloud/abra#461
2025-01-02 11:12:38 +01:00
decentral1se 5975be6870 fix: unstaged changes handling
continuous-integration/drone/pr Build is passing
continuous-integration/drone/push Build is passing
See toolshed/organising#651
2024-12-31 16:37:02 +01:00
decentral1se bfed51a69c fix: no newline on status in logs
continuous-integration/drone/push Build is passing
2024-12-31 08:26:35 +01:00
decentral1se 5d0faf5e13 fix: only log once for the loaded app 2024-12-31 08:26:19 +01:00
decentral1se 994310a4ff refactor!: use charm defaults 2024-12-30 18:05:04 +01:00
decentral1se 356e527f1f refactor!: upgrade/rollback vertical render / ui fixes
continuous-integration/drone/push Build is passing
See toolshed/organising#658
2024-12-28 23:35:47 +01:00
decentral1se fab93a559a fix: more robust <app> autocomplete + error handling
continuous-integration/drone/push Build is passing
See toolshed/organising#652
2024-12-28 22:22:13 +01:00
decentral1se 8ac31330be fix: error out if missing "deploy.labels"
See toolshed/organising#643
2024-12-28 21:55:02 +01:00
decentral1se 03000c25e0 refactor: parametrize default value 2024-12-28 21:54:14 +01:00
decentral1se 3f32dbb1a3 fix: better "server add" failure
See toolshed/organising#570
2024-12-28 21:17:51 +01:00
decentral1se 97959ef5da refactor!: vertical render & UI/UX fixes
continuous-integration/drone/push Build is passing
See coop-cloud/abra#454
2024-12-28 15:00:31 +00:00
decentral1se 671e1ca276 refactor!: cobra migrate
continuous-integration/drone/pr Build is passing
continuous-integration/drone/push Build is passing
2024-12-27 13:32:29 +01:00
decentral1se 3f29084664 chore: refactor / docstrings
continuous-integration/drone/push Build is passing
2024-12-21 19:22:26 +01:00
decentral1se 0bb25a00ec test: migrated server 2024-12-21 19:21:50 +01:00
Ammar Hussein 28c7676413 replace code-descriptive comments with method level comments
continuous-integration/drone/pr Build is failing
continuous-integration/drone/push Build is failing
2024-12-15 09:53:28 -08:00
Ammar Hussein 730fef09a3 add test for SwitchToMain
continuous-integration/drone/push Build is failing
continuous-integration/drone/pr Build is failing
2024-12-14 18:41:34 -08:00
Ammar Hussein 8d076a308a bubble up errors on branch switch
continuous-integration/drone/push Build is failing
continuous-integration/drone/pr Build is failing
2024-12-14 18:26:22 -08:00
Ammar Hussein 9510c04aeb new recipe default branch main instead of master
continuous-integration/drone/push Build is failing
continuous-integration/drone/pr Build is failing
2024-12-12 19:08:18 -08:00
decentral1se 1f8662cd95 refactor: urfave v3 2024-10-21 16:39:27 +02:00
decentral1se 375e17a4a0 refactor: urfave v2 2024-10-21 11:00:35 +02:00
decentral1se 518c5795f4 fix: avoid overwriting non version env vars
See coop-cloud/organising#630
2024-07-24 16:07:08 +02:00