comparison contrib/heptapod-ci.yml @ 50740:1aba446bf8e6 stable

heptapod-ci: always make the default run condition explicit This has no effect on behavior, it's just to make everything obvious.
author Raphaël Gomès <rgomes@octobus.net>
date Tue, 04 Jul 2023 12:23:05 +0200
parents f5b02cce82ff
children 929655c0e613
comparison
equal deleted inserted replaced
50739:f5b02cce82ff 50740:1aba446bf8e6
9 workflow: 9 workflow:
10 rules: 10 rules:
11 - if: $CI_COMMIT_BRANCH =~ /^branch\/.*/ && $CI_PIPELINE_SOURCE != "web" 11 - if: $CI_COMMIT_BRANCH =~ /^branch\/.*/ && $CI_PIPELINE_SOURCE != "web"
12 when: never 12 when: never
13 - if: $CI_PIPELINE_SOURCE == "merge_request_event" 13 - if: $CI_PIPELINE_SOURCE == "merge_request_event"
14 when: always
14 - if: $CI_COMMIT_BRANCH && $CI_OPEN_MERGE_REQUESTS 15 - if: $CI_COMMIT_BRANCH && $CI_OPEN_MERGE_REQUESTS
15 when: never 16 when: never
16 - if: $CI_COMMIT_BRANCH 17 - if: $CI_COMMIT_BRANCH
18 when: always
17 19
18 stages: 20 stages:
19 - tests 21 - tests
20 22
21 image: registry.heptapod.net/mercurial/ci-images/mercurial-core:$HG_CI_IMAGE_TAG 23 image: registry.heptapod.net/mercurial/ci-images/mercurial-core:$HG_CI_IMAGE_TAG