Commit 2473bcba authored by Walter D's avatar Walter D
Browse files

updated ibm.yml and ibm-deploy-only with ubi8 image label

parent 822963f6
Pipeline #63087 passed with stage
in 8 seconds
......@@ -22,7 +22,7 @@ ibm-deploy:
- cp -v ${IBM_BUILD_SUBDIR}/target/*-spring-boot.jar "$IBM_DEPLOY_DIR"
- cd "$IBM_DEPLOY_DIR"
- oc project $IBM_OPENSHIFT_PROJECT
- oc get bc/$CI_PROJECT_NAME 2> /dev/null || oc new-build --name $CI_PROJECT_NAME --binary --strategy source --image-stream openshift/java:8
- oc get bc/$CI_PROJECT_NAME 2> /dev/null || oc new-build --name $CI_PROJECT_NAME --binary --strategy source --image-stream openshift/ubi8-openjdk-8:1.3-15
- oc start-build $CI_PROJECT_NAME --from-dir=. --follow
- oc get service $CI_PROJECT_NAME 2> /dev/null || oc new-app $CI_PROJECT_NAME
rules:
......
......@@ -22,7 +22,7 @@ ibm-deploy:
- cp -v ${IBM_BUILD_SUBDIR}/target/*-spring-boot.jar "$IBM_DEPLOY_DIR"
- cd "$IBM_DEPLOY_DIR"
- oc project $IBM_OPENSHIFT_PROJECT
- oc get bc/$CI_PROJECT_NAME 2> /dev/null || oc new-build --name $CI_PROJECT_NAME --binary --strategy source --image-stream openshift/java:8
- oc get bc/$CI_PROJECT_NAME 2> /dev/null || oc new-build --name $CI_PROJECT_NAME --binary --strategy source --image-stream openshift/ubi8-openjdk-8:1.3-15
- oc start-build $CI_PROJECT_NAME --from-dir=. --follow
- oc get service $CI_PROJECT_NAME 2> /dev/null || oc new-app $CI_PROJECT_NAME
rules:
......
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