Commit ab5c5525 authored by Ondřej Surý's avatar Ondřej Surý

Unparalellize images build to keep it lighter on resources (but the builds will take a lot longer)

parent bb65014b
......@@ -5,11 +5,17 @@ variables:
CI_REGISTRY_IMAGE: oerdnj
stages:
- image
- debian_sid
- debian_buster
- debian_stretch
- debian_jessie
- ubuntu_bionic
- ubuntu_artful
- ubuntu_xenial
- ubuntu_trusty
.image: &image
image: docker:latest
stage: image
services:
- docker:dind
tags:
......@@ -25,6 +31,7 @@ stages:
- VERSIONS="$VERSIONS" DISTROS="$DISTROS" ARCHS="$ARCHS" CI_REGISTRY_IMAGE="$CI_REGISTRY_IMAGE" make # -j $(grep 'core id' /proc/cpuinfo | wc -l)
debian_jessie_amd64:
stage: debian_jessie
variables:
DISTROS: debian
VERSIONS: jessie
......@@ -32,6 +39,7 @@ debian_jessie_amd64:
<<: *image
debian_stretch_amd64:
stage: debian_stretch
variables:
DISTROS: debian
VERSIONS: stretch
......@@ -39,6 +47,7 @@ debian_stretch_amd64:
<<: *image
debian_buster_amd64:
stage: debian_buster
variables:
DISTROS: debian
VERSIONS: buster
......@@ -46,6 +55,7 @@ debian_buster_amd64:
<<: *image
debian_sid_amd64:
stage: debian_sid
variables:
DISTROS: debian
VERSIONS: sid
......@@ -53,6 +63,7 @@ debian_sid_amd64:
<<: *image
ubuntu_trusty_amd64:
stage: ubuntu_trusty
variables:
DISTROS: ubuntu
VERSIONS: trusty
......@@ -60,6 +71,7 @@ ubuntu_trusty_amd64:
<<: *image
ubuntu_xenial_amd64:
stage: ubuntu_xenial
variables:
DISTROS: ubuntu
VERSIONS: xenial
......@@ -67,6 +79,7 @@ ubuntu_xenial_amd64:
<<: *image
ubuntu_artful_amd64:
stage: ubuntu_artful
variables:
DISTROS: ubuntu
VERSIONS: artful
......@@ -74,6 +87,7 @@ ubuntu_artful_amd64:
<<: *image
ubuntu_bionic_amd64:
stage: ubuntu_bionic
variables:
DISTROS: ubuntu
VERSIONS: bionic
......@@ -81,6 +95,7 @@ ubuntu_bionic_amd64:
<<: *image
debian_jessie_i386:
stage: debian_jessie
variables:
DISTROS: debian
VERSIONS: jessie
......@@ -88,6 +103,7 @@ debian_jessie_i386:
<<: *image
debian_stretch_i386:
stage: debian_stretch
variables:
DISTROS: debian
VERSIONS: stretch
......@@ -95,6 +111,7 @@ debian_stretch_i386:
<<: *image
debian_buster_i386:
stage: debian_buster
variables:
DISTROS: debian
VERSIONS: buster
......@@ -102,6 +119,7 @@ debian_buster_i386:
<<: *image
debian_sid_i386:
stage: debian_sid
variables:
DISTROS: debian
VERSIONS: sid
......@@ -109,6 +127,7 @@ debian_sid_i386:
<<: *image
ubuntu_trusty_i386:
stage: ubuntu_trusty
variables:
DISTROS: ubuntu
VERSIONS: trusty
......@@ -116,6 +135,7 @@ ubuntu_trusty_i386:
<<: *image
ubuntu_xenial_i386:
stage: ubuntu_xenial
variables:
DISTROS: ubuntu
VERSIONS: xenial
......@@ -123,6 +143,7 @@ ubuntu_xenial_i386:
<<: *image
ubuntu_artful_i386:
stage: ubuntu_artful
variables:
DISTROS: ubuntu
VERSIONS: artful
......@@ -130,6 +151,7 @@ ubuntu_artful_i386:
<<: *image
ubuntu_bionic_i386:
stage: ubuntu_bionic
variables:
DISTROS: ubuntu
VERSIONS: bionic
......
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