Skip to content
Snippets Groups Projects
Commit 29b06bba authored by Sophia Kuhlmann's avatar Sophia Kuhlmann
Browse files

Merge branch 'main' into production

parents f0a08434 86e4a597
No related branches found
No related merge requests found
......@@ -9,9 +9,7 @@ stages:
default:
before_script:
- set -eu
# env -0 | sort -z | tr '\0' '\n': Sort env output alphabetically, keeping multiline variables intact
# egrep: Remove sensitive information from the output of env
#- env -0 | sort -z | tr '\0' '\n' | egrep -ve '^(DOCKER_AUTH_CONFIG|GOOGLE_APPLICATION_CREDENTIALS)=.*'
# DANGER don't use `set -x` or print the environment via e.g. `env` in pipeline runs, this might leak credentials (has leaked them)
interruptible: true
tags:
- 1cpu-4gb # build on smaller machine
......@@ -79,14 +77,16 @@ staging_deploy:
url: https://development-chat.holi.social
variables:
ENVIRONMENT_ID: staging
only:
- main
rules:
- if: $CI_COMMIT_BRANCH == "main"
when: on_success
staging_smoketest:
extends: .smoketest
needs: ['staging_deploy']
only:
- main
rules:
- if: $CI_COMMIT_BRANCH == "main"
when: on_success
production_deploy:
extends: .deploy
......@@ -97,11 +97,13 @@ production_deploy:
url: https://chat.holi.social
variables:
ENVIRONMENT_ID: production
only:
- production
rules:
- if: $CI_COMMIT_BRANCH == "production"
when: on_success
production_smoketest:
extends: .smoketest
needs: ['production_deploy']
only:
- production
rules:
- if: $CI_COMMIT_BRANCH == "production"
when: on_success
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment