From a4038f9cc11d091cb28e2f98802ea5517f3e4f0b Mon Sep 17 00:00:00 2001 From: gregor <gregor.schulz@holi.social> Date: Wed, 12 Mar 2025 17:24:52 +0100 Subject: [PATCH] deploy to prod --- .gitlab-ci.yml | 67 +++++++++++++++++++++++++------------------------- 1 file changed, 33 insertions(+), 34 deletions(-) diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index 7064657..43e232f 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 -- GitLab