update modulemd etc
This commit is contained in:
		
						commit
						4f3f774fed
					
				
							
								
								
									
										11
									
								
								gating.yaml
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										11
									
								
								gating.yaml
									
									
									
									
									
										Normal 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} | ||||
							
								
								
									
										45
									
								
								log4j.yaml
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										45
									
								
								log4j.yaml
									
									
									
									
									
										Normal file
									
								
							| @ -0,0 +1,45 @@ | ||||
| --- | ||||
| document: modulemd | ||||
| version: 2 | ||||
| data: | ||||
|     stream: 2 | ||||
|     summary: Java logging library | ||||
|     description: >- | ||||
|         Log4j is a popular Java logging library that allows the programmer | ||||
|         to output log statements to a variety of output targets. | ||||
|     license: | ||||
|         module: | ||||
|             - MIT | ||||
|     dependencies: | ||||
|         - buildrequires: | ||||
|               javapackages-tools: [201902] | ||||
|               platform: [el8] | ||||
|           requires: | ||||
|               platform: [el8] | ||||
|     profiles: | ||||
|         common: | ||||
|             rpms: | ||||
|                 - log4j | ||||
|     api: | ||||
|         rpms: | ||||
|             - log4j | ||||
|             - log4j-jcl | ||||
|             - log4j-slf4j | ||||
|     filter: | ||||
|         rpms: | ||||
|             - disruptor-javadoc | ||||
|             - jctools-javadoc | ||||
|     components: | ||||
|         rpms: | ||||
|             disruptor: | ||||
|                 buildorder: 10 | ||||
|                 ref: stream-log4j-2-rhel-8.8.0 | ||||
|                 rationale: Dependency of log4j. | ||||
|             jctools: | ||||
|                 buildorder: 10 | ||||
|                 ref: stream-log4j-2-rhel-8.8.0 | ||||
|                 rationale: Dependency of log4j. | ||||
|             log4j: | ||||
|                 buildorder: 20 | ||||
|                 ref: stream-log4j-2-rhel-8.8.0 | ||||
|                 rationale: Module API. | ||||
							
								
								
									
										11
									
								
								plans/Smoke.java
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										11
									
								
								plans/Smoke.java
									
									
									
									
									
										Normal 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
									
								
							
							
						
						
									
										8
									
								
								plans/smoke.fmf
									
									
									
									
									
										Normal 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 | ||||
		Loading…
	
		Reference in New Issue
	
	Block a user