ci-includes-yml/rules/rules.yml

48 lines
1.1 KiB
YAML
Raw Permalink Normal View History

2024-05-05 13:32:48 -05:00
.default_rules:
rules:
2024-05-06 04:49:31 -05:00
- if: $CI_COMMIT_BRANCH == $CI_DEFAULT_BRANCH
- if: $CI_COMMIT_BRANCH =~ '/^release/'
2024-05-05 13:32:48 -05:00
.sonarqube_rules:
rules:
2024-05-05 14:26:39 -05:00
- if: $CI_MERGE_REQUEST_IID
exists:
- "sonar-project.properties"
2024-05-06 04:55:40 -05:00
- if: $CI_COMMIT_BRANCH == $CI_DEFAULT_BRANCH
2024-05-05 14:26:39 -05:00
exists:
- "sonar-project.properties"
2024-05-06 04:55:40 -05:00
- if: $CI_COMMIT_BRANCH =~ '/^release/'
2024-05-05 13:32:48 -05:00
exists:
- "sonar-project.properties"
2024-05-05 13:39:22 -05:00
.default_mr_rules:
rules:
2024-05-05 14:26:39 -05:00
- if: $CI_MERGE_REQUEST_IID
2024-05-06 04:49:31 -05:00
- if: $CI_COMMIT_BRANCH == $CI_DEFAULT_BRANCH
- if: $CI_COMMIT_BRANCH =~ '/^release/'
2024-05-05 13:39:22 -05:00
.mr_only_rules:
rules:
- if: $CI_MERGE_REQUEST_IID
2024-05-05 14:26:39 -05:00
.docker_rules:
rules:
- if: $CI_MERGE_REQUEST_IID
exists:
- "Dockerfile"
2024-05-06 04:46:02 -05:00
- if: $CI_COMMIT_BRANCH == $CI_DEFAULT_BRANCH
2024-05-05 14:26:39 -05:00
exists:
- "Dockerfile"
2024-05-06 04:46:02 -05:00
- if: $CI_COMMIT_BRANCH =~ '/^release/'
2024-05-05 14:26:39 -05:00
exists:
- "Dockerfile"
.docker_publish_rules:
2024-05-06 04:46:46 -05:00
rules:
2024-05-06 04:46:02 -05:00
- if: $CI_COMMIT_BRANCH == $CI_DEFAULT_BRANCH
2024-05-05 14:26:39 -05:00
exists:
- "Dockerfile"
2024-05-06 04:46:02 -05:00
- if: $CI_COMMIT_BRANCH =~ '/^release/'
2024-05-05 14:26:39 -05:00
exists:
- "Dockerfile"