[gnome-build-meta] .gitlab-ci.yml: Store all the downloaded git/tarballs in the gitlab cache.
- From: Javier Jardón Cabezas <jjardon src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-build-meta] .gitlab-ci.yml: Store all the downloaded git/tarballs in the gitlab cache.
- Date: Thu, 5 Apr 2018 10:20:22 +0000 (UTC)
commit 5f134aa03a3485e237971e30d6a4cb2a2bc2ef5a
Author: Javier Jardón <jjardon gnome org>
Date: Thu Apr 5 11:18:05 2018 +0100
.gitlab-ci.yml: Store all the downloaded git/tarballs in the gitlab cache.
This saves us fetching them on every build
.gitlab-ci.yml | 9 +++++++++
1 file changed, 9 insertions(+)
---
diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml
index cadb9fc..a6cdb2d 100644
--- a/.gitlab-ci.yml
+++ b/.gitlab-ci.yml
@@ -11,6 +11,15 @@ variables:
stages:
- build
+
+# Store all the downloaded git and ostree repos in the cache.
+# This saves us fetching them on every build
+cache:
+ key: bst
+ paths:
+ - "${XDG_CACHE_HOME}/buildstream/sources/"
+
+
before_script:
# Remove any installed buildstream binary
- pip3 uninstall -y buildstream
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]