diff options
author | Tristan Van Berkom <tristan.vanberkom@codethink.co.uk> | 2018-08-24 16:36:08 +0900 |
---|---|---|
committer | Tristan Van Berkom <tristan.vanberkom@codethink.co.uk> | 2018-08-24 16:47:51 +0900 |
commit | 455828e9a994dd6b1376f5f079ff0ddb1032ab3a (patch) | |
tree | f49c06ee0a39788aa47e91369cae247ebd458967 | |
parent | f7ef151bd8e5585d26e5ec572d507f28659a384b (diff) | |
download | buildstream-tristan/test-cache-existence.tar.gz |
Testingtristan/test-cache-existence
-rw-r--r-- | .gitlab-ci.yml | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index d93704bb0..99bc2ed7c 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/ |