From f897be952cb53bda80975a51694d9b01a6cc5907 Mon Sep 17 00:00:00 2001 From: Ovidio Mallo Date: Mon, 2 Jan 2017 14:53:35 +0100 Subject: [PATCH] Some cleanup --- infra/setup.sh | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/infra/setup.sh b/infra/setup.sh index dbf96ef..9b49fdd 100644 --- a/infra/setup.sh +++ b/infra/setup.sh @@ -3,17 +3,17 @@ sudo htpasswd -b /etc/origin/master/htpasswd dev1 dev1 sudo htpasswd -b /etc/origin/master/htpasswd test1 test1 -oc login -u admin -p admin -oc new-project cicd -oc policy add-role-to-user edit system:serviceaccount:cicd:jenkins -n rubex-dev -oc policy add-role-to-user edit system:serviceaccount:cicd:jenkins -n rubex-test - oc login -u system:admin oc project openshift oc delete is oc-jenkins oc create is oc-jenkins oc tag --source=docker --scheduled=true omallo/oc-jenkins:latest openshift/oc-jenkins:latest +oc login -u admin -p admin +oc new-project cicd +oc policy add-role-to-user edit system:serviceaccount:cicd:jenkins -n rubex-dev +oc policy add-role-to-user edit system:serviceaccount:cicd:jenkins -n rubex-test + oc login -u admin -p admin oc new-project rubex-dev oc policy add-role-to-user edit dev1 -n rubex-dev