Loading .gitlab-ci.yml +12 −0 Original line number Diff line number Diff line Loading @@ -9,6 +9,11 @@ stages: variables: PROJECT_PARENT_NAME: gitlab .lock-job: &lock-job rules: - if: $CI when: never .deploy: variables: STACK: ${PROJECT_PARENT_NAME} Loading @@ -27,6 +32,9 @@ variables: environment: name: pro/${CI_PROJECT_NAME} deploy-stable-branch-production: <<: *lock-job .deploy-registrar: variables: &deploy-registrar-variables SERVICES_TO_CHECK: ${PROJECT_PARENT_NAME}_${CI_PROJECT_NAME}-registrar Loading Loading @@ -103,10 +111,12 @@ deploy-registrar-gitlab-com-stable-branch-development: deploy-registrar-grafcan-gitlab-es-stable-branch-production: extends: .deploy-registrar-grafcan-gitlab-es-production <<: *deploy-registrar-stable-branch <<: *lock-job deploy-registrar-gitlab-com-stable-branch-production: extends: .deploy-registrar-gitlab-com-production <<: *deploy-registrar-stable-branch <<: *lock-job .deploy-registrar-tag: &deploy-registrar-tag rules: Loading @@ -125,7 +135,9 @@ deploy-registrar-gitlab-com-tag-development: deploy-registrar-grafcan-gitlab-es-tag-production: extends: .deploy-registrar-grafcan-gitlab-es-production <<: *deploy-registrar-tag <<: *lock-job deploy-registrar-gitlab-com-tag-production: extends: .deploy-registrar-gitlab-com-production <<: *deploy-registrar-tag <<: *lock-job Loading
.gitlab-ci.yml +12 −0 Original line number Diff line number Diff line Loading @@ -9,6 +9,11 @@ stages: variables: PROJECT_PARENT_NAME: gitlab .lock-job: &lock-job rules: - if: $CI when: never .deploy: variables: STACK: ${PROJECT_PARENT_NAME} Loading @@ -27,6 +32,9 @@ variables: environment: name: pro/${CI_PROJECT_NAME} deploy-stable-branch-production: <<: *lock-job .deploy-registrar: variables: &deploy-registrar-variables SERVICES_TO_CHECK: ${PROJECT_PARENT_NAME}_${CI_PROJECT_NAME}-registrar Loading Loading @@ -103,10 +111,12 @@ deploy-registrar-gitlab-com-stable-branch-development: deploy-registrar-grafcan-gitlab-es-stable-branch-production: extends: .deploy-registrar-grafcan-gitlab-es-production <<: *deploy-registrar-stable-branch <<: *lock-job deploy-registrar-gitlab-com-stable-branch-production: extends: .deploy-registrar-gitlab-com-production <<: *deploy-registrar-stable-branch <<: *lock-job .deploy-registrar-tag: &deploy-registrar-tag rules: Loading @@ -125,7 +135,9 @@ deploy-registrar-gitlab-com-tag-development: deploy-registrar-grafcan-gitlab-es-tag-production: extends: .deploy-registrar-grafcan-gitlab-es-production <<: *deploy-registrar-tag <<: *lock-job deploy-registrar-gitlab-com-tag-production: extends: .deploy-registrar-gitlab-com-production <<: *deploy-registrar-tag <<: *lock-job