Commit 8e2f4929 authored by Georges Racinet's avatar Georges Racinet 🦑
Browse files

Heptapod CI: using pipeline rules

Now that manual jobs don't interest us so much, it's time
to do it: GitLab never intended push pipelines and MR pipelines
to go along very well.

--HG--
branch : heptapod
parent f43b150d4729
......@@ -10,6 +10,16 @@ stages:
- test
- upload
workflow:
rules:
# in practice, we're interested in MR events and occasional runs
# from the web. Push runs have a tendency to be skipped even
# before the MR is written, and then there's no subsequent pipeline
- if: '$CI_PIPELINE_SOURCE != "push"'
# let's not forget tags!
- if: '$CI_COMMIT_TAG =~ /^heptapod-/'
variables:
# copied from .gitlab-ci.yml, some of these may not be useful yet,
# but some are needed (RAILS_ENV is the first example)
......
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