diff --git a/gating.yaml b/gating.yaml new file mode 100644 index 0000000..6985029 --- /dev/null +++ b/gating.yaml @@ -0,0 +1,6 @@ +--- !Policy +product_versions: + - rhel-8 +decision_context: osci_compose_gate +rules: + - !PassingTestCaseRule {test_case_name: osci.brew-build.tier0.functional} diff --git a/tests/pom.xml b/tests/pom.xml new file mode 100644 index 0000000..a61e35b --- /dev/null +++ b/tests/pom.xml @@ -0,0 +1,92 @@ + + + pom + 4.0.0 + + io.prometheus + parent-tests + 0.6.0 + + Prometheus Java Suite (Tests) + http://github.com/prometheus/client_java + + + + junit + junit + 4.10 + test + + + io.prometheus + simpleclient + 0.6.0 + test + + + io.prometheus + simpleclient + 0.6.0 + tests + test + + + io.prometheus + simpleclient_common + 0.6.0 + test + + + io.prometheus + simpleclient_common + 0.6.0 + tests + test + + + io.prometheus + simpleclient_hotspot + 0.6.0 + test + + + io.prometheus + simpleclient_hotspot + 0.6.0 + tests + test + + + io.prometheus + simpleclient_httpserver + 0.6.0 + test + + + io.prometheus + simpleclient_httpserver + 0.6.0 + tests + test + + + + + + + org.apache.maven.plugins + maven-surefire-plugin + 2.15 + + + io.prometheus:simpleclient + io.prometheus:simpleclient_common + io.prometheus:simpleclient_hotspot + io.prometheus:simpleclient_httpserver + + + + + + + diff --git a/tests/tests.yml b/tests/tests.yml new file mode 100644 index 0000000..617e462 --- /dev/null +++ b/tests/tests.yml @@ -0,0 +1,15 @@ +--- +- hosts: localhost + roles: + - role: standard-test-basic + tags: + - classic + required_packages: + - prometheus-simpleclient-java + - prometheus-simpleclient-java-tests + - maven-local + + tests: + - xmvn_installed_rpm_surefire: + dir: . + run: "xmvn surefire:test"