@@ -2,6 +2,14 @@ summary: TMT/TFT plan for running container tests on CentOS Stream 10
22description: |
33 Run container tests on CentOS Stream 10
44
5+ discover:
6+ how: shell
7+ tests:
8+ - name: '$OS, container: $REPO_NAME, version: $SINGLE_VERSION'
9+ framework: shell
10+ test: cd /root/$REPO_NAME && make $TEST_NAME TARGET=$OS SINGLE_VERSION=$SINGLE_VERSION
11+ duration: 3h
12+
513prepare:
614 - name: Clone repository and switch to corresponding PR
715 how: shell
@@ -13,51 +21,11 @@ prepare:
1321 git checkout origin/pr/$PR_NUMBER/head
1422 git submodule update --init
1523
24+ - name: Enable repositories and prepare machine for tests
25+ how: ansible
26+ playbook:
27+ - tmt-testing-plan-c10s.yml
28+ extra-vars: -vv
29+
1630execute:
1731 how: tmt
18-
19- /test-ci:
20- enabled: true
21- adjust:
22- - because: "Plan to be ran when either executed locally, or executed by CI system"
23- when: >-
24- trigger is defined
25- and trigger == code
26- enabled: false
27- prepare+:
28- - name: Enable repositories and prepare machine for tests
29- how: ansible
30- playbook:
31- - tmt-testing-plan-c10s.yml
32- extra-vars: -vvv
33- discover:
34- how: shell
35- tests:
36- - name: '$OS, container: $REPO_NAME, version: $SINGLE_VERSION'
37- framework: shell
38- test: cd /root/$REPO_NAME && make $TEST_NAME TARGET=$OS SINGLE_VERSION=$SINGLE_VERSION
39- duration: 3h
40-
41-
42- /test-plan:
43- enabled: false
44- adjust:
45- - because: "Plan to be ran for checking if packages and files are present as we want"
46- when: >-
47- trigger is defined
48- and trigger == code
49- enabled: true
50- prepare+:
51- - name: Enable repositories and prepare machine for tests
52- how: shell
53- script: |
54- cd /root/$REPO_NAME
55- git status
56- ansible-playbook --connection=local --inventory=127.0.0.1, --limit=127.0.0.1 tmt-testing-plan-c10s.yml -vvv
57- discover:
58- how: shell
59- tests:
60- - name: Run sclorg-testing-farm tests
61- framework: shell
62- test: cd /root/$REPO_NAME && git status && OS="$OS" ansible-playbook tmt-sclorg-testing-plan.yml
63- duration: 1h
0 commit comments