[gnome-build-meta/jjardon/ci] .gitlab-ci.yml: Do not use YAML overload for now
- From: Javier Jardón Cabezas <jjardon src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-build-meta/jjardon/ci] .gitlab-ci.yml: Do not use YAML overload for now
- Date: Thu, 22 Feb 2018 15:52:34 +0000 (UTC)
commit 3e18ee0d572f4604b65b0aea816bbfd29f8ff99f
Author: Javier Jardón <jjardon gnome org>
Date: Thu Feb 22 15:51:03 2018 +0000
.gitlab-ci.yml: Do not use YAML overload for now
Not really needed and it can be confused to read for some people
.gitlab-ci.yml | 28 +++++++++++-----------------
1 file changed, 11 insertions(+), 17 deletions(-)
---
diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml
index 8ea067d..e17a3a4 100644
--- a/.gitlab-ci.yml
+++ b/.gitlab-ci.yml
@@ -17,30 +17,24 @@ before_script:
- git -C buildstream/ checkout $BST_SHA
- pip3 install buildstream
-# Store all the downloaded git and ostree repos in the distributed cache.
-# This saves us fetching them from the different repos and further afield
-# on every build.
-.bst_cache: &bst_cache
+
+
+bst-build-gnome-core:
+ stage: build
+ dependencies: []
+ script:
+ - ${BST} build --track-all core.bst
+ # Store all the downloaded git and ostree repos in the distributed cache.
+ # This saves us fetching them from the different repos and further afield
+ # on every build.
cache:
key: bst
paths:
- "${XDG_CACHE_HOME}/buildstream/sources/"
-
-# Store artifacts so we can inspect build failures
-.bst_artifacts: &bst_artifacts
+ # Store artifacts so we can inspect build failures
artifacts:
when: always
paths:
- ${CI_PROJECT_DIR}/cache/buildstream/logs
-
-
-
-bst-build-gnome-core:
- stage: build
- dependencies: []
- script:
- - ${BST} build --track-all core.bst
- <<: *bst_cache
- <<: *bst_artifacts
only:
- master
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]