Commit 03025797 authored by Yori Fournier's avatar Yori Fournier
Browse files

added app creation in deploy

parent b9ee1a5f
Pipeline #1906 failed with stages
in 17 seconds
......@@ -22,6 +22,7 @@ variables:
- oc project "$CI_PROJECT_NAME-$CI_PROJECT_ID" 2> /dev/null || oc new-project "$CI_PROJECT_NAME-$CI_PROJECT_ID"
.build_image: &build_image
- "oc get services $APP 2> /dev/null || oc new-app . --name=$APP --strategy=docker"
- "oc start-build $APP --from-file=$DOCKER_FILE --follow || sleep 3s && oc start-build $APP --from-file=$DOCKER_FILE --follow"
build-proc1:
......
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