Skip to content

Commit

Permalink
Move variables to GitLab CI settings
Browse files Browse the repository at this point in the history
  • Loading branch information
derkoe committed May 31, 2021
1 parent 8d6838d commit c969d81
Showing 1 changed file with 1 addition and 8 deletions.
9 changes: 1 addition & 8 deletions .gitlab-ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,14 +9,7 @@ stages:
- cleanup

variables:
OPENSHIFT_SERVER: https://nonprod1-manage.ocp.porscheinformatik.cloud:8443/
OPENSHIFT_DOMAIN: nonprod1.ocp.porscheinformatik.cloud
OPENSHIFT_PROJECT: poi-user-koc
CI: "true"
# Configure these variables in Secure Variables:
# DOCKER_REGISTRY_USER
# DOCKER_REGISTRY_PASSWORD
# OPENSHIFT_TOKEN

build:
stage: build
Expand Down Expand Up @@ -70,7 +63,7 @@ code_quality:
echo "ash-$name"
}
script:
- helm3 repo add porscheinformatik https://helm-charts.int.ocp.porscheinformatik.cloud
- helm3 repo add porscheinformatik $HELM_CHART_REPO
- helm3 upgrade --install --atomic --history-max 5 --namespace ${OPENSHIFT_PROJECT} $(deploy_name) -f deploy/${HELM_VALUES} --set appVersion="v`date +'%Y%m%d-%H%M%S'`" --set image.tag=$CI_COMMIT_REF_SLUG --set route.host=$APP_HOST --set postgresql.postgresPassword="${POSTGRESQL_PASSWORD}" porscheinformatik/web-application

deploy-review:
Expand Down

0 comments on commit c969d81

Please sign in to comment.