Commit 3e40cd0d authored by Yori Fournier's avatar Yori Fournier
Browse files

now just build

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