- a
- b
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
--- | |
apiVersion: v1 | |
kind: Template | |
metadata: | |
name: roles | |
parameters: | |
objects: | |
- apiVersion: v1 | |
kind: RoleBinding | |
groupNames: [] |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
--- | |
apiVersion: v1 | |
kind: Template | |
metadata: | |
name: ocp-project-provisioner-template | |
parameters: | |
- name: "PIPELINES_NAMESPACE" | |
displayName: "Pipelines Namespace" | |
description: "Name of the namespace where the ci-cd project is (where jenkins is located)" | |
required: true |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
node ('maven'){ | |
stage ('test'){ | |
sh 'mvn -v' | |
} | |
} |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# /bin/bash | |
profiles=($(tuned-adm list | awk 'NR > 1 {print $2}')) | |
echo -e "\n" | |
for ((i=0; i < ${#profiles}; i++)) | |
do | |
echo $i -- ${profiles[$i]} | |
done |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ | |
"kind": "List", | |
"apiVersion": "v1", | |
"metadata": { | |
"name": "nexus" | |
}, | |
"items": [ | |
{ | |
"kind": "PersistentVolumeClaim", | |
"apiVersion": "v1", |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ | |
"name": "jenkins template unit test", | |
"openshift_clusters": [ | |
{ | |
"openshift_host_env": "master1.s2.core.rht-labs.com:8443", | |
"openshift_resources": { | |
"projects": [ | |
{ | |
"name": "template-dev", | |
"display_name": "Jenkins Template - Dev", |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ | |
"kind": "Template", | |
"apiVersion": "v1", | |
"metadata": { | |
"name": "jenkins-s2i", | |
"annotations": { | |
"openshift.io/display-name": "Jenkins S2I", | |
"description": "Jenkins S2I build config to create a Jenkins image with your configuration baked in.", | |
"iconClass": "icon-jenkins", | |
"tags": "instant-app,jenkins" |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ | |
"kind": "Template", | |
"apiVersion": "v1", | |
"metadata": { | |
"name": "jenkins-s2i", | |
"annotations": { | |
"openshift.io/display-name": "Jenkins S2I", | |
"description": "Jenkins S2I build config to create a Jenkins image with your configuration baked in.", | |
"iconClass": "icon-jenkins", | |
"tags": "instant-app,jenkins" |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ | |
"openshift_clusters": [ | |
{ | |
"openshift_resources": { | |
"projects": [ | |
{ | |
"name": "fsi-dev", | |
"display_name": "FSI Account Onboarding Development Environment", | |
"environment_name": "build", | |
"apps":[ |