Commit df132f7f authored by Gokul Nagare's avatar Gokul Nagare
Browse files

preship stage added

parent a528f9d0
Pipeline #44637 passed with stage
in 17 seconds
......@@ -18,3 +18,14 @@ ibm-test:
paths:
- $INTEGRATION_TEST_DIR
expire_in: 1 week
ibm-preship-promote:
extends: .ibm
stage: publish
needs: ['ibm-test']
script:
- oc login --token=$IBM_PRESHIP_OPENSHIFT_TOKEN --server=$IBM_PRESHIP_OPENSHIFT_URL
- oc project $IBM_OPENSHIFT_PRESHIP_PROJECT
- oc start-build og-$CI_PROJECT_NAME-ibm
rules:
- if: '$CI_COMMIT_BRANCH == "master"'
\ No newline at end of file
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