Simplify test plans
Use inheritance to merge similar test plans.
This commit is contained in:
parent
856dee8844
commit
bd5e1ed4ab
12
gating.yaml
12
gating.yaml
@ -5,9 +5,9 @@ decision_contexts:
|
|||||||
- bodhi_update_push_testing
|
- bodhi_update_push_testing
|
||||||
- bodhi_update_push_stable
|
- bodhi_update_push_stable
|
||||||
rules:
|
rules:
|
||||||
- !PassingTestCaseRule {test_case_name: fedora-ci.koji-build./plans/smoke-jdk8.functional}
|
- !PassingTestCaseRule {test_case_name: fedora-ci.koji-build./plans/smoke/jdk8.functional}
|
||||||
- !PassingTestCaseRule {test_case_name: fedora-ci.koji-build./plans/smoke-jdk11.functional}
|
- !PassingTestCaseRule {test_case_name: fedora-ci.koji-build./plans/smoke/jdk11.functional}
|
||||||
- !PassingTestCaseRule {test_case_name: fedora-ci.koji-build./plans/smoke-jdk17.functional}
|
- !PassingTestCaseRule {test_case_name: fedora-ci.koji-build./plans/smoke/jdk17.functional}
|
||||||
- !PassingTestCaseRule {test_case_name: fedora-ci.koji-build./plans/javapackages-jdk8.functional}
|
- !PassingTestCaseRule {test_case_name: fedora-ci.koji-build./plans/javapackages/jdk8.functional}
|
||||||
- !PassingTestCaseRule {test_case_name: fedora-ci.koji-build./plans/javapackages-jdk11.functional}
|
- !PassingTestCaseRule {test_case_name: fedora-ci.koji-build./plans/javapackages/jdk11.functional}
|
||||||
- !PassingTestCaseRule {test_case_name: fedora-ci.koji-build./plans/javapackages-jdk17.functional}
|
- !PassingTestCaseRule {test_case_name: fedora-ci.koji-build./plans/javapackages/jdk17.functional}
|
||||||
|
@ -1,12 +0,0 @@
|
|||||||
summary:
|
|
||||||
Run javapackages-specific tests - OpenJDK 11
|
|
||||||
prepare:
|
|
||||||
how: install
|
|
||||||
exclude:
|
|
||||||
- maven-openjdk8
|
|
||||||
- maven-openjdk17
|
|
||||||
discover:
|
|
||||||
how: fmf
|
|
||||||
url: https://pagure.io/javapackages-validator-tests
|
|
||||||
execute:
|
|
||||||
how: tmt
|
|
@ -1,12 +0,0 @@
|
|||||||
summary:
|
|
||||||
Run javapackages-specific tests - OpenJDK 17
|
|
||||||
prepare:
|
|
||||||
how: install
|
|
||||||
exclude:
|
|
||||||
- maven-openjdk8
|
|
||||||
- maven-openjdk11
|
|
||||||
discover:
|
|
||||||
how: fmf
|
|
||||||
url: https://pagure.io/javapackages-validator-tests
|
|
||||||
execute:
|
|
||||||
how: tmt
|
|
@ -1,12 +0,0 @@
|
|||||||
summary:
|
|
||||||
Run javapackages-specific tests - OpenJDK 8
|
|
||||||
prepare:
|
|
||||||
how: install
|
|
||||||
exclude:
|
|
||||||
- maven-openjdk11
|
|
||||||
- maven-openjdk17
|
|
||||||
discover:
|
|
||||||
how: fmf
|
|
||||||
url: https://pagure.io/javapackages-validator-tests
|
|
||||||
execute:
|
|
||||||
how: tmt
|
|
29
plans/javapackages.fmf
Normal file
29
plans/javapackages.fmf
Normal file
@ -0,0 +1,29 @@
|
|||||||
|
discover:
|
||||||
|
how: fmf
|
||||||
|
url: https://pagure.io/javapackages-validator-tests
|
||||||
|
prepare:
|
||||||
|
how: install
|
||||||
|
exclude:
|
||||||
|
- maven-openjdk8
|
||||||
|
- maven-openjdk11
|
||||||
|
- maven-openjdk17
|
||||||
|
execute:
|
||||||
|
how: tmt
|
||||||
|
|
||||||
|
/jdk8:
|
||||||
|
summary: Run javapackages-specific tests (OpenJDK 8)
|
||||||
|
prepare+:
|
||||||
|
exclude-:
|
||||||
|
- maven-openjdk8
|
||||||
|
|
||||||
|
/jdk11:
|
||||||
|
summary: Run javapackages-specific tests (OpenJDK 11)
|
||||||
|
prepare+:
|
||||||
|
exclude-:
|
||||||
|
- maven-openjdk11
|
||||||
|
|
||||||
|
/jdk17:
|
||||||
|
summary: Run javapackages-specific tests (OpenJDK 17)
|
||||||
|
prepare+:
|
||||||
|
exclude-:
|
||||||
|
- maven-openjdk17
|
@ -1,8 +0,0 @@
|
|||||||
summary: Basic smoke test - OpenJDK 11
|
|
||||||
prepare:
|
|
||||||
how: install
|
|
||||||
exclude:
|
|
||||||
- maven-openjdk8
|
|
||||||
- maven-openjdk17
|
|
||||||
execute:
|
|
||||||
script: mvn -V dependency:get -Dartifact=junit:junit:4.12 && stat $HOME/.m2/repository/junit/junit/4.12/junit-4.12.jar
|
|
@ -1,8 +0,0 @@
|
|||||||
summary: Basic smoke test - OpenJDK 17
|
|
||||||
prepare:
|
|
||||||
how: install
|
|
||||||
exclude:
|
|
||||||
- maven-openjdk8
|
|
||||||
- maven-openjdk11
|
|
||||||
execute:
|
|
||||||
script: mvn -V dependency:get -Dartifact=junit:junit:4.12 && stat $HOME/.m2/repository/junit/junit/4.12/junit-4.12.jar
|
|
@ -1,8 +0,0 @@
|
|||||||
summary: Basic smoke test - OpenJDK 8
|
|
||||||
prepare:
|
|
||||||
how: install
|
|
||||||
exclude:
|
|
||||||
- maven-openjdk11
|
|
||||||
- maven-openjdk17
|
|
||||||
execute:
|
|
||||||
script: mvn -V dependency:get -Dartifact=junit:junit:4.12 && stat $HOME/.m2/repository/junit/junit/4.12/junit-4.12.jar
|
|
25
plans/smoke.fmf
Normal file
25
plans/smoke.fmf
Normal file
@ -0,0 +1,25 @@
|
|||||||
|
summary: Basic smoke test - OpenJDK 8
|
||||||
|
prepare:
|
||||||
|
how: install
|
||||||
|
exclude:
|
||||||
|
- maven-openjdk8
|
||||||
|
- maven-openjdk11
|
||||||
|
- maven-openjdk17
|
||||||
|
execute:
|
||||||
|
script:
|
||||||
|
- mvn -V dependency:get -Dartifact=junit:junit:4.12 && stat $HOME/.m2/repository/junit/junit/4.12/junit-4.12.jar
|
||||||
|
|
||||||
|
/jdk8:
|
||||||
|
prepare+:
|
||||||
|
exclude-:
|
||||||
|
- maven-openjdk8
|
||||||
|
|
||||||
|
/jdk11:
|
||||||
|
prepare+:
|
||||||
|
exclude-:
|
||||||
|
- maven-openjdk11
|
||||||
|
|
||||||
|
/jdk17:
|
||||||
|
prepare+:
|
||||||
|
exclude-:
|
||||||
|
- maven-openjdk17
|
Loading…
Reference in New Issue
Block a user