Compare commits

...

No commits in common. "c8" and "c10s" have entirely different histories.
c8 ... c10s

7 changed files with 115 additions and 2 deletions

2
.gitignore vendored
View File

@ -1 +1 @@
SOURCES/parent-0.6.0.tar.gz
/parent-0.6.0.tar.gz

View File

@ -1 +0,0 @@
8e5c2c4cc0625c29e7995bfecb534b263922af46 SOURCES/parent-0.6.0.tar.gz

6
gating.yaml Normal file
View File

@ -0,0 +1,6 @@
--- !Policy
product_versions:
- rhel-8
decision_context: osci_compose_gate
rules:
- !PassingTestCaseRule {test_case_name: osci.brew-build.tier0.functional}

1
sources Normal file
View File

@ -0,0 +1 @@
SHA512 (parent-0.6.0.tar.gz) = 4b204e31dd83924a6dcde2594d696e8bba5712100a503e3add91c62cc3bf1c8edd192dd4c90208494225ec34625e3511cc1781dcca341e9b3e7ef9af439d603c

92
tests/pom.xml Normal file
View File

@ -0,0 +1,92 @@
<?xml version='1.0' encoding='UTF-8'?>
<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
<packaging>pom</packaging>
<modelVersion>4.0.0</modelVersion>
<groupId>io.prometheus</groupId>
<artifactId>parent-tests</artifactId>
<version>0.6.0</version>
<name>Prometheus Java Suite (Tests)</name>
<url>http://github.com/prometheus/client_java</url>
<dependencies>
<dependency>
<groupId>junit</groupId>
<artifactId>junit</artifactId>
<version>4.10</version>
<scope>test</scope>
</dependency>
<dependency>
<groupId>io.prometheus</groupId>
<artifactId>simpleclient</artifactId>
<version>0.6.0</version>
<scope>test</scope>
</dependency>
<dependency>
<groupId>io.prometheus</groupId>
<artifactId>simpleclient</artifactId>
<version>0.6.0</version>
<classifier>tests</classifier>
<scope>test</scope>
</dependency>
<dependency>
<groupId>io.prometheus</groupId>
<artifactId>simpleclient_common</artifactId>
<version>0.6.0</version>
<scope>test</scope>
</dependency>
<dependency>
<groupId>io.prometheus</groupId>
<artifactId>simpleclient_common</artifactId>
<version>0.6.0</version>
<classifier>tests</classifier>
<scope>test</scope>
</dependency>
<dependency>
<groupId>io.prometheus</groupId>
<artifactId>simpleclient_hotspot</artifactId>
<version>0.6.0</version>
<scope>test</scope>
</dependency>
<dependency>
<groupId>io.prometheus</groupId>
<artifactId>simpleclient_hotspot</artifactId>
<version>0.6.0</version>
<classifier>tests</classifier>
<scope>test</scope>
</dependency>
<dependency>
<groupId>io.prometheus</groupId>
<artifactId>simpleclient_httpserver</artifactId>
<version>0.6.0</version>
<scope>test</scope>
</dependency>
<dependency>
<groupId>io.prometheus</groupId>
<artifactId>simpleclient_httpserver</artifactId>
<version>0.6.0</version>
<classifier>tests</classifier>
<scope>test</scope>
</dependency>
</dependencies>
<build>
<plugins>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-surefire-plugin</artifactId>
<version>2.15</version>
<configuration>
<dependenciesToScan>
<dependency>io.prometheus:simpleclient</dependency>
<dependency>io.prometheus:simpleclient_common</dependency>
<dependency>io.prometheus:simpleclient_hotspot</dependency>
<dependency>io.prometheus:simpleclient_httpserver</dependency>
</dependenciesToScan>
</configuration>
</plugin>
</plugins>
</build>
</project>

15
tests/tests.yml Normal file
View File

@ -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"