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

Update .gitlab-ci.yml

parent 0512ca59
Pipeline #1910 failed with stages
in 16 seconds
......@@ -17,6 +17,13 @@ variables:
#OPENSHIFT_TOKEN:
#OPENSHIFT_PROJECT: python
.login_to_okd: &login_to_okd
- oc login "$OPENSHIFT_SERVER" --token="$OPENSHIFT_TOKEN" --insecure-skip-tls-verify
- 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 new-build --dockerfile="$DOCKER_FILE" --strategy=docker --to="$APP"
build-proc1:
stage: build
variables:
......@@ -39,13 +46,6 @@ build-proc2:
script:
- *build_image
.login_to_okd: &login_to_okd
- oc login "$OPENSHIFT_SERVER" --token="$OPENSHIFT_TOKEN" --insecure-skip-tls-verify
- 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 new-build --dockerfile="$DOCKER_FILE" --strategy=docker --to="$APP"
test1:
stage: test
before_script: []
......
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