From 3e0a9e084d878676ecbd04da4ecebb5de8df7921 Mon Sep 17 00:00:00 2001 From: Peter Hutterer Date: Mon, 17 Feb 2020 10:53:32 +1000 Subject: [PATCH] gitlab CI: move a few sections around Move the centos builds to after the ubuntu builds and swap the two fedora builds. Just we have the same order for things here as in the container prep/clean phases and to make a future patch easier to review. Signed-off-by: Peter Hutterer --- .gitlab-ci.yml | 46 +++++++++++++++++++++++----------------------- 1 file changed, 23 insertions(+), 23 deletions(-) diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index a7913d7..25fc1c6 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -428,13 +428,6 @@ alpine:latest@container-clean: extends: .build@template image: $FEDORA_CONTAINER_IMAGE -fedora:31@default-build: - stage: distro - extends: .fedora-build@template - variables: - FEDORA_VERSION: 31 - needs: ['fedora:31@container-prep'] - fedora:30@default-build: stage: distro extends: .fedora-build@template @@ -442,24 +435,12 @@ fedora:30@default-build: FEDORA_VERSION: 30 needs: ['fedora:30@container-prep'] -.centos-build@template: +fedora:31@default-build: stage: distro - extends: .build@template - image: $CENTOS_CONTAINER_IMAGE - -centos:7@default-build: - extends: .centos-build@template + extends: .fedora-build@template variables: - CENTOS_VERSION: 7 - MAKE_ARGS: '' # disable distcheck, requires doxygen - needs: ['centos:7@container-prep'] - -centos:8@default-build: - extends: .centos-build@template - variables: - CENTOS_VERSION: 8 - MAKE_ARGS: '' # disable distcheck, requires doxygen - needs: ['centos:8@container-prep'] + FEDORA_VERSION: 31 + needs: ['fedora:31@container-prep'] .ubuntu@template: stage: distro @@ -495,6 +476,25 @@ debian:sid@default-build: DEBIAN_VERSION: sid needs: ['debian:sid@container-prep'] +.centos-build@template: + stage: distro + extends: .build@template + image: $CENTOS_CONTAINER_IMAGE + +centos:7@default-build: + extends: .centos-build@template + variables: + CENTOS_VERSION: 7 + MAKE_ARGS: '' # disable distcheck, requires doxygen + needs: ['centos:7@container-prep'] + +centos:8@default-build: + extends: .centos-build@template + variables: + CENTOS_VERSION: 8 + MAKE_ARGS: '' # disable distcheck, requires doxygen + needs: ['centos:8@container-prep'] + .arch@template: stage: distro extends: .build@template