[gnome-build-meta/jjardon/ci: 1/2] .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: 1/2] .gitlab-ci.yml: Do not use YAML overload for now
- Date: Thu, 22 Feb 2018 15:58:23 +0000 (UTC)
commit 8aba538ce039b092b252a97ad89e9b39375dbed9
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 ccc61cd..c3447e9 100644
--- a/.gitlab-ci.yml
+++ b/.gitlab-ci.yml
@@ -17,28 +17,22 @@ 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
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]