Skip to content

Commit 26ebc6d

Browse files
author
Alan Christie
committed
- Now logs in and moves to the required project
1 parent 1cb4ef0 commit 26ebc6d

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

deploy.sh

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,10 +3,12 @@
33
# A simple deployment script for OpenShift.
44
# It is assumed that your OpenShift Squonk application has been deployed
55
# and that you are running this from the Squonk project/namespace
6-
# and have logged in as an appropriate user.
6+
# and have logged in as an appropriate user and have run `source setenv.sh`
77

88
set -e pipefail
99

10+
oc login -u $OC_ADMIN
11+
oc project $OC_PROJECT
1012
oc create -f post-service-descriptors.yaml
1113

1214
echo "Squonk pipelines deployment is underway..."

0 commit comments

Comments
 (0)