This repository contains the various demonstration for software factory features.
Visit the Software Factory documentation page.
First, clone this repo. Then, from a fresh cluster:
- Install the OpenShift Pipelines Operator into all namespaces
- Install Sonatype Nexus IQ Operatore
- Install the Nexus IQ namespace oc apply -f components/sonatype/sonatype-namespace.yml
- Insall the Nexus IQ Operator Subscription oc apply -f components/sonatype/nexus-iq-sever/nexus-iq-server-subscription.yml
- Insall an Nexus IQ Operator instance oc apply -f components/sonatype/nexus-iq-sever/nexus-iq-server-instance.yml
- Insall an Nexus IQ Operator route oc apply -f components/sonatype/nexus-iq-sever/nexus-iq-server-route.yml
 
- Install the Nexus IQ namespace 
- Access the Nexus IQ Server via your route
- Login with default credentials [un: admin, pw: admin123]
- Upload the Not For Resale (NFR) License
- Create an organization called Red Hat
- Settings -> Automatic Applications
- Turn on Automatic Application Creation
- Select Red Hatas Parent Organization
 
- Turn on 
 
- Install Tekton task for Nexus IQ Scan oc apply -f https://raw.githubusercontent.com/tektoncd/catalog/main/task/nexus-lifecycle-scan/0.1/nexus-lifecycle-scan.yml
- Install WebGoat Sample Pipeline (components/sonatype/tekton-pipelines-samples/web-goat-pipeline)
- First, the two parameters in the pipeline CRD
- [REPLACE-WITH-NEXUS-IQ_SERVER] - Replace with the route created earlier
- [USER:PASSWORD] - Use the default of admin:admin123
 
- Invoke the updated pipline CRD oc apply -f components/sonatype/tekton-pipelines-samples/web-goat-pipeline
 
- First, the two parameters in the pipeline CRD
- Invoke a pipeline run. Make sure to selevt the VolumeClaimTemplate for the storage option