diff options
| author | Roman Smrž <roman.smrz@seznam.cz> | 2025-11-28 22:38:18 +0100 |
|---|---|---|
| committer | Roman Smrž <roman.smrz@seznam.cz> | 2025-11-28 22:38:18 +0100 |
| commit | 113f4f6cd8c556d9261f59eb5d52e108d9117bbe (patch) | |
| tree | b1d96ae7faad0717c5b5feff72f7ef1e5fd3d392 | |
| parent | ff3122f0a82f2c0ba3593282f43c911ac521ca12 (diff) | |
Test: dependencies reflected in job ID
| -rw-r--r-- | test/asset/run/many_repos.yaml | 5 | ||||
| -rw-r--r-- | test/script/run.et | 22 |
2 files changed, 27 insertions, 0 deletions
diff --git a/test/asset/run/many_repos.yaml b/test/asset/run/many_repos.yaml index 5910526..ebf07d8 100644 --- a/test/asset/run/many_repos.yaml +++ b/test/asset/run/many_repos.yaml @@ -47,3 +47,8 @@ job first_manual_revision: artifact out: path: some_file + + +job dependent: + uses: + - first.out diff --git a/test/script/run.et b/test/script/run.et index c148fd9..83104a0 100644 --- a/test/script/run.et +++ b/test/script/run.et @@ -475,15 +475,37 @@ test RunWithManyRepos: local: spawn on n as p args [ "--storage=minici", "--repo=r1:./dir_r1", "--repo=r3:./dir_r3", "--repo=r4:./dir_r4", "--repo=r2:./dir_r2", "./main", "run", "--rerun-all", "first" ] expect_success from p of "$mt.first.$r1t.$r2t.$r3t.$r4t" + expect /(.*)/ from p capture done + guard (done == "run-finish") local: spawn on n as p args [ "--storage=minici", "--repo=r1:./dir_r1", "--repo=r3:./dir_r3", "--repo=r4:./dir_r4", "--repo=r2:./dir_r2", "./main", "run", "--rerun-all", "$mc.first.$r1c.$r2t.$r3c.$r4t" ] expect_success from p of "$mt.first.$r1t.$r2t.$r3t.$r4t" + expect /(.*)/ from p capture done + guard (done == "run-finish") local: spawn on n as p args [ "--storage=minici", "--repo=r1:./dir_r1", "--repo=r3:./dir_r3", "--repo=r4:./dir_r4", "--repo=r2:./dir_r2", "./main", "run", "--rerun-all", "first_manual_revision" ] expect_success from p of "$mt.first_manual_revision.$r1t.$r2t.$r4t" + expect /(.*)/ from p capture done + guard (done == "run-finish") local: spawn on n as p args [ "--storage=minici", "--repo=r1:./dir_r1", "--repo=r3:./dir_r3", "--repo=r4:./dir_r4", "--repo=r2:./dir_r2", "./main", "run", "--rerun-all", "$mc.first_manual_revision.$r1c.$r2t.$r4t" ] expect_success from p of "$mt.first_manual_revision.$r1t.$r2t.$r4t" + expect /(.*)/ from p capture done + guard (done == "run-finish") + + local: + spawn on n as p args [ "--storage=minici", "--repo=r1:./dir_r1", "--repo=r3:./dir_r3", "--repo=r4:./dir_r4", "--repo=r2:./dir_r2", "./main", "run", "--rerun-all", "dependent" ] + expect_success from p of "$mt.first.$r1t.$r2t.$r3t.$r4t" + expect_success from p of "$mt.dependent.$r1t.$r2t.$r3t.$r4t" + expect /(.*)/ from p capture done + guard (done == "run-finish") + + local: + spawn on n as p args [ "--storage=minici", "--repo=r1:./dir_r1", "--repo=r3:./dir_r3", "--repo=r4:./dir_r4", "--repo=r2:./dir_r2", "./main", "run", "--rerun-all", "$mc.dependent.$r1c.$r2t.$r3c.$r4t" ] + expect_success from p of "$mt.first.$r1t.$r2t.$r3t.$r4t" + expect_success from p of "$mt.dependent.$r1t.$r2t.$r3t.$r4t" + expect /(.*)/ from p capture done + guard (done == "run-finish") |