Commit Graph

84 Commits

Author SHA1 Message Date
p4u1 d5ac3958a4 feat: add retries to app volume remove
continuous-integration/drone/push Build is passing Details
2024-03-27 05:38:24 +00:00
p4u1 40c0fb4bac fix-integration-tests (!403)
continuous-integration/drone/push Build is passing Details
In preparation for the new abra release, let's fix all integration tests

After merging, this needs to be cherry-picked into the release-0-9 branch.

  - [x] app_backup.bats (skip this one)
  - [x] app_check.bats (fixed by bd21014fed)
  - [x] app_cmd.bats (partially fixed in 08232b74f6), has known regression coop-cloud/organising#581
  - [x] app_config.bats (no changes needed)
  - [x] app_cp.bats (no changes needed)
  - [x] app_deploy.bats
  - [x] app_errors.bats (no changes needed)
  - [x] app_list.bats (no changes needed)
  - [x] app_logs.bats (no changes needed)
  - [x] app_new.bats (no changes needed)
  - [x] app_ps.bats (no changes needed)
  - [x] app_remove.bats (fixed by [2f29fbeb2e](#403/commits/2f29fbeb2e018656413fa25f8615b7a98cdcb083))
  - [x] app_restart.bats (no changes needed
  - [x] app_restore.bats (fixed by [f2dd5afc38](#403/commits/f2dd5afc38a25a8316899fa0c6d59499445868d7))
  - [x] app_rollback.bats (partially fixed by 6e99b74c24)
  - [x] app_run.bats (no changes needed)
  - [x] app_secret.bats (fixed by bd069d32f6)
  - [x] app_services.bats (no changes needed)
  - [x] app_undeploy.bats (no changes needed)
  - [x] app_upgrade.bats (no changes needed)
  - [x] app_version.bats (partially fixed by ad323ad2bd)
  - [x] app_volume.bats (fixed by [03c3823770](#403/commits/03c38237707ae795b723180eb07a7edc84a8de35))
  - [x] autocomplete.bats (no changes needed)
  - [x] catalogue.bats (no changes needed)
  - [x] dirs.bats (no changes needed)
  - [x] install.bats (failes, but is expected)
  - [x] recipe_diff.bats (no changes needed)
  - [x] recipe_fetch.bats (no changes needed)
  - [x] recipe_lint.bats (fixed by [b6b0808066](#403/commits/b6b0808066a11e4bcd77517ec39600d500bcb944))
  - [x] recipe_list.bats (no changes needed)
  - [x] recipe_new.bats (fixed by [0aac464ded](#403/commits/0aac464ded6b43afb3ec37ade2f64d6191b9838f))
  - [x] recipe_release.bats (no changes needed)
  - [x] recipe_reset.bats (no changes needed)
  - [x] recipe_sync.bats (no changes needed)
  - [x] recipe_upgrade.bats (fixed by [ab86904cf4](#403/commits/ab86904cf45db89c7c189ca1fd9971909bd446dd))
  - [x] recipe_version.bats (fixed by 81897bf4da)
  - [x] server_add.bats
  - [x] server_list.bats
  - [x] server_prune.bats (no changes needed)
  - [x] server_remove.bats
  - [x] upgrade.bats
  - [x] version.bats (no changes needed)

Co-authored-by: decentral1se <cellarspoon@riseup.net>
Reviewed-on: #403
Co-authored-by: p4u1 <p4u1_f4u1@riseup.net>
Co-committed-by: p4u1 <p4u1_f4u1@riseup.net>
2024-03-11 13:27:21 +00:00
p4u1 0643df6d73 feat: fetch all recipes when no recipe is specified (!401)
continuous-integration/drone/push Build is passing Details
Closes coop-cloud/organising#530

Reviewed-on: #401
Reviewed-by: decentral1se <decentral1se@noreply.git.coopcloud.tech>
Co-authored-by: p4u1 <p4u1_f4u1@riseup.net>
Co-committed-by: p4u1 <p4u1_f4u1@riseup.net>
2024-01-24 15:01:33 +00:00
p4u1 4920dfedb3 fix: retry docker volume remove (!399)
continuous-integration/drone/push Build is passing Details
Closes coop-cloud/organising#509

Reviewed-on: #399
Reviewed-by: decentral1se <decentral1se@noreply.git.coopcloud.tech>
Co-authored-by: p4u1 <p4u1_f4u1@riseup.net>
Co-committed-by: p4u1 <p4u1_f4u1@riseup.net>
2024-01-19 15:09:00 +00:00
p4u1 0a3624c15b feat: add version input to abra app new (!400)
continuous-integration/drone/push Build is passing Details
Closes coop-cloud/organising#519

Reviewed-on: #400
Reviewed-by: decentral1se <decentral1se@noreply.git.coopcloud.tech>
Co-authored-by: p4u1 <p4u1_f4u1@riseup.net>
Co-committed-by: p4u1 <p4u1_f4u1@riseup.net>
2024-01-19 15:08:41 +00:00
p4u1 af8cd1f67a feat: abra release now asks for a release note (!393)
continuous-integration/drone/push Build is passing Details
This implements coop-cloud/organising#540 by checking if a`release/next` file exists and if so moves it to `release/<tag>`. When no release notes exists it prompts for them.

Reviewed-on: #393
Reviewed-by: moritz <moritz.m@local-it.org>
Co-authored-by: p4u1 <p4u1_f4u1@riseup.net>
Co-committed-by: p4u1 <p4u1_f4u1@riseup.net>
2023-12-12 14:46:20 +00:00
p4u1 2de6934322 feat: abra app cp enhancements
continuous-integration/drone/push Build is passing Details
2023-12-02 15:39:27 +00:00
p4u1 b1d3fcbb0b add integration test
continuous-integration/drone/push Build is failing Details
2023-11-27 10:01:33 +00:00
decentral1se 316b59b465
test: support local-first testing
continuous-integration/drone/push Build is failing Details
Cherry-picked from #389

Thanks @p4u1.
2023-11-27 10:41:46 +01:00
decentral1se 7f7f7224c6
feat: diff on release flow
continuous-integration/drone/pr Build is passing Details
continuous-integration/drone/push Build is passing Details
Also, don't commit unstaged files.
2023-10-16 18:31:22 +02:00
decentral1se f96bf9a8ac
feat: `recipe reset`, `recipe diff`
continuous-integration/drone/pr Build is passing Details
continuous-integration/drone/push Build is passing Details
See coop-cloud/organising#511
2023-10-15 12:56:52 +02:00
decentral1se bc88dac150
test: reset before changing files
continuous-integration/drone/push Build is passing Details
2023-10-11 19:29:19 +02:00
decentral1se 704c0e9c74
test: adapt failing tests to new changes 2023-10-11 18:34:08 +02:00
decentral1se 85b90ef80c fix: bail if --chaos and specific version
continuous-integration/drone/push Build is passing Details
See coop-cloud/organising#503.
2023-10-09 20:54:44 +00:00
decentral1se c249c6ae9c
fix: fix: trim comments that are not modifers
continuous-integration/drone/pr Build is passing Details
continuous-integration/drone/push Build is passing Details
See coop-cloud/organising#505
2023-10-09 14:42:05 +02:00
decentral1se b4fd39828f
test: abra-integration-test-recipe -> abra-test-recipe
continuous-integration/drone/push Build is passing Details
See coop-cloud/abra-test-recipe#3
2023-10-05 14:22:11 +02:00
decentral1se 14f2d72aba
refactor!: lowercase, hyphenate keys
continuous-integration/drone/pr Build is passing Details
continuous-integration/drone/push Build is passing Details
This will potentially break scripts, so time to discuss!
2023-10-05 08:36:01 +02:00
decentral1se 8078e91e52
fix: warn if secrets not generated
See coop-cloud/organising#499
2023-10-04 15:13:14 +02:00
decentral1se c646263e9e
fix: validate COMPOSE_FILE
continuous-integration/drone/push Build is failing Details
continuous-integration/drone/pr Build is passing Details
See coop-cloud/organising#468.
See coop-cloud/organising#376.
2023-10-04 13:27:04 +02:00
decentral1se 906bf65d47
test: moar domain check tests [ci skip] 2023-09-29 09:31:25 +02:00
decentral1se 1e6a6e6174
fix: app logs retrieves recipe
continuous-integration/drone/pr Build is failing Details
continuous-integration/drone/push Build is failing Details
2023-09-27 09:19:57 +02:00
decentral1se e1f900de14
test: fix app_secret generate tests [ci skip] 2023-09-25 16:32:16 +02:00
decentral1se 7b240059b0
test: fix app_backup recipe cleanups [ci skip] 2023-09-25 11:50:29 +02:00
decentral1se c456d13881
test: fix recipe_* tests [ci skip] 2023-09-25 11:27:36 +02:00
decentral1se c7c553164d
test: fix refute output check [ci skip] 2023-09-25 11:21:36 +02:00
decentral1se 7616528f4e
test: ensure app cleanup 2023-09-25 11:20:56 +02:00
decentral1se 6cd85f7239
test: dont assert_success for check [ci skip] 2023-09-25 11:11:29 +02:00
decentral1se b1774cc44b
test: fix app_check tests 2023-09-25 10:52:47 +02:00
decentral1se e438fc6e8e
test: reset recipe in file teardown 2023-09-25 10:52:27 +02:00
decentral1se c065ceb1f0
test: secret generation & --offline/chaos handling tests
continuous-integration/drone/push Build is failing Details
continuous-integration/drone/pr Build is failing Details
2023-09-25 10:33:15 +02:00
decentral1se f3ded88ed8
fix: app version includes tags, sorts & tests
continuous-integration/drone/push Build is passing Details
See coop-cloud/organising#442
2023-09-24 11:19:27 +02:00
decentral1se 533edbf172
fix: recipe versions lists correctly (also -m) 2023-09-24 10:56:02 +02:00
decentral1se 78b8cf9725
test: fix git tag command [ci skip] 2023-09-24 00:56:00 +02:00
decentral1se f0560ca975
test: no args for helpers, fix recipe_* tests [ci skip] 2023-09-23 23:57:52 +02:00
decentral1se ce7b4733d7
test: tag/git helpers & refactor [ci skip] 2023-09-23 23:19:49 +02:00
decentral1se 575bfbb0fb
test: test arguments, notes, local tag lookup
continuous-integration/drone/pr Build is failing Details
continuous-integration/drone/push Build is failing Details
2023-09-23 09:17:24 +02:00
decentral1se 79b9cc9be7
fix: --offline/--chaos handlings for backup/check/cmd/restore
continuous-integration/drone/push Build is passing Details
2023-09-22 09:47:36 +02:00
decentral1se 8f1231e409
test: integration test for `abra app upgrade` [ci skip] 2023-09-21 11:52:58 +02:00
decentral1se aa37c936eb
test: pass arg to _checkout_recipe 2023-09-21 11:52:21 +02:00
decentral1se 8788558cf1
fix: only sync version label once
continuous-integration/drone/push Build is failing Details
Closes coop-cloud/organising#492
2023-09-21 10:58:17 +02:00
decentral1se 76035e003e
fix: recipe workflow with integration tests
continuous-integration/drone/push Build is failing Details
2023-09-21 10:36:53 +02:00
decentral1se b708382d26
feat: recipe lint supports --chaos 2023-09-21 09:07:00 +02:00
decentral1se e116148c49
test: ensure catalogue --chaos works [ci skip]
Closes coop-cloud/organising#462.
2023-09-20 14:19:49 +02:00
decentral1se d5593b69e0
test: ensure 3 commits behind, ignore output on fail [ci skip] 2023-09-20 14:10:07 +02:00
decentral1se 0be532692d
test: moar integration tests [ci skip]
continuous-integration/drone/pr Build is failing Details
2023-09-20 13:51:06 +02:00
decentral1se 10f612f998
test: more integration tests
continuous-integration/drone/pr Build is failing Details
continuous-integration/drone/push Build is failing Details
2023-09-05 13:03:38 +02:00
decentral1se 58e78e4d7c fix: overridable ABRA_DIR
continuous-integration/drone/push Build is failing Details
2023-09-05 09:58:13 +00:00
decentral1se 25258d3d64 fix: separate abra/kababra makefile targets 2023-09-05 09:58:13 +00:00
decentral1se 0a765794f2 test: write initial automatic integration tests 2023-09-05 09:58:13 +00:00
decentral1se c9144d90f3
refactor: integration -> manual 2023-08-02 08:45:24 +02:00