You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@buildstream.apache.org by ro...@apache.org on 2020/12/29 13:28:55 UTC
[buildstream] 01/01: Testing
This is an automated email from the ASF dual-hosted git repository.
root pushed a commit to branch tristan/test-cache-existence
in repository https://gitbox.apache.org/repos/asf/buildstream.git
commit 455828e9a994dd6b1376f5f079ff0ddb1032ab3a
Author: Tristan Van Berkom <tr...@codethink.co.uk>
AuthorDate: Fri Aug 24 16:36:08 2018 +0900
Testing
---
.gitlab-ci.yml | 14 ++++++++++++++
1 file changed, 14 insertions(+)
diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml
index d93704b..99bc2ed 100644
--- a/.gitlab-ci.yml
+++ b/.gitlab-ci.yml
@@ -76,6 +76,10 @@ source_dist:
- export INTEGRATION_CACHE="$(pwd)/cache/integration-cache"
+ - ls cache || true
+ - ls cache/integration-cache || true
+ - du -hs cache || true
+
# Unpack and get into dist/buildstream
- cd dist && ./unpack.sh
- chown -R buildstream:buildstream buildstream
@@ -85,10 +89,20 @@ source_dist:
# user to test for permission issues
- su buildstream -c 'python3 setup.py test --index-url invalid://uri --addopts --integration'
+ # Check if we accidentally ignored INTEGRATION_CACHE variable
+ - ls integration-cache || true
+ - du -hs integration-cache || true
+
# Go back to the toplevel and collect our reports
- cd ../..
- mkdir -p coverage-linux/
- cp dist/buildstream/.coverage.* coverage-linux/coverage."${CI_JOB_NAME}"
+
+ # Observe the expected cache, after the fact
+ - ls cache || true
+ - ls cache/integration-cache || true
+ - du -hs cache || true
+
artifacts:
paths:
- coverage-linux/