diff --git a/infra/setup.sh b/infra/setup.sh index 9b49fdd..be06e8b 100644 --- a/infra/setup.sh +++ b/infra/setup.sh @@ -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