Commit 43a26af1 authored by Walter D's avatar Walter D
Browse files

ci: added release promote stage

parent 502936f8
Pipeline #95021 failed with stages
in 12 minutes and 28 seconds
......@@ -88,3 +88,15 @@ sdms_ibm-preship-promote:
- oc start-build og-$SDMS_PROJECT_NAME-ibm
rules:
- if: '$CI_COMMIT_BRANCH == $IBM_PRESHIP_RELEASE_BRANCH'
sdms_ibm-preship-promote-release:
extends: .ibm
stage: publish
needs: ['sdms_ibm-test']
script:
- cd app/$SDMS_SERVICE
- oc login --token=$IBM_PRESHIP_OPENSHIFT_TOKEN --server=$IBM_PRESHIP_OPENSHIFT_URL
- oc project $IBM_OPENSHIFT_PRESHIP_PROJECT
- oc start-build og-$SDMS_PROJECT_NAME-monthly-ibm --commit=$CI_COMMIT_SHA --follow
rules:
- if: '$CI_COMMIT_BRANCH == $IBM_PRESHIP_RELEASE_BRANCH'
Supports Markdown
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