Commit 134a67af authored by Ash McKenzie's avatar Ash McKenzie

Merge branch 'fix-ecs-detached-branch-pipeline' into 'master'

Fix rules for ecs jobs

Closes #219934

See merge request gitlab-org/gitlab!33527
parents adc5295f 1fd97cb5
---
title: Fix CI rules for ECS related jobs
merge_request: 33527
author:
type: fixed
......@@ -25,7 +25,9 @@ review_ecs:
when: never
- if: '$REVIEW_DISABLED'
when: never
- if: '$CI_COMMIT_BRANCH != "master"'
- if: '$CI_COMMIT_BRANCH == "master"'
when: never
- if: '$CI_COMMIT_TAG || $CI_COMMIT_BRANCH'
production_ecs:
extends: .deploy_to_ecs
......@@ -37,4 +39,6 @@ production_ecs:
when: never
- if: '$CI_KUBERNETES_ACTIVE'
when: never
- if: '$CI_COMMIT_BRANCH == "master"'
- if: '$CI_COMMIT_BRANCH != "master"'
when: never
- if: '$CI_COMMIT_TAG || $CI_COMMIT_BRANCH'
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment