Include the creation of the Jenkins instance
This commit is contained in:
parent
f897be952c
commit
19819a75e9
1 changed files with 8 additions and 0 deletions
|
@ -24,6 +24,14 @@ oc new-project rubex-test
|
|||
oc policy add-role-to-user edit test1 -n rubex-test
|
||||
oc policy add-role-to-group system:image-puller system:serviceaccounts:rubex-test -n rubex-dev
|
||||
|
||||
oc process \
|
||||
-f https://raw.githubusercontent.com/openshift/origin/master/examples/jenkins/jenkins-ephemeral-template.json \
|
||||
-v MEMORY_LIMIT=2Gi \
|
||||
-v JENKINS_IMAGE_STREAM_TAG=oc-jenkins:latest \
|
||||
| oc apply -f -
|
||||
|
||||
# ---
|
||||
|
||||
oc login -u dev1 -p dev1
|
||||
oc project rubex-dev
|
||||
|
||||
|
|
Loading…
Reference in a new issue