devydave and devydave
550c9aa48f
test: introduce local integration testing ( #902 )
...
continuous-integration/drone/push Build is passing
This PR adds a declarative integration testing setup which includes 2 local VMs client and server which can be started and stopped via a command. The VMs are run with QEMU and created by https://github.com/microvm-nix/microvm.nix
The key pair is generated for this use case and is safe to commit, it resolves the problem that the readFile function can only be used with git tracked files.
---------
Co-authored-by: devydave <yannick-dev@tutanota.com >
Reviewed-on: #902
Reviewed-by: p4u1 <133+p4u1@noreply.git.coopcloud.tech >
Co-authored-by: devydave <bittedanke@tutanota.com >
2026-10-31 08:28:04 +00:00
iexos
abcbdf57f1
test: remove recipe sync dependency
continuous-integration/drone/push Build is passing
2026-02-19 11:04:47 +00:00
decentral1se
ddb90dd44d
docs: woops, remove that [ci skip]
2026-02-16 17:35:27 +01:00
decentral1se
7a8485492e
test: give more space to CI machine for these tests [ci skip]
2026-02-16 17:28:44 +01:00
decentral1se
39102752c0
fix: more graceful bailing if borked .env.sample
continuous-integration/drone/pr Build is passing
continuous-integration/drone/push Build is passing
2026-02-15 18:26:05 +01:00
decentral1se
f87ce74027
fix: ensure borked tag handled for deploy/ls
2026-02-15 17:07:45 +01:00
decentral1se
7c3364f87a
test: do not wait for converge checks
...
continuous-integration/drone/push Build is passing
See #750 (comment)
2026-02-15 14:39:07 +01:00
Apfelwurm
8f7dbfedbc
add integration test that does not use old recipe version when recipe is broken
continuous-integration/drone/push Build is failing
2026-02-13 21:51:46 +00:00
p4u1
23268a0e92
fix: Does not crash when an image has no tag
continuous-integration/drone/pr Build is failing
continuous-integration/drone/push Build is failing
2026-02-13 11:24:22 +01:00
p4u1
0e273de8f6
fix: Allows multiple protocols on one port
2026-02-13 09:29:01 +00:00
decentral1se
a2cc70b2f5
test: reinstate debug
continuous-integration/drone/push Build is failing
2025-11-09 10:43:09 +01:00
decentral1se
d75700c8a9
test: ensure env vars updated
...
continuous-integration/drone/pr Build is passing
continuous-integration/drone/push Build is passing
See #723
2025-11-09 09:32:52 +01:00
decentral1se
0ccc4aae72
chore: remove --debug
2025-11-09 09:32:42 +01:00
decentral1se
ec22d5d51d
test: remove old tests
...
continuous-integration/drone/push Build is passing
See #716
2025-11-05 09:52:28 +01:00
decentral1se
89d5fc91b0
fix: gracefully explode of missing context
...
See #675
2025-10-01 11:48:51 +02:00
decentral1se
5da13ff15a
test: adjust integration suite
2025-10-01 08:54:05 +02:00
decentral1se
6944d138c6
refactor: chaos-y handling
...
See #659
2025-10-01 08:19:39 +02:00
decentral1se
d50d68d95a
test: further generate=false secre tests
2025-09-29 10:33:40 +02:00
decentral1se
a31a25cfa1
fix: show no images if no diff required
2025-09-10 21:46:42 +02:00
3wordchant
5bb6241172
test: fix "bail if env has a hash but no --chaos" test
continuous-integration/drone/push Build is passing
2025-09-09 16:03:22 -04:00
3wordchant
0bb6d9609c
Add test to make sure non-chaos hash deploy fails..
...
continuous-integration/drone/push Build is passing
..and make sure _ensure_env_version passes through variable correctly.
2025-09-03 14:25:42 -04:00
decentral1se
d5c66020ad
refactor!: --ignore-env-version is --latest *only* on deploy
...
continuous-integration/drone/push Build is passing
See #617
2025-08-29 16:38:49 +02:00
decentral1se
97377dea39
test(integration): ensure timeout handling
2025-08-25 11:48:44 +02:00
3wordchant
7add56df00
Add integration tests for new "--chaos to blast past lint errors"
...
Re toolshed/organising#497
2025-08-12 12:18:29 +00:00
decentral1se
83af39771b
test: drop unused tagHash
continuous-integration/drone/push Build is passing
2025-04-24 10:57:34 +02:00
decentral1se
8943cea13f
test: get latest via helper
2025-03-23 11:00:04 +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
decentral1se
41e514ae9a
test: reset after deploy
continuous-integration/drone/pr Build is passing
continuous-integration/drone/push Build is passing
2025-01-09 11:54:39 +01:00
decentral1se
eb6fe4ba6e
fix: dont set chaos label if no chaos
...
See #478
2025-01-09 11:54:36 +01:00
decentral1se
c88fc66c99
test: moar chaos stability 😌 [ci skip]
2025-01-05 16:12:06 +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
dc4c6784cb
test: integration test patches
continuous-integration/drone/push Build is passing
2024-12-28 16:39:58 +01:00
decentral1se
008582c3d9
test: fixes for test suite post-cobra migrate
...
continuous-integration/drone/push Build is passing
See toolshed/organising#650
2024-12-27 20:44:07 +01:00
decentral1se
c02e11eb0a
test: fix order of teardown [ci skip]
2024-07-17 14:15:03 +02:00
decentral1se
8b8e158664
test: int suite fixes
continuous-integration/drone/push Build is passing
2024-07-17 14:05:46 +02:00
decentral1se
8084bff104
test: env version tests
...
See coop-cloud/organising#541
2024-07-17 10:06:46 +02:00
decentral1se
e945087f79
test: env version writing tests
2024-07-17 08:27:12 +02:00
decentral1se
1718903834
test: reset recipe before undeploying [ci skip]
2024-07-17 00:00:06 +02:00
decentral1se
a2116774e8
test: ensure catalogue in place [ci skip]
2024-07-16 23:46:02 +02:00
decentral1se
d2efdf8bf5
test: adjust output checking [ci skip]
2024-07-16 23:39:10 +02:00
decentral1se
b15c05929c
test: adjust output checking [ci skip]
2024-07-16 23:32:12 +02:00
decentral1se
f167a91868
test: skip for now, it's flaking again [ci skip]
...
We need to solve coop-cloud/organising#541
2024-07-16 23:28:18 +02:00
decentral1se
b8e1a3b75f
test: remote recipe tests
...
continuous-integration/drone/push Build is passing
See coop-cloud/abra#432
2024-07-10 16:03:28 +02:00
decentral1se
4be8c8daed
test: fix outputs [ci skip]
...
See https://build.coopcloud.tech/coop-cloud/abra/2035/1/5
2024-07-10 13:20:39 +02:00
decentral1se
2fb5493ab5
feat: support chaos commits on deploy
...
See coop-cloud/organising#517
2024-07-09 11:31:52 +02:00
decentral1se
2014cd6622
test: less fragile integration suite [ci skip]
...
See coop-cloud/organising#584
See coop-cloud/organising#595
2024-07-02 12:16:58 +02:00
decentral1se
91ea2c01a5
fix: fix old app version deploy wrt. compose files
...
continuous-integration/drone/pr Build is passing
continuous-integration/drone/push Build is passing
See coop-cloud/organising#617
2024-06-21 16:14:40 +02:00
p4u1 and decentral1se
40c0fb4bac
fix-integration-tests ( !403 )
...
continuous-integration/drone/push Build is passing
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 ](coop-cloud/abra#403 /commits/2f29fbeb2e018656413fa25f8615b7a98cdcb083))
- [x] app_restart.bats (no changes needed
- [x] app_restore.bats (fixed by [f2dd5afc38 ](coop-cloud/abra#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 ](coop-cloud/abra#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 ](coop-cloud/abra#403 /commits/b6b0808066a11e4bcd77517ec39600d500bcb944))
- [x] recipe_list.bats (no changes needed)
- [x] recipe_new.bats (fixed by [0aac464ded ](coop-cloud/abra#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 ](coop-cloud/abra#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: coop-cloud/abra#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
decentral1se
bc88dac150
test: reset before changing files
continuous-integration/drone/push Build is passing
2023-10-11 19:29:19 +02:00