Skip to content

Commit 17a09cc

Browse files
committed
tmt: drop kola-testiso plan and associated test cases
`kola run` now handles all ISO test scenarios, making the dedicated `kola testiso` tmt plan, build steps, and test cases unnecessary. See: coreos/coreos-assembler#4377
1 parent a078935 commit 17a09cc

5 files changed

Lines changed: 2 additions & 34 deletions

File tree

tmt/plans/main.fmf

Lines changed: 0 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -42,12 +42,3 @@ execute:
4242
- init
4343
- build-qemu
4444
- test-kola-upgrade
45-
46-
/kola-testiso:
47-
summary: run kola testiso tests
48-
discover+:
49-
how: fmf
50-
test:
51-
- init
52-
- build-iso
53-
- test-iso

tmt/tests/build.sh

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,4 @@ source "utils.sh"
66

77
if [ "$TEST_CASE" = "build-qemu" ]; then
88
cosa osbuild qemu
9-
elif [ "$TEST_CASE" = "build-iso" ]; then
10-
cosa osbuild live metal metal4k
119
fi

tmt/tests/entrypoint.sh

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,10 +6,10 @@ case "$TEST_CASE" in
66
"init")
77
./init.sh
88
;;
9-
"build-qemu"|"build-iso")
9+
"build-qemu")
1010
./build.sh
1111
;;
12-
"test-qemu"|"test-kola-upgrade"|"test-iso")
12+
"test-qemu"|"test-kola-upgrade")
1313
./test.sh
1414
;;
1515
*)

tmt/tests/kola.fmf

Lines changed: 0 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -23,15 +23,3 @@ test: ./entrypoint.sh
2323
order: 80
2424
environment:
2525
TEST_CASE: test-kola-upgrade
26-
27-
/build-iso:
28-
duration: 1h
29-
order: 90
30-
environment:
31-
TEST_CASE: build-iso
32-
33-
/test-iso:
34-
duration: 2h
35-
order: 100
36-
environment:
37-
TEST_CASE: test-iso

tmt/tests/test.sh

Lines changed: 0 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -36,13 +36,4 @@ elif [ "$TEST_CASE" = "test-kola-upgrade" ]; then
3636
)
3737
run_kola
3838
collect_kola_artifacts
39-
40-
elif [ "$TEST_CASE" = "test-iso" ]; then
41-
export KOLA_ACTION="testiso"
42-
export KOLA_ID="test-iso"
43-
export KOLA_EXTRA_ARGS=(
44-
--inst-insecure
45-
)
46-
run_kola
47-
collect_kola_artifacts
4839
fi

0 commit comments

Comments
 (0)