summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJosh Smith <josh.smith@codethink.co.uk>2020-08-18 15:05:27 +0100
committerJosh Smith <josh.smith@codethink.co.uk>2020-08-25 11:03:53 +0100
commit057d07e2397c66769c808ef93bb62952f9fef15b (patch)
treec1437e53226374b55eaccba27b8cecd4ab0496e5
parent433864ddcb0e8bf2d1036da00e3bd0c20463a950 (diff)
downloadbuildstream-057d07e2397c66769c808ef93bb62952f9fef15b.tar.gz
Use temporary bb cache
-rw-r--r--.gitlab-ci.yml14
1 files changed, 11 insertions, 3 deletions
diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml
index b1e673a64..ed3c18f57 100644
--- a/.gitlab-ci.yml
+++ b/.gitlab-ci.yml
@@ -341,12 +341,11 @@ docs:
artifacts:
paths:
- "${HOME}/.cache/buildstream/logs"
- only:
- - schedules
overnight-tests:
<<: *overnight-tests-template
script:
+ - sed -i '/artifacts:/,+1 d' freedesktop-sdk/project.conf
- |
cat > ~/.config/buildstream.conf << EOF
# Get a lot of output in case of errors
@@ -356,10 +355,17 @@ overnight-tests:
# Artifacts
#
artifacts:
- - url: https://cache-test.buildstream.build:11002
+ - url: https://bb-cache.buildstream.build:11002
+ type: index
+ push: true
client-cert: $OVERNIGHT_CACHE_PUSH_CERT
client-key: $OVERNIGHT_CACHE_PUSH_KEY
+ - url: https://bb-cache.buildstream.build:11002
+ type: storage
push: true
+ client-cert: $OVERNIGHT_CACHE_PUSH_CERT
+ client-key: $OVERNIGHT_CACHE_PUSH_KEY
+
EOF
- make -C freedesktop-sdk
tags:
@@ -372,6 +378,8 @@ overnight-tests-no-cache:
- make -C freedesktop-sdk
tags:
- overnight-tests
+ only:
+ - schedules
# These tests might be a bit more flaky since they randomize the order
# They will also take longer to run. Hence run them only nightly