diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index 7064657abf4ec064804d26cc097ed11ba40cb4b2..43e232f8e48af45e98d57cd2b7d24172bf0d0215 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -197,37 +197,36 @@ staging_trigger_unified-api_redeployment: - !reference [.rule_templates, only_main] ## production environment -# todo gregor: enable later -#production_deploy: -# extends: .deploy -# needs: ['staging_smoketest'] -# stage: deploy_production -# allow_failure: false -# environment: -# name: production -# deployment_tier: production -# url: https://production.events.apis.holi.social -# variables: -# ENVIRONMENT_ID: production -# rules: -# - !reference [.rule_templates, only_main] -# -#production_smoketest: -# extends: .smoketest -# needs: ['production_deploy'] -# stage: deploy_production -# rules: -# - !reference [.rule_templates, only_main] -# -#production_trigger_unified-api_redeployment: -# needs: ['production_smoketest'] -# stage: deploy_production -# trigger: -# project: 'app/holi-unified-api' -# branch: 'production' -# forward: -# yaml_variables: false -# pipeline_variables: false -# rules: -# - !reference [.rule_templates, only_main] -# resource_group: unified-api-production +production_deploy: + extends: .deploy + needs: ['staging_smoketest'] + stage: deploy_production + allow_failure: false + environment: + name: production + deployment_tier: production + url: https://production.events.apis.holi.social + variables: + ENVIRONMENT_ID: production + rules: + - !reference [.rule_templates, only_main] + +production_smoketest: + extends: .smoketest + needs: ['production_deploy'] + stage: deploy_production + rules: + - !reference [.rule_templates, only_main] + +production_trigger_unified-api_redeployment: + needs: ['production_smoketest'] + stage: deploy_production + trigger: + project: 'app/holi-unified-api' + branch: 'production' + forward: + yaml_variables: false + pipeline_variables: false + rules: + - !reference [.rule_templates, only_main] + resource_group: unified-api-production