Commit bfed7b8a authored by Javier Jardón's avatar Javier Jardón

.gitlab-ci.yml: Only build the whole set of system in the master and staging branches

In this way, individual developers can test specific system changing
the .gitlab-co.yml file in their own branches without the need of
building the whole set of system

Everything should be built when sending a branch for merge (in a staging/ branch)
and in when it gets actually merged (master)

Change-Id: I94a60daa05b768be72eb0bc69070694939638dab
parent 2198aef7
......@@ -10,6 +10,10 @@ build-system-x86_64-chroot-build:
stage: build
script:
- ybd/ybd.py systems/build-system-x86_64-chroot.morph x86_64
only:
- master
- /^staging\/.*$/
build-system-x86_64-chroot-deploy:
stage: deploy
dependencies:
......@@ -20,6 +24,9 @@ build-system-x86_64-chroot-deploy:
name: "${CI_BUILD_NAME}-${CI_BUILD_REF}"
paths:
- build-system-x86_64-chroot.tar
only:
- master
- /^staging\/.*$/
build-system-armv7lhf-rootfs-build:
stage: build
......@@ -27,59 +34,92 @@ build-system-armv7lhf-rootfs-build:
- sudo ybd/ybd.py systems/build-system-armv7lhf-rootfs.morph armv7lhf
tags:
- armv7l
only:
- master
- /^staging\/.*$/
devel-build-64:
stage: build
script:
- ybd/ybd.py systems/devel-system-x86_64-generic.morph x86_64
only:
- master
- /^staging\/.*$/
genivi-baseline-build-64:
stage: build
script:
- ybd/ybd.py systems/genivi-baseline-system-x86_64-generic x86_64
- ybd/ybd.py systems/initramfs-x86_64.morph x86_64
only:
- master
- /^staging\/.*$/
genivi-demo-platform-build-64:
stage: build
script:
- ybd/ybd.py systems/genivi-demo-platform-x86_64-generic.morph x86_64
- ybd/ybd.py systems/initramfs-x86_64.morph x86_64
only:
- master
- /^staging\/.*$/
ivi-build-64:
stage: build
script:
- ybd/ybd.py systems/ivi-system-x86_64.morph x86_64
- ybd/ybd.py systems/initramfs-x86_64.morph x86_64
only:
- master
- /^staging\/.*$/
gnome-build-64:
stage: build
script:
- ybd/ybd.py systems/gnome-system-x86_64.morph x86_64
- ybd/ybd.py systems/initramfs-x86_64.morph x86_64
only:
- master
- /^staging\/.*$/
minimal-build-64:
stage: build
script:
- ybd/ybd.py systems/minimal-system-x86_64-generic.morph x86_64
only:
- master
- /^staging\/.*$/
openstack-build-64:
stage: build
script:
- ybd/ybd.py systems/openstack-system-x86_64.morph x86_64
only:
- master
- /^staging\/.*$/
trove-build-64:
stage: build
script:
- ybd/ybd.py systems/trove-system-x86_64.morph x86_64
only:
- master
- /^staging\/.*$/
weston-build-64:
stage: build
script:
- ybd/ybd.py systems/weston-system-x86_64-generic.morph x86_64
- ybd/ybd.py systems/initramfs-x86_64.morph x86_64
only:
- master
- /^staging\/.*$/
weston-qt-build-64:
stage: build
script:
- ybd/ybd.py weston-qt5-system-x86_64.morph x86_64
- ybd/ybd.py systems/initramfs-x86_64.morph x86_64
only:
- master
- /^staging\/.*$/
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