update modulemd etc

This commit is contained in:
Adam Samalik 2023-02-23 11:47:58 +00:00
commit daf8ca50fe
3 changed files with 111 additions and 0 deletions

8
gating.yaml Normal file
View File

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

91
jmc.yaml Normal file
View File

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

12
tests/tests.yml Normal file
View File

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