[gnome-shell] ci: Explicitly specify job dependencies
- From: Georges Basile Stavracas Neto <gbsneto src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-shell] ci: Explicitly specify job dependencies
- Date: Tue, 4 Aug 2020 14:15:20 +0000 (UTC)
commit a96c8d91b5c2bf4160f9d92575c05328344684bc
Author: Florian Müllner <fmuellner gnome org>
Date: Mon Aug 3 23:41:08 2020 +0200
ci: Explicitly specify job dependencies
We can speed up CI a bit by allowing build jobs to run in parallel
with review jobs, and don't have test jobs wait for the flatpak build.
See https://gitlab.gnome.org/help/ci/yaml/README.md#needs for details.
https://gitlab.gnome.org/GNOME/gnome-shell/-/merge_requests/1391
.gitlab-ci.yml | 4 ++++
1 file changed, 4 insertions(+)
---
diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml
index 0a158117b3..ee34776f3c 100644
--- a/.gitlab-ci.yml
+++ b/.gitlab-ci.yml
@@ -67,6 +67,7 @@ no_template_check:
build:
image: registry.gitlab.gnome.org/gnome/mutter/master:v4
stage: build
+ needs: []
before_script:
- .gitlab-ci/checkout-mutter.sh
- meson mutter mutter/build --prefix=/usr -Dtests=false
@@ -85,6 +86,7 @@ build:
test:
image: registry.gitlab.gnome.org/gnome/mutter/master:v4
stage: test
+ needs: ["build"]
variables:
XDG_RUNTIME_DIR: "$CI_PROJECT_DIR/runtime-dir"
NO_AT_BRIDGE: "1"
@@ -102,6 +104,7 @@ test:
test-pot:
image: registry.gitlab.gnome.org/gnome/mutter/master:v4
stage: test
+ needs: ["build"]
before_script:
- ninja -C mutter/build install
script:
@@ -117,6 +120,7 @@ test-pot:
flatpak:
stage: build
+ needs: []
variables:
SUBPROJECT: "subprojects/extensions-app"
# Your manifest path
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]