Commit 26887e7b authored by Ahmad Sherif's avatar Ahmad Sherif

Merge branch 'set-workflow-default-and-rules' into 'master'

Set 'workflow:rules', and 'default'

See merge request gitlab-org/gitlab-exporter!112
parents eb665c5e 1b2a5daf
Pipeline #152188 passed with stage
in 58 seconds
image: "ruby:2.3"
before_script:
default:
image: "ruby:2.3"
before_script:
- git config --global user.email "bot@gitlab.com"
- git config --global user.name "Bot User"
- bundle install -j $(nproc) --path vendor
cache:
cache:
paths:
- vendor
tags:
- gitlab-org
workflow:
rules:
# For merge requests, create a pipeline.
- if: '$CI_MERGE_REQUEST_IID'
# For `master` branch, create a pipeline (this includes on schedules, pushes, merges, etc.).
- if: '$CI_COMMIT_BRANCH == $CI_DEFAULT_BRANCH'
# For tags, create a pipeline.
- if: '$CI_COMMIT_TAG'
rspec:
script:
......
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