[gnome-build-meta/abderrahim/ci-improvements: 3/10] .gitlab-ci.yml: declare dependencies for jobs
- From: Abderrahim Kitouni <akitouni src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-build-meta/abderrahim/ci-improvements: 3/10] .gitlab-ci.yml: declare dependencies for jobs
- Date: Sat, 20 Apr 2019 07:14:52 +0000 (UTC)
commit 6e21eb88043e06e147dc007b25735e7b6034b3c8
Author: Abderrahim Kitouni <akitouni gnome org>
Date: Fri Apr 19 15:56:08 2019 +0100
.gitlab-ci.yml: declare dependencies for jobs
by default, gitlab gets the artifacts of all previous jobs, but we
only need track and flatpak-prepare artifacts are meaningful for
subsequent jobs (the rest are just logs).
.gitlab-ci.yml | 8 +++++++-
1 file changed, 7 insertions(+), 1 deletion(-)
---
diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml
index d9eb788c..2b4fd21f 100644
--- a/.gitlab-ci.yml
+++ b/.gitlab-ci.yml
@@ -83,6 +83,7 @@ before_script:
.build-template:
stage: build
+ dependencies: [track]
script:
- ${BST} -o arch "${ARCH}" build core.bst flatpak-runtimes.bst platform-manifest.bst sdk-manifest.bst
# Store artifacts so we can inspect build failures
@@ -94,6 +95,7 @@ before_script:
.flatpak-template:
stage: flatpak
+ dependencies: [track, flatpak-prepare]
script:
- ${BST} -o arch "${ARCH}" build flatpak-runtimes.bst
@@ -180,8 +182,9 @@ build-gnome-core-arm:
<<: *arm
-flapak-prepare:
+flatpak-prepare:
stage: prepare_flatpak
+ dependencies: []
script:
- flat-manager/flat-manager-client create $FLAT_MANAGER_SERVER $FLAT_MANAGER_REPO > build.txt
artifacts:
@@ -215,6 +218,7 @@ flatpak-arm:
flatpak-finish:
stage: finish_flatpak
+ dependencies: [flatpak-prepare]
script:
# the `|| true` is to work around instability in the flathub infrastructure
# https://github.com/flatpak/flat-manager/issues/2
@@ -231,6 +235,7 @@ flatpak-finish:
flatpak-finish-failed:
stage: finish_flatpak
+ dependencies: [flatpak-prepare]
script:
- flat-manager/flat-manager-client purge $(cat build.txt)
when: on_failure
@@ -246,6 +251,7 @@ flatpak-finish-failed:
cve_report:
<<: *x86_64
stage: reports
+ dependencies: [track]
script:
- pip3 install --user lxml
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]