Skip to content
Snippets Groups Projects
Commit 8c09ca1c authored by Bastien Abadie's avatar Bastien Abadie
Browse files

Fix CI exclusions for schedules

parent eb15470d
No related branches found
No related tags found
No related merge requests found
......@@ -97,6 +97,9 @@ backend-openapi:
extends: .backend-setup
stage: build
except:
- schedules
script:
- ci/openapi.sh
......@@ -142,8 +145,10 @@ backend-build:
DOCKER_DRIVER: overlay2
DOCKER_HOST: tcp://docker:2375/
# Run this on master and tags except base tags
# Run this on master and tags except base tags and schedules
rules:
- if: '$CI_PIPELINE_SOURCE == "schedule"'
when: never
- if: '$CI_COMMIT_BRANCH == "master"'
when: on_success
- if: '$CI_COMMIT_TAG && $CI_COMMIT_TAG !~ /^base-.*/'
......@@ -162,8 +167,10 @@ backend-build-binary:
DOCKER_DRIVER: overlay2
DOCKER_HOST: tcp://docker:2375/
# Run this on master and tags except base tags
# Run this on master and tags except base tags and schedules
rules:
- if: '$CI_PIPELINE_SOURCE == "schedule"'
when: never
- if: '$CI_COMMIT_BRANCH == "master"'
when: on_success
- if: '$CI_COMMIT_TAG && $CI_COMMIT_TAG !~ /^base-.*/'
......
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