gitlab CI: move a few sections around
authorPeter Hutterer <peter.hutterer@who-t.net>
Mon, 17 Feb 2020 00:53:32 +0000 (10:53 +1000)
committerPeter Hutterer <peter.hutterer@who-t.net>
Mon, 17 Feb 2020 01:15:10 +0000 (11:15 +1000)
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 <peter.hutterer@who-t.net>
.gitlab-ci.yml

index a7913d727fadd704ca8accf20b39b0b3aeb07bca..25fc1c6d9b728275541a4a25aa8c6f0beff2a256 100644 (file)
@@ -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
-  variables:
-    CENTOS_VERSION: 7
-    MAKE_ARGS: ''  # disable distcheck, requires doxygen
-  needs: ['centos:7@container-prep']
-
-centos:8@default-build:
-  extends: .centos-build@template
+  extends: .fedora-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