Commit 87613a69 authored by Walter D's avatar Walter D
Browse files

added ubi8 java, python images labels

parent ab784d5d
Pipeline #65373 passed with stage
in 1 minute and 5 seconds
......@@ -39,7 +39,7 @@ ibm-deploy-devpri:
- cd "$IBM_DEPLOY_DIR"
- oc login --token=$IBM_PRIMARY_DEV_TOKEN --server=$IBM_PRIMARY_DEV_URL
- oc project $IBM_OPENSHIFT_DEVPRI_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:
......
......@@ -51,7 +51,7 @@ ibm-deploy-devpri:
- echo "IBM deploy Primary "
- oc login --token=$IBM_PRIMARY_DEV_TOKEN --server=$IBM_PRIMARY_DEV_URL
- oc project $IBM_OPENSHIFT_DEVPRI_PROJECT
- oc get bc/$CI_PROJECT_NAME 2> /dev/null || oc new-build --name $CI_PROJECT_NAME --binary --strategy source --image-stream openshift/python:3.8
- oc get bc/$CI_PROJECT_NAME 2> /dev/null || oc new-build --name $CI_PROJECT_NAME --binary --strategy source --image-stream openshift/python:3.8-ubi8
- 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:
......
......@@ -39,7 +39,7 @@ ibm-deploy-devpri:
- cd "$IBM_DEPLOY_DIR"
- oc login --token=$IBM_PRIMARY_DEV_TOKEN --server=$IBM_PRIMARY_DEV_URL
- oc project $IBM_OPENSHIFT_DEVPRI_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:
......
......@@ -66,7 +66,7 @@ ibm-deploy-devpri:
- echo "In IBM deploy"
- oc login --token=$IBM_PRIMARY_DEV_TOKEN --server=$IBM_PRIMARY_DEV_URL
- oc project $IBM_OPENSHIFT_DEVPRI_PROJECT
- oc get bc/$CI_PROJECT_NAME 2> /dev/null || oc new-build --name $CI_PROJECT_NAME --binary --strategy source --image-stream openshift/python:3.8
- oc get bc/$CI_PROJECT_NAME 2> /dev/null || oc new-build --name $CI_PROJECT_NAME --binary --strategy source --image-stream openshift/python:3.8-ubi8
- 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:
......
......@@ -39,7 +39,7 @@ ibm-deploy-devpri:
- cd "$IBM_DEPLOY_DIR"
- oc login --token=$IBM_PRIMARY_DEV_TOKEN --server=$IBM_PRIMARY_DEV_URL
- oc project $IBM_OPENSHIFT_DEVPRI_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