Skip to content
Snippets Groups Projects
Commit 9de6ad54 authored by Veselin's avatar Veselin
Browse files

Update .gitlab-ci.yml

parent 9d0be194
No related branches found
No related tags found
1 merge request!8ci: add rules for prod environment
Pipeline #62038 passed with stage
in 1 minute and 19 seconds
This commit is part of merge request !8. Comments created here will be created in the context of that merge request.
...@@ -301,14 +301,14 @@ agent-prod ocm: ...@@ -301,14 +301,14 @@ agent-prod ocm:
stage: deploy-prod stage: deploy-prod
extends: .prod-agent-ocm-one extends: .prod-agent-ocm-one
rules: rules:
- if: '$PIPELINE_TRIGGERED == "yes" && $APP == "agent" && $CI_PIPELINE_SOURCE != "merge_request_event"' - if: '$PIPELINE_TRIGGERED == "yes" && $APP == "agent" && $CI_PIPELINE_SOURCE != "merge_request_event" && $MAIN_PROD == "yes" && $GITLAB_USER_LOGIN =~ $AUTORIZED_USERS'
when: manual when: manual
agent-prod ocm-two: agent-prod ocm-two:
stage: deploy-prod stage: deploy-prod
extends: .prod-agent-ocm-two extends: .prod-agent-ocm-two
rules: rules:
- if: '$PIPELINE_TRIGGERED == "yes" && $APP == "agent" && $CI_PIPELINE_SOURCE != "merge_request_event"' - if: '$PIPELINE_TRIGGERED == "yes" && $APP == "agent" && $CI_PIPELINE_SOURCE != "merge_request_event" && $MAIN_PROD == "yes" && $GITLAB_USER_LOGIN =~ $AUTORIZED_USERS'
when: manual when: manual
# engine-prod ocm: # engine-prod ocm:
......
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