]> git.ipfire.org Git - thirdparty/qemu.git/commitdiff
gitlab: Extract build stages to stages.yml
authorPhilippe Mathieu-Daudé <f4bug@amsat.org>
Wed, 19 May 2021 18:55:00 +0000 (20:55 +0200)
committerPhilippe Mathieu-Daudé <f4bug@amsat.org>
Thu, 27 May 2021 14:39:23 +0000 (16:39 +0200)
Extract the build stages used by our job templates to a new file
(stages.yml) to be able to include it with the other templates,
without having to run all the jobs included in the default
.gitlab-ci.yml, which are mainly useful for mainstream CI.

Signed-off-by: Philippe Mathieu-Daudé <f4bug@amsat.org>
Reviewed-by: Willian Rampazzo <willianr@redhat.com>
Message-Id: <20210519185504.2198573-7-f4bug@amsat.org>
Signed-off-by: Thomas Huth <thuth@redhat.com>
.gitlab-ci.d/stages.yml [new file with mode: 0644]
.gitlab-ci.yml

diff --git a/.gitlab-ci.d/stages.yml b/.gitlab-ci.d/stages.yml
new file mode 100644 (file)
index 0000000..f508260
--- /dev/null
@@ -0,0 +1,8 @@
+# Currently we have two build stages after our containers are built:
+#  - build (for traditional build and test or first stage build)
+#  - test (for test stages, using build artefacts from a build stage)
+stages:
+  - containers
+  - containers-layer2
+  - build
+  - test
index 369963a949382d694efac58f3a2d07e9dbab8221..2be8097f19363084c259032e3b245eaf0b7a2ae6 100644 (file)
@@ -1,13 +1,5 @@
-# Currently we have two build stages after our containers are built:
-#  - build (for traditional build and test or first stage build)
-#  - test (for test stages, using build artefacts from a build stage)
-stages:
-  - containers
-  - containers-layer2
-  - build
-  - test
-
 include:
+  - local: '/.gitlab-ci.d/stages.yml'
   - local: '/.gitlab-ci.d/edk2.yml'
   - local: '/.gitlab-ci.d/opensbi.yml'
   - local: '/.gitlab-ci.d/containers.yml'