commit daf8ca50fe4265d49f8e1d68a87b9a36b05b4edd Author: Adam Samalik Date: Thu Feb 23 11:47:58 2023 +0000 update modulemd etc diff --git a/gating.yaml b/gating.yaml new file mode 100644 index 0000000..7f9f40a --- /dev/null +++ b/gating.yaml @@ -0,0 +1,8 @@ +--- !Policy +product_versions: + - rhel-8 +decision_context: osci_compose_gate_modules +subject_type: redhat-module +rules: + - !PassingTestCaseRule {test_case_name: baseos-ci.redhat-module.tier0.functional} + diff --git a/jmc.yaml b/jmc.yaml new file mode 100644 index 0000000..3e68a9b --- /dev/null +++ b/jmc.yaml @@ -0,0 +1,91 @@ +document: modulemd +version: 2 +data: + stream: rhel8 + summary: Java Mission Control is a profiling and diagnostics tool for the Hotspot JVM + description: >- + Java Mission Control is a powerful profiler for HotSpot JVMs and has an + advanced set of tools that enables efficient and detailed analysis of the + extensive data collected by Java Flight Recorder. The tool chain enables + developers and administrators to collect and analyze data from Java + applications running locally or deployed in production environments. + license: + module: + - GPL + profiles: + common: + rpms: + - jmc + core: + rpms: + - jmc-core + dependencies: + - buildrequires: + platform: [el8] + javapackages-tools: [201801] + tycho: [rhel8] + requires: + platform: [el8] + api: + rpms: + - jmc-core + filter: + rpms: + - mvel + - mvel-javadoc + components: + rpms: + directory-maven-plugin: + buildorder: 0 + ref: stream-rhel8-rhel-8.8.0 + rationale: > + Dependency of jmc and jaf. + arches: [x86_64] + ee4j-parent: + buildorder: 0 + ref: stream-rhel8-rhel-8.8.0 + arches: [x86_64] + rationale: > + Dependency of jaf. + mvel: + buildorder: 0 + ref: stream-rhel8-rhel-8.8.0 + arches: [x86_64] + rationale: > + Dependency of lz4-java. + owasp-java-encoder: + buildorder: 0 + ref: stream-rhel8-rhel-8.8.0 + arches: [x86_64] + rationale: > + Dependency of jmc-core. + jaf: + buildorder: 1 + ref: stream-rhel8-rhel-8.8.0 + arches: [x86_64] + rationale: > + Dependency of jmc. + lz4-java: + buildorder: 1 + ref: stream-rhel8-rhel-8.8.0 + arches: [x86_64] + rationale: > + Dependency of jmc-core + HdrHistogram: + buildorder: 2 + ref: stream-rhel8-rhel-8.8.0 + arches: [x86_64] + rationale: > + Dependency of jmc. + jmc-core: + buildorder: 2 + ref: stream-rhel8-rhel-8.8.0 + arches: [x86_64] + rationale: > + Core API. Dependency of jmc. + jmc: + buildorder: 3 + ref: stream-rhel8-rhel-8.8.0 + arches: [x86_64] + rationale: > + Standalone application. diff --git a/tests/tests.yml b/tests/tests.yml new file mode 100644 index 0000000..65b691b --- /dev/null +++ b/tests/tests.yml @@ -0,0 +1,12 @@ +--- +- hosts: localhost + roles: + - role: standard-test-basic + tags: + - classic + tests: + - jmcVersion: + dir: ~ + run: set -ex; useradd myuser; su myuser -c 'mkdir -p /home/myuser/'; su myuser -c '(echo "props;" && echo -e "exit;y\n") | jmc -noexit -console -nosplash | grep eclipse.product' + required_packages: + - jmc \ No newline at end of file