Loading capif/templates/cd-deploy-ocf.gitlab-ci.yml +9 −9 Original line number Diff line number Diff line Loading @@ -5,7 +5,7 @@ stages: - delete_ocf_dev variables: NAMESPACE_DEV: "ocf-dev-$CI_PROJECT_PATH_SLUG" NAMESPACE_DEV: "ocf-dev-$CI_ENVIRONMENT_SLUG" NAMESPACE_STAGING: "ocf-staging" DOMAIN_STAGING: staging.int DOMAIN_DEV: developer.int Loading Loading @@ -47,7 +47,7 @@ deploy_ocf_staging: <<: *staging_common environment: name: review/staging url: https://capif-$CI_PROJECT_PATH_SLUG.$DOMAIN_STAGING url: https://capif-$CI_ENVIRONMENT_SLUG.$DOMAIN_STAGING on_stop: delete_ocf_staging auto_stop_in: 3 day # rules: Loading Loading @@ -77,10 +77,10 @@ deploy_ocf_staging: - echo "### updating capif###" # - helm uninstall -n $NAMESPACE_STAGING ocf-staging || true # - helm upgrade --install -n $NAMESPACE_STAGING ocf-staging helm/capif/ \ # --set nginx.nginx.env.capifHostname=capif-$CI_PROJECT_PATH_SLUG.$DOMAIN_STAGING \ # --set nginx.nginx.env.registerHostname=register-$CI_PROJECT_PATH_SLUG.$DOMAIN_STAGING \ # --set nginx.nginx.env.capifHostname=capif-$CI_ENVIRONMENT_SLUG.$DOMAIN_STAGING \ # --set nginx.nginx.env.registerHostname=register-$CI_ENVIRONMENT_SLUG.$DOMAIN_STAGING \ # --set monitoring.prometheus.enable="" \ # --set monitoring.grafana.ingress.hosts[0].host="grafana-$CI_PROJECT_PATH_SLUG.$DOMAIN_STAGING" \ # --set monitoring.grafana.ingress.hosts[0].host="grafana-$CI_ENVIRONMENT_SLUG.$DOMAIN_STAGING" \ # --set monitoring.grafana.ingress.hosts[0].paths[0].path="/" \ # --set monitoring.grafana.ingress.hosts[0].paths[0].pathType="Prefix" \ # --set monitoring.grafana.env.prometheusURL=http://prometheus.ocf.pre-production \ Loading Loading @@ -112,7 +112,7 @@ deploy_ocf_dev: <<: *dev_common environment: name: review/$CI_COMMIT_REF_SLUG url: https://capif-$CI_PROJECT_PATH_SLUG.$DOMAIN_DEV url: https://capif-$CI_ENVIRONMENT_SLUG.$DOMAIN_DEV on_stop: delete_ocf_dev auto_stop_in: 3 day # rules: Loading @@ -135,10 +135,10 @@ deploy_ocf_dev: - echo "### updating capif###" - helm uninstall -n $NAMESPACE_DEV ocf-developer || true - helm upgrade --install -n $NAMESPACE_DEV ocf-developer helm/capif/ \ --set nginx.nginx.env.capifHostname=capif-$CI_PROJECT_PATH_SLUG.$DOMAIN_DEV \ --set nginx.nginx.env.registerHostname=register-$CI_PROJECT_PATH_SLUG.$DOMAIN_DEV \ --set nginx.nginx.env.capifHostname=capif-$CI_ENVIRONMENT_SLUG.$DOMAIN_DEV \ --set nginx.nginx.env.registerHostname=register-$CI_ENVIRONMENT_SLUG.$DOMAIN_DEV \ --set monitoring.prometheus.enable="" \ --set monitoring.grafana.ingress.hosts[0].host="grafana-$CI_PROJECT_PATH_SLUG.$DOMAIN_PROD" \ --set monitoring.grafana.ingress.hosts[0].host="grafana-$CI_ENVIRONMENT_SLUG.$DOMAIN_PROD" \ --set monitoring.grafana.ingress.hosts[0].paths[0].path="/" \ --set monitoring.grafana.ingress.hosts[0].paths[0].pathType="Prefix" \ --set monitoring.grafana.env.prometheusURL=http://prometheus.ocf.pre-production \ Loading Loading
capif/templates/cd-deploy-ocf.gitlab-ci.yml +9 −9 Original line number Diff line number Diff line Loading @@ -5,7 +5,7 @@ stages: - delete_ocf_dev variables: NAMESPACE_DEV: "ocf-dev-$CI_PROJECT_PATH_SLUG" NAMESPACE_DEV: "ocf-dev-$CI_ENVIRONMENT_SLUG" NAMESPACE_STAGING: "ocf-staging" DOMAIN_STAGING: staging.int DOMAIN_DEV: developer.int Loading Loading @@ -47,7 +47,7 @@ deploy_ocf_staging: <<: *staging_common environment: name: review/staging url: https://capif-$CI_PROJECT_PATH_SLUG.$DOMAIN_STAGING url: https://capif-$CI_ENVIRONMENT_SLUG.$DOMAIN_STAGING on_stop: delete_ocf_staging auto_stop_in: 3 day # rules: Loading Loading @@ -77,10 +77,10 @@ deploy_ocf_staging: - echo "### updating capif###" # - helm uninstall -n $NAMESPACE_STAGING ocf-staging || true # - helm upgrade --install -n $NAMESPACE_STAGING ocf-staging helm/capif/ \ # --set nginx.nginx.env.capifHostname=capif-$CI_PROJECT_PATH_SLUG.$DOMAIN_STAGING \ # --set nginx.nginx.env.registerHostname=register-$CI_PROJECT_PATH_SLUG.$DOMAIN_STAGING \ # --set nginx.nginx.env.capifHostname=capif-$CI_ENVIRONMENT_SLUG.$DOMAIN_STAGING \ # --set nginx.nginx.env.registerHostname=register-$CI_ENVIRONMENT_SLUG.$DOMAIN_STAGING \ # --set monitoring.prometheus.enable="" \ # --set monitoring.grafana.ingress.hosts[0].host="grafana-$CI_PROJECT_PATH_SLUG.$DOMAIN_STAGING" \ # --set monitoring.grafana.ingress.hosts[0].host="grafana-$CI_ENVIRONMENT_SLUG.$DOMAIN_STAGING" \ # --set monitoring.grafana.ingress.hosts[0].paths[0].path="/" \ # --set monitoring.grafana.ingress.hosts[0].paths[0].pathType="Prefix" \ # --set monitoring.grafana.env.prometheusURL=http://prometheus.ocf.pre-production \ Loading Loading @@ -112,7 +112,7 @@ deploy_ocf_dev: <<: *dev_common environment: name: review/$CI_COMMIT_REF_SLUG url: https://capif-$CI_PROJECT_PATH_SLUG.$DOMAIN_DEV url: https://capif-$CI_ENVIRONMENT_SLUG.$DOMAIN_DEV on_stop: delete_ocf_dev auto_stop_in: 3 day # rules: Loading @@ -135,10 +135,10 @@ deploy_ocf_dev: - echo "### updating capif###" - helm uninstall -n $NAMESPACE_DEV ocf-developer || true - helm upgrade --install -n $NAMESPACE_DEV ocf-developer helm/capif/ \ --set nginx.nginx.env.capifHostname=capif-$CI_PROJECT_PATH_SLUG.$DOMAIN_DEV \ --set nginx.nginx.env.registerHostname=register-$CI_PROJECT_PATH_SLUG.$DOMAIN_DEV \ --set nginx.nginx.env.capifHostname=capif-$CI_ENVIRONMENT_SLUG.$DOMAIN_DEV \ --set nginx.nginx.env.registerHostname=register-$CI_ENVIRONMENT_SLUG.$DOMAIN_DEV \ --set monitoring.prometheus.enable="" \ --set monitoring.grafana.ingress.hosts[0].host="grafana-$CI_PROJECT_PATH_SLUG.$DOMAIN_PROD" \ --set monitoring.grafana.ingress.hosts[0].host="grafana-$CI_ENVIRONMENT_SLUG.$DOMAIN_PROD" \ --set monitoring.grafana.ingress.hosts[0].paths[0].path="/" \ --set monitoring.grafana.ingress.hosts[0].paths[0].pathType="Prefix" \ --set monitoring.grafana.env.prometheusURL=http://prometheus.ocf.pre-production \ Loading