Compare commits

..

No commits in common. "c8-beta-stream-2" and "stream-log4j-2-rhel-8.10.0" have entirely different histories.

6 changed files with 33 additions and 3 deletions

0
.gitignore vendored
View File

View File

11
gating.yaml Normal file
View File

@ -0,0 +1,11 @@
--- !Policy
product_versions:
- rhel-8
decision_context: osci_compose_gate_modules
subject_type: redhat-module
rules:
- !PassingTestCaseRule {test_case_name: baseos-ci.redhat-module.other.functional}
# - !PassingTestCaseRule {test_case_name: baseos-ci.redhat-module.tier1.functional}
# - !PassingTestCaseRule {test_case_name: baseos-ci.redhat-module.tier2.functional}
# - !PassingTestCaseRule {test_case_name: baseos-ci.redhat-module.tier3.functional}
# - !PassingTestCaseRule {test_case_name: baseos-ci.redhat-module.acceptance-tier.functional}

View File

@ -33,13 +33,13 @@ data:
rpms:
disruptor:
buildorder: 10
ref: stream-log4j-2-rhel-8.8.0
ref: stream-log4j-2-rhel-8.10.0
rationale: Dependency of log4j.
jctools:
buildorder: 10
ref: stream-log4j-2-rhel-8.8.0
ref: stream-log4j-2-rhel-8.10.0
rationale: Dependency of log4j.
log4j:
buildorder: 20
ref: stream-log4j-2-rhel-8.8.0
ref: stream-log4j-2-rhel-8.10.0
rationale: Module API.

11
plans/Smoke.java Normal file
View File

@ -0,0 +1,11 @@
import org.apache.logging.log4j.*;
public class Smoke
{
public static void main(String[] args)
{
Logger log = LogManager.getLogger(Smoke.class);
log.error("Hello from Log4J");
System.out.println("SMOKE TEST COMPLETE");
}
}

8
plans/smoke.fmf Normal file
View File

@ -0,0 +1,8 @@
summary: Basic smoke test
prepare:
how: install
package: java-1.8.0-openjdk-devel
execute:
script:
- /usr/lib/jvm/java-1.8.0-openjdk/bin/javac -cp /usr/share/java/log4j/log4j-api.jar plans/Smoke.java
- /usr/lib/jvm/java-1.8.0-openjdk/bin/java -cp /usr/share/java/log4j/log4j-api.jar:/usr/share/java/log4j/log4j-core.jar:plans Smoke