Commit 4e48f1e3 authored by Daniel Perez's avatar Daniel Perez
Browse files

Adding correct script to deploy seismic store service into ibm

parent 9798417a
Pipeline #24053 passed with stage
in 14 seconds
...@@ -7,9 +7,11 @@ ibm_deploy: ...@@ -7,9 +7,11 @@ ibm_deploy:
needs: ["compile-and-unit-test"] needs: ["compile-and-unit-test"]
before_script: before_script:
- oc login $IBM_OPENSHIFT_URL -u apikey -p $IBM_OPENSHIFT_TOKEN - oc login $IBM_OPENSHIFT_URL -u apikey -p $IBM_OPENSHIFT_TOKEN
script:
# Replace values in config file
- oc project $IBM_OPENSHIFT_PROJECT - oc project $IBM_OPENSHIFT_PROJECT
script:
- oc get bc/$CI_PROJECT_NAME 2> /dev/null || oc new-build --name $CI_PROJECT_NAME --binary --strategy source --image-stream openshift/nodejs:10-SCL
- oc start-build $CI_PROJECT_NAME --from-dir=. --follow
- oc get service $CI_PROJECT_NAME 2> /dev/null || oc new-app $CI_PROJECT_NAME
only: only:
variables: variables:
- $IBM == 'true' - $IBM == 'true'
...@@ -19,7 +21,6 @@ ibm_test: ...@@ -19,7 +21,6 @@ ibm_test:
stage: integration stage: integration
needs: ["ibm_deploy"] needs: ["ibm_deploy"]
script: script:
# Replace values in config file
- echo "test" - echo "test"
only: only:
variables: variables:
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment