summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJavier Jardón <jjardon@gnome.org>2016-12-09 17:42:08 (GMT)
committerGitLab <gitlab@gitlab.com>2016-12-11 23:57:40 (GMT)
commit6ded8a722ba602fc16812137e60282c0d6eb243e (patch)
tree9840b3f5d56e13dfbe9e35897348c275d6a06fee
parent508fa2bd30361f8ae2c5e230b1980e079909bf94 (diff)
downloaddefinitions-6ded8a722ba602fc16812137e60282c0d6eb243e.tar.gz
.gitlab-ci.yml: Serialize the ci a bit
So we have more runners available if we have serveral users using the ci system
-rw-r--r--.gitlab-ci.yml32
1 files changed, 19 insertions, 13 deletions
diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml
index 82241d2..9245c98 100644
--- a/.gitlab-ci.yml
+++ b/.gitlab-ci.yml
@@ -1,5 +1,11 @@
image: python:2.7-slim
+stages:
+ - build-1
+ - deploy-1
+ - build-2
+ - build-3
+
before_script:
- export LC_ALL="C.UTF-8"
- apt-get update -qq && apt-get install -y -qq git
@@ -7,7 +13,7 @@ before_script:
- cd ybd && ./install_dependencies.sh && cd ..
build-system-x86_64-chroot-build:
- stage: build
+ stage: build-1
script:
- ybd/ybd.py systems/build-system-x86_64-chroot.morph x86_64
only:
@@ -15,7 +21,7 @@ build-system-x86_64-chroot-build:
- /^staging\/.*$/
#build-system-x86_64-chroot-deploy:
-# stage: deploy
+# stage: deploy-1
# dependencies:
# - build-system-x86_64-chroot-build
# script:
@@ -29,7 +35,7 @@ build-system-x86_64-chroot-build:
# - /^staging\/.*$/
#build-system-armv7lhf-rootfs-build:
-# stage: build
+# stage: build-1
# script:
# - sudo ybd/ybd.py systems/build-system-armv7lhf-rootfs.morph armv7lhf
# tags:
@@ -39,7 +45,7 @@ build-system-x86_64-chroot-build:
# - /^staging\/.*$/
devel-build-64:
- stage: build
+ stage: build-2
script:
- ybd/ybd.py systems/devel-system-x86_64-generic.morph x86_64
only:
@@ -47,7 +53,7 @@ devel-build-64:
- /^staging\/.*$/
genivi-baseline-build-64:
- stage: build
+ stage: build-2
script:
- ybd/ybd.py genivi/systems/genivi-baseline-system-x86_64-generic.morph x86_64
- ybd/ybd.py systems/initramfs-x86_64.morph x86_64
@@ -56,7 +62,7 @@ genivi-baseline-build-64:
- /^staging\/.*$/
genivi-demo-platform-build-64:
- stage: build
+ stage: build-3
script:
- ybd/ybd.py genivi/systems/genivi-demo-platform-x86_64-generic.morph x86_64
- ybd/ybd.py systems/initramfs-x86_64.morph x86_64
@@ -65,7 +71,7 @@ genivi-demo-platform-build-64:
- /^staging\/.*$/
ivi-build-64:
- stage: build
+ stage: build-3
script:
- ybd/ybd.py ivi/systems/ivi-system-x86_64.morph x86_64
- ybd/ybd.py systems/initramfs-x86_64.morph x86_64
@@ -74,7 +80,7 @@ ivi-build-64:
- /^staging\/.*$/
gnome-build-64:
- stage: build
+ stage: build-3
script:
- ybd/ybd.py gnome/systems/gnome-system-x86_64.morph x86_64
- ybd/ybd.py systems/initramfs-x86_64.morph x86_64
@@ -83,7 +89,7 @@ gnome-build-64:
- /^staging\/.*$/
minimal-build-64:
- stage: build
+ stage: build-1
script:
- ybd/ybd.py systems/minimal-system-x86_64-chroot.morph x86_64
only:
@@ -91,7 +97,7 @@ minimal-build-64:
- /^staging\/.*$/
minimal-system-x86_64-chroot-deploy:
- stage: deploy
+ stage: deploy-1
dependencies:
- minimal-build-64
script:
@@ -105,7 +111,7 @@ minimal-system-x86_64-chroot-deploy:
- /^staging\/.*$/
trove-build-64:
- stage: build
+ stage: build-2
script:
- ybd/ybd.py trove/systems/trove-system-x86_64.morph x86_64
only:
@@ -113,7 +119,7 @@ trove-build-64:
- /^staging\/.*$/
weston-build-64:
- stage: build
+ stage: build-2
script:
- ybd/ybd.py weston/systems/weston-system-x86_64-generic.morph x86_64
- ybd/ybd.py systems/initramfs-x86_64.morph x86_64
@@ -122,7 +128,7 @@ weston-build-64:
- /^staging\/.*$/
weston-qt-build-64:
- stage: build
+ stage: build-3
script:
- ybd/ybd.py weston/systems/weston-qt5-system-x86_64.morph x86_64
- ybd/ybd.py systems/initramfs-x86_64.morph x86_64