From f71e2baf43203a66e3b1cac63a61580bfec143dc Mon Sep 17 00:00:00 2001 From: Adam Samalik Date: Thu, 29 Jun 2023 11:19:27 +0200 Subject: [PATCH] re-import sources as agreed with the maintainer --- .fmf/version | 1 + .gitignore | 30 ++++++++++++++++++++++++++++++ ci.fmf | 1 + gating.yaml | 13 +++++++++++++ plans/javapackages-jdk11.fmf | 12 ++++++++++++ plans/javapackages-jdk17.fmf | 12 ++++++++++++ plans/javapackages-jdk8.fmf | 12 ++++++++++++ plans/smoke-jdk11.fmf | 8 ++++++++ plans/smoke-jdk17.fmf | 8 ++++++++ plans/smoke-jdk8.fmf | 8 ++++++++ 10 files changed, 105 insertions(+) create mode 100644 .fmf/version create mode 100644 ci.fmf create mode 100644 gating.yaml create mode 100644 plans/javapackages-jdk11.fmf create mode 100644 plans/javapackages-jdk17.fmf create mode 100644 plans/javapackages-jdk8.fmf create mode 100644 plans/smoke-jdk11.fmf create mode 100644 plans/smoke-jdk17.fmf create mode 100644 plans/smoke-jdk8.fmf diff --git a/.fmf/version b/.fmf/version new file mode 100644 index 0000000..d00491f --- /dev/null +++ b/.fmf/version @@ -0,0 +1 @@ +1 diff --git a/.gitignore b/.gitignore index 63c2dd7..9eacfc9 100644 --- a/.gitignore +++ b/.gitignore @@ -1 +1,31 @@ +/results_* +/*.src.rpm + +/apache-maven-3.0-src.tar.gz +/apache-maven-3.0.2-src.tar.gz +/apache-maven-3.0.3-RC1-src.tar.gz +/apache-maven-3.0.3-src.tar.gz +/apache-maven-3.0.4-src.tar.gz +/apache-maven-3.0.5-src.tar.gz +/apache-maven-3.1.0-src.tar.gz +/apache-maven-3.1.1-src.tar.gz +/apache-maven-3.2.0-src.tar.gz +/apache-maven-3.2.1-src.tar.gz +/apache-maven-3.2.2-src.tar.gz +/apache-maven-3.2.3-src.tar.gz +/apache-maven-3.2.5-src.tar.gz +/apache-maven-3.3.0-src.tar.gz +/apache-maven-3.3.1-src.tar.gz +/apache-maven-3.3.3-src.tar.gz +/apache-maven-3.3.8-src.tar.gz +/apache-maven-3.3.9-src.tar.gz +/apache-maven-3.4.0-SNAPSHOT-src.tar.gz +/apache-maven-3.5.0-src.tar.gz +/apache-maven-3.5.2-src.tar.gz +/apache-maven-3.5.3-src.tar.gz +/apache-maven-3.5.4-src.tar.gz +/apache-maven-3.6.1-src.tar.gz +/apache-maven-3.6.2-src.tar.gz +/apache-maven-3.6.3-src.tar.gz +/apache-maven-3.8.4-src.tar.gz /apache-maven-3.8.5-src.tar.gz diff --git a/ci.fmf b/ci.fmf new file mode 100644 index 0000000..c5aa0e0 --- /dev/null +++ b/ci.fmf @@ -0,0 +1 @@ +resultsdb-testcase: separate diff --git a/gating.yaml b/gating.yaml new file mode 100644 index 0000000..24a4107 --- /dev/null +++ b/gating.yaml @@ -0,0 +1,13 @@ +--- !Policy +product_versions: + - fedora-* +decision_contexts: + - bodhi_update_push_testing + - bodhi_update_push_stable +rules: + - !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-jdk17.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-jdk17.functional} diff --git a/plans/javapackages-jdk11.fmf b/plans/javapackages-jdk11.fmf new file mode 100644 index 0000000..6bfdb67 --- /dev/null +++ b/plans/javapackages-jdk11.fmf @@ -0,0 +1,12 @@ +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 diff --git a/plans/javapackages-jdk17.fmf b/plans/javapackages-jdk17.fmf new file mode 100644 index 0000000..ae04747 --- /dev/null +++ b/plans/javapackages-jdk17.fmf @@ -0,0 +1,12 @@ +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 diff --git a/plans/javapackages-jdk8.fmf b/plans/javapackages-jdk8.fmf new file mode 100644 index 0000000..d35bc4e --- /dev/null +++ b/plans/javapackages-jdk8.fmf @@ -0,0 +1,12 @@ +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 diff --git a/plans/smoke-jdk11.fmf b/plans/smoke-jdk11.fmf new file mode 100644 index 0000000..4ad3c5f --- /dev/null +++ b/plans/smoke-jdk11.fmf @@ -0,0 +1,8 @@ +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 diff --git a/plans/smoke-jdk17.fmf b/plans/smoke-jdk17.fmf new file mode 100644 index 0000000..1200458 --- /dev/null +++ b/plans/smoke-jdk17.fmf @@ -0,0 +1,8 @@ +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 diff --git a/plans/smoke-jdk8.fmf b/plans/smoke-jdk8.fmf new file mode 100644 index 0000000..c83338c --- /dev/null +++ b/plans/smoke-jdk8.fmf @@ -0,0 +1,8 @@ +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