summaryrefslogtreecommitdiff
path: root/.gitlab-ci.yml
diff options
context:
space:
mode:
authorHaru <haru@dotalux.com>2016-10-01 16:37:53 +0200
committerHaru <haru@dotalux.com>2016-10-02 17:26:08 +0200
commitc124ca13389f02f363e5e6969279cda149d2a761 (patch)
tree895c16c490d5d59f9db8c818b82db1fc5d6b4372 /.gitlab-ci.yml
parent1911da404e5b38d91d8013532bb8fdfb35e698a8 (diff)
downloadhercules-c124ca13389f02f363e5e6969279cda149d2a761.tar.gz
hercules-c124ca13389f02f363e5e6969279cda149d2a761.tar.bz2
hercules-c124ca13389f02f363e5e6969279cda149d2a761.tar.xz
hercules-c124ca13389f02f363e5e6969279cda149d2a761.zip
Split GitLab builds in stages
Signed-off-by: Haru <haru@dotalux.com>
Diffstat (limited to '.gitlab-ci.yml')
-rw-r--r--.gitlab-ci.yml51
1 files changed, 51 insertions, 0 deletions
diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml
index 254e44d5e..1602a7f14 100644
--- a/.gitlab-ci.yml
+++ b/.gitlab-ci.yml
@@ -1,6 +1,11 @@
services:
- mysql:latest
+stages:
+ - primary
+ - secondary
+ - platforms
+
variables: &base_vars
# Configure mysql service (https://hub.docker.com/_/mysql/)
MYSQL_DATABASE: 'ragnarok'
@@ -31,6 +36,7 @@ variables: &base_vars
pre_re:clang-3.9:
<<: *branch_exceptions
<<: *prerequisites
+ stage: primary
image: debian:unstable
variables:
<<: *base_vars
@@ -42,6 +48,7 @@ pre_re:clang-3.9:
re:clang-3.9:
<<: *branch_exceptions
<<: *prerequisites
+ stage: primary
image: debian:unstable
variables:
<<: *base_vars
@@ -53,6 +60,7 @@ re:clang-3.9:
pre_re:gcc-4.6:
<<: *branch_exceptions
<<: *prerequisites
+ stage: secondary
image: debian:oldstable
variables:
<<: *base_vars
@@ -64,6 +72,7 @@ pre_re:gcc-4.6:
re:gcc-4.6:
<<: *branch_exceptions
<<: *prerequisites
+ stage: secondary
image: debian:oldstable
variables:
<<: *base_vars
@@ -75,6 +84,7 @@ re:gcc-4.6:
pre_re:gcc-4.7:
<<: *branch_exceptions
<<: *prerequisites
+ stage: secondary
image: debian:oldstable
variables:
<<: *base_vars
@@ -86,6 +96,7 @@ pre_re:gcc-4.7:
re:gcc-4.7:
<<: *branch_exceptions
<<: *prerequisites
+ stage: secondary
image: debian:oldstable
variables:
<<: *base_vars
@@ -97,6 +108,7 @@ re:gcc-4.7:
pre_re:gcc-4.8:
<<: *branch_exceptions
<<: *prerequisites
+ stage: primary
image: debian:stable
variables:
<<: *base_vars
@@ -108,6 +120,7 @@ pre_re:gcc-4.8:
re:gcc-4.8:
<<: *branch_exceptions
<<: *prerequisites
+ stage: primary
image: debian:stable
variables:
<<: *base_vars
@@ -119,6 +132,7 @@ re:gcc-4.8:
pre_re:gcc-4.9:
<<: *branch_exceptions
<<: *prerequisites
+ stage: primary
image: debian:stable
variables:
<<: *base_vars
@@ -130,6 +144,7 @@ pre_re:gcc-4.9:
re:gcc-4.9:
<<: *branch_exceptions
<<: *prerequisites
+ stage: primary
image: debian:stable
variables:
<<: *base_vars
@@ -141,6 +156,7 @@ re:gcc-4.9:
pre_re:gcc-5:
<<: *branch_exceptions
<<: *prerequisites
+ stage: primary
image: debian:unstable
variables:
<<: *base_vars
@@ -152,6 +168,7 @@ pre_re:gcc-5:
re:gcc-5:
<<: *branch_exceptions
<<: *prerequisites
+ stage: primary
image: debian:unstable
variables:
<<: *base_vars
@@ -163,6 +180,7 @@ re:gcc-5:
pre_re:gcc-6:
<<: *branch_exceptions
<<: *prerequisites
+ stage: primary
image: debian:unstable
variables:
<<: *base_vars
@@ -174,6 +192,7 @@ pre_re:gcc-6:
re:gcc-6:
<<: *branch_exceptions
<<: *prerequisites
+ stage: primary
image: debian:unstable
variables:
<<: *base_vars
@@ -185,6 +204,7 @@ re:gcc-6:
pre_re:gcc-6_i386:
<<: *branch_exceptions
<<: *prerequisites
+ stage: primary
image: vicamo/debian:sid-i386
variables:
<<: *base_vars
@@ -196,6 +216,7 @@ pre_re:gcc-6_i386:
re:gcc-6_i386:
<<: *branch_exceptions
<<: *prerequisites
+ stage: primary
image: vicamo/debian:sid-i386
variables:
<<: *base_vars
@@ -207,6 +228,7 @@ re:gcc-6_i386:
pre_re:gcc-6_sanitize:
<<: *branch_exceptions
<<: *prerequisites
+ stage: secondary
image: debian:unstable
variables:
<<: *base_vars
@@ -218,6 +240,7 @@ pre_re:gcc-6_sanitize:
re:gcc-6_sanitize:
<<: *branch_exceptions
<<: *prerequisites
+ stage: secondary
image: debian:unstable
variables:
<<: *base_vars
@@ -229,6 +252,7 @@ re:gcc-6_sanitize:
pre_re:gcc-6_i386_sanitize:
<<: *branch_exceptions
<<: *prerequisites
+ stage: secondary
image: vicamo/debian:sid-i386
variables:
<<: *base_vars
@@ -240,6 +264,7 @@ pre_re:gcc-6_i386_sanitize:
re:gcc-6_i386_sanitize:
<<: *branch_exceptions
<<: *prerequisites
+ stage: secondary
image: vicamo/debian:sid-i386
variables:
<<: *base_vars
@@ -251,6 +276,7 @@ re:gcc-6_i386_sanitize:
pre_re:gcc-6_cov:
<<: *branch_exceptions
<<: *prerequisites
+ stage: secondary
image: debian:unstable
variables:
<<: *base_vars
@@ -267,6 +293,7 @@ pre_re:gcc-6_cov:
re:gcc-6_cov:
<<: *branch_exceptions
<<: *prerequisites
+ stage: secondary
image: debian:unstable
variables:
<<: *base_vars
@@ -285,6 +312,7 @@ re:gcc-6_cov:
pre_re:debian-oldstable:
<<: *branch_exceptions
<<: *prerequisites
+ stage: platforms
image: debian:wheezy
variables:
<<: *base_vars
@@ -296,6 +324,7 @@ pre_re:debian-oldstable:
re:debian-oldstable:
<<: *branch_exceptions
<<: *prerequisites
+ stage: platforms
image: debian:wheezy
variables:
<<: *base_vars
@@ -307,6 +336,7 @@ re:debian-oldstable:
pre_re:debian-stable:
<<: *branch_exceptions
<<: *prerequisites
+ stage: platforms
image: debian:jessie
variables:
<<: *base_vars
@@ -318,6 +348,7 @@ pre_re:debian-stable:
re:debian-stable:
<<: *branch_exceptions
<<: *prerequisites
+ stage: platforms
image: debian:jessie
variables:
<<: *base_vars
@@ -329,6 +360,7 @@ re:debian-stable:
pre_re:debian-testing:
<<: *branch_exceptions
<<: *prerequisites
+ stage: platforms
image: debian:stretch
variables:
<<: *base_vars
@@ -340,6 +372,7 @@ pre_re:debian-testing:
re:debian-testing:
<<: *branch_exceptions
<<: *prerequisites
+ stage: platforms
image: debian:stretch
variables:
<<: *base_vars
@@ -350,6 +383,7 @@ re:debian-testing:
pre_re:centos-previous:
<<: *branch_exceptions
+ stage: platforms
image: centos:6
before_script:
- echo "Building $CI_BUILD_NAME"
@@ -368,6 +402,7 @@ pre_re:centos-previous:
re:centos-previous:
<<: *branch_exceptions
+ stage: platforms
image: centos:6
before_script:
- echo "Building $CI_BUILD_NAME"
@@ -388,6 +423,7 @@ re:centos-previous:
pre_re:centos-current:
<<: *branch_exceptions
+ stage: platforms
image: centos:7
before_script:
- echo "Building $CI_BUILD_NAME"
@@ -404,6 +440,7 @@ pre_re:centos-current:
re:centos-current:
<<: *branch_exceptions
+ stage: platforms
image: centos:7
before_script:
- echo "Building $CI_BUILD_NAME"
@@ -423,6 +460,7 @@ re:centos-current:
pre_re:ubuntu-xenial:
<<: *branch_exceptions
<<: *prerequisites
+ stage: platforms
image: ubuntu:16.04
variables:
<<: *base_vars
@@ -434,6 +472,7 @@ pre_re:ubuntu-xenial:
re:ubuntu-xenial:
<<: *branch_exceptions
<<: *prerequisites
+ stage: platforms
image: ubuntu:16.04
variables:
<<: *base_vars
@@ -447,6 +486,7 @@ re:ubuntu-xenial:
pre_re:mysql-5.5:
<<: *branch_exceptions
<<: *prerequisites
+ stage: platforms
image: debian:stable
variables:
<<: *base_vars
@@ -460,6 +500,7 @@ pre_re:mysql-5.5:
re:mysql-5.5:
<<: *branch_exceptions
<<: *prerequisites
+ stage: platforms
image: debian:stable
variables:
<<: *base_vars
@@ -473,6 +514,7 @@ re:mysql-5.5:
pre_re:mysql-5.6:
<<: *branch_exceptions
<<: *prerequisites
+ stage: platforms
image: debian:unstable
variables:
<<: *base_vars
@@ -486,6 +528,7 @@ pre_re:mysql-5.6:
re:mysql-5.6:
<<: *branch_exceptions
<<: *prerequisites
+ stage: platforms
image: debian:unstable
variables:
<<: *base_vars
@@ -499,6 +542,7 @@ re:mysql-5.6:
pre_re:mysql-5.7:
<<: *branch_exceptions
<<: *prerequisites
+ stage: platforms
image: debian:unstable
variables:
<<: *base_vars
@@ -513,6 +557,7 @@ pre_re:mysql-5.7:
re:mysql-5.7:
<<: *branch_exceptions
<<: *prerequisites
+ stage: platforms
image: debian:unstable
variables:
<<: *base_vars
@@ -526,6 +571,7 @@ re:mysql-5.7:
pre_re:mariadb-10:
<<: *branch_exceptions
+ stage: platforms
image: debian:stable
variables:
<<: *base_vars
@@ -545,6 +591,7 @@ pre_re:mariadb-10:
re:mariadb-10:
<<: *branch_exceptions
+ stage: platforms
image: debian:stable
variables:
<<: *base_vars
@@ -564,6 +611,7 @@ re:mariadb-10:
pre_re:mariadb-latest:
<<: *branch_exceptions
+ stage: platforms
image: debian:stable
variables:
<<: *base_vars
@@ -583,6 +631,7 @@ pre_re:mariadb-latest:
re:mariadb-latest:
<<: *branch_exceptions
+ stage: platforms
image: debian:stable
variables:
<<: *base_vars
@@ -602,6 +651,7 @@ re:mariadb-latest:
pre_re:percona:
<<: *branch_exceptions
+ stage: platforms
image: debian:stable
variables:
<<: *base_vars
@@ -621,6 +671,7 @@ pre_re:percona:
re:percona:
<<: *branch_exceptions
+ stage: platforms
image: debian:stable
variables:
<<: *base_vars