|
37 | 37 | sudo rm -rf /tmp/zot
|
38 | 38 | continue-on-error: true
|
39 | 39 |
|
| 40 | + - name: Upload zot logs |
| 41 | + uses: actions/upload-artifact@v4 |
| 42 | + if: always() |
| 43 | + with: |
| 44 | + name: gc-referrers-bench-local |
| 45 | + path: /tmp/gc-referrers-bench-local.log |
| 46 | + if-no-files-found: error |
| 47 | + |
40 | 48 | - name: Check on failures
|
41 | 49 | if: steps.bench.outcome != 'success'
|
42 | 50 | run: |
|
|
68 | 76 | sudo rm -rf /tmp/zot
|
69 | 77 | continue-on-error: true
|
70 | 78 |
|
| 79 | + - name: Upload zot logs |
| 80 | + uses: actions/upload-artifact@v4 |
| 81 | + if: always() |
| 82 | + with: |
| 83 | + name: gc-bench-local |
| 84 | + path: /tmp/gc-bench-local.log |
| 85 | + if-no-files-found: error |
| 86 | + |
71 | 87 | - name: Check on failures
|
72 | 88 | if: steps.bench.outcome != 'success'
|
73 | 89 | run: |
|
@@ -142,11 +158,20 @@ jobs:
|
142 | 158 | AWS_SECRET_ACCESS_KEY: fake
|
143 | 159 | continue-on-error: true
|
144 | 160 |
|
| 161 | + - name: Upload zot logs |
| 162 | + uses: actions/upload-artifact@v4 |
| 163 | + if: always() |
| 164 | + with: |
| 165 | + name: gc-referrers-bench-s3 |
| 166 | + path: /tmp/gc-referrers-bench-s3.log |
| 167 | + if-no-files-found: error |
| 168 | + |
145 | 169 | - name: Check on failures
|
146 | 170 | if: steps.bench.outcome != 'success'
|
147 | 171 | run: |
|
148 | 172 | cat /tmp/gc-referrers-bench-s3.log
|
149 | 173 | exit 1
|
| 174 | +
|
150 | 175 | - uses: ./.github/actions/teardown-localstack
|
151 | 176 |
|
152 | 177 | gc-stress-s3:
|
@@ -217,9 +242,18 @@ jobs:
|
217 | 242 | AWS_SECRET_ACCESS_KEY: fake
|
218 | 243 | continue-on-error: true
|
219 | 244 |
|
| 245 | + - name: Upload zot logs |
| 246 | + uses: actions/upload-artifact@v4 |
| 247 | + if: always() |
| 248 | + with: |
| 249 | + name: gc-bench-s3 |
| 250 | + path: /tmp/gc-bench-s3.log |
| 251 | + if-no-files-found: error |
| 252 | + |
220 | 253 | - name: Check on failures
|
221 | 254 | if: steps.bench.outcome != 'success'
|
222 | 255 | run: |
|
223 | 256 | cat /tmp/gc-bench-s3.log
|
224 | 257 | exit 1
|
| 258 | +
|
225 | 259 | - uses: ./.github/actions/teardown-localstack
|
0 commit comments