diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index 4464a02c4779542c1e56d9600f649b103c55757a..e4e1868f10fcb716ad937ddee4e26d0a57e4424f 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -41,7 +41,7 @@ variables: # This variable should hold a token of a ServiceAccount allowed to edit the OKD project (specified by $PROJECT variable) oc login --token="${OKD_TOKEN}" --server="${OKD_SERVER}" oc project "${PROJECT}" - helm upgrade "${RELEASE_NAME}" ./chart -f ./chart/values-override.yaml --set route.host=${PAAS_URL},global.nginx-redirect.legacyurl=${LEGACY_URL},global.nginx-redirect.paasurl=${PAAS_URL} --install | oc apply --prune-whitelist route.openshift.io/v1/Route --prune -l "app.kubernetes.io/instance=${RELEASE_NAME}" -f - + helm upgrade "${RELEASE_NAME}" ./chart -f ./chart/values-override.yaml --set route.host=${PAAS_URL},global.nginx-redirect.legacyurl=${LEGACY_URL},global.nginx-redirect.paasurl=${PAAS_URL} --install --atomic oc start-build "${RELEASE_NAME}-artifacts" --from-dir=public/ Build static site content: