Tristan Van Berkom pushed to branch tristan/test-cache-existence at BuildStream / buildstream
Commits:
-
455828e9
by Tristan Van Berkom at 2018-08-24T07:47:51Z
1 changed file:
Changes:
... | ... | @@ -76,6 +76,10 @@ source_dist: |
76 | 76 |
|
77 | 77 |
- export INTEGRATION_CACHE="$(pwd)/cache/integration-cache"
|
78 | 78 |
|
79 |
+ - ls cache || true
|
|
80 |
+ - ls cache/integration-cache || true
|
|
81 |
+ - du -hs cache || true
|
|
82 |
+ |
|
79 | 83 |
# Unpack and get into dist/buildstream
|
80 | 84 |
- cd dist && ./unpack.sh
|
81 | 85 |
- chown -R buildstream:buildstream buildstream
|
... | ... | @@ -85,10 +89,20 @@ source_dist: |
85 | 89 |
# user to test for permission issues
|
86 | 90 |
- su buildstream -c 'python3 setup.py test --index-url invalid://uri --addopts --integration'
|
87 | 91 |
|
92 |
+ # Check if we accidentally ignored INTEGRATION_CACHE variable
|
|
93 |
+ - ls integration-cache || true
|
|
94 |
+ - du -hs integration-cache || true
|
|
95 |
+ |
|
88 | 96 |
# Go back to the toplevel and collect our reports
|
89 | 97 |
- cd ../..
|
90 | 98 |
- mkdir -p coverage-linux/
|
91 | 99 |
- cp dist/buildstream/.coverage.* coverage-linux/coverage."${CI_JOB_NAME}"
|
100 |
+ |
|
101 |
+ # Observe the expected cache, after the fact
|
|
102 |
+ - ls cache || true
|
|
103 |
+ - ls cache/integration-cache || true
|
|
104 |
+ - du -hs cache || true
|
|
105 |
+ |
|
92 | 106 |
artifacts:
|
93 | 107 |
paths:
|
94 | 108 |
- coverage-linux/
|