diff options
author | Javier Jardón <jjardon@gnome.org> | 2017-01-31 13:55:20 +0000 |
---|---|---|
committer | Javier Jardón <jjardon@gnome.org> | 2017-02-01 18:22:12 +0000 |
commit | 9d574bec9fa0d43843b780956aeeb880cc677b3f (patch) | |
tree | 0540b400070630e97bec7b64e8d17b59fc45bbf9 | |
parent | e8d04285ade3bf391c395078a4322655421da135 (diff) | |
download | ybd-jjardon/ci_improvements.tar.gz |
.gitlab-ci.yml: Build ci.morph in master and release/ branchesrelsease/jjardon/testjjardon/ci_improvements
Build ci.morph both using kbas and totally from scratch
In this way, when we want to make a new ybd release, the MR should be in
a release/ branch, so the full ci is run
Also, we run the full ci in master (after merge) as an extra check
-rw-r--r-- | .gitlab-ci.yml | 18 |
1 files changed, 18 insertions, 0 deletions
diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index 099668c..fcb0a69 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -91,6 +91,24 @@ check_build_no_kbas: script: - ./ybd.py definitions/strata/build-essential.morph x86_64 +check_build_release: + stage: build + script: + - ./ybd.py definitions/clusters/ci.morph x86_64 + only: + - master + - /^release\/.*$/ + +check_build_release_no_kbas: + stage: build + variables: + YBD_kbas_url: "false-url" + script: + - ./ybd.py definitions/clusters/ci.morph x86_64 + only: + - master + - /^release\/.*$/ + check_deploy: stage: deploy script: |