From 19819a75e9c0a7259ecc3ef2837ddcfe5ecd61e6 Mon Sep 17 00:00:00 2001 From: Ovidio Mallo Date: Mon, 2 Jan 2017 16:00:22 +0100 Subject: [PATCH] Include the creation of the Jenkins instance --- infra/setup.sh | 8 ++++++++ 1 file changed, 8 insertions(+) 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