mirror of
https://github.com/project-zot/zot.git
synced 2026-06-17 21:17:58 +08:00
Cumulative improvements for CI troubleshooting (#2996)
* feat: show more error information in zb output Signed-off-by: Andrei Aaron <aaaron@luxoft.com> * chore(ci): gc stress tests to save logs as artifacts Signed-off-by: Andrei Aaron <aaaron@luxoft.com> * chore: add benchmark results to job summaries Signed-off-by: Andrei Aaron <aaaron@luxoft.com> * fix: count and show zb errors Signed-off-by: Andrei Aaron <aaaron@luxoft.com> * ci: fix the flaky coverage of the redis logger Signed-off-by: Andrei Aaron <aaaron@luxoft.com> --------- Signed-off-by: Andrei Aaron <aaaron@luxoft.com>
This commit is contained in:
@@ -40,4 +40,6 @@ jobs:
|
||||
external-data-json-path: ./cache/benchmark-data.json
|
||||
# Workflow will fail when an alert happens
|
||||
fail-on-alert: true
|
||||
# Show data in the job summary
|
||||
summary-always: true
|
||||
# Upload the updated cache file for the next job by actions/cache
|
||||
|
||||
@@ -254,6 +254,8 @@ jobs:
|
||||
external-data-json-path: ./cache/benchmark-data.json
|
||||
# Workflow will fail when an alert happens
|
||||
fail-on-alert: true
|
||||
# Show data in the job summary
|
||||
summary-always: true
|
||||
# Upload the updated cache file for the next job by actions/cache
|
||||
|
||||
minio-redis:
|
||||
@@ -507,4 +509,6 @@ jobs:
|
||||
external-data-json-path: ./cache/benchmark-data.json
|
||||
# Workflow will fail when an alert happens
|
||||
fail-on-alert: true
|
||||
# Show data in the job summary
|
||||
summary-always: true
|
||||
# Upload the updated cache file for the next job by actions/cache
|
||||
|
||||
@@ -37,6 +37,14 @@ jobs:
|
||||
sudo rm -rf /tmp/zot
|
||||
continue-on-error: true
|
||||
|
||||
- name: Upload zot logs
|
||||
uses: actions/upload-artifact@v4
|
||||
if: always()
|
||||
with:
|
||||
name: gc-referrers-bench-local
|
||||
path: /tmp/gc-referrers-bench-local.log
|
||||
if-no-files-found: error
|
||||
|
||||
- name: Check on failures
|
||||
if: steps.bench.outcome != 'success'
|
||||
run: |
|
||||
@@ -68,6 +76,14 @@ jobs:
|
||||
sudo rm -rf /tmp/zot
|
||||
continue-on-error: true
|
||||
|
||||
- name: Upload zot logs
|
||||
uses: actions/upload-artifact@v4
|
||||
if: always()
|
||||
with:
|
||||
name: gc-bench-local
|
||||
path: /tmp/gc-bench-local.log
|
||||
if-no-files-found: error
|
||||
|
||||
- name: Check on failures
|
||||
if: steps.bench.outcome != 'success'
|
||||
run: |
|
||||
@@ -142,11 +158,20 @@ jobs:
|
||||
AWS_SECRET_ACCESS_KEY: fake
|
||||
continue-on-error: true
|
||||
|
||||
- name: Upload zot logs
|
||||
uses: actions/upload-artifact@v4
|
||||
if: always()
|
||||
with:
|
||||
name: gc-referrers-bench-s3
|
||||
path: /tmp/gc-referrers-bench-s3.log
|
||||
if-no-files-found: error
|
||||
|
||||
- name: Check on failures
|
||||
if: steps.bench.outcome != 'success'
|
||||
run: |
|
||||
cat /tmp/gc-referrers-bench-s3.log
|
||||
exit 1
|
||||
|
||||
- uses: ./.github/actions/teardown-localstack
|
||||
|
||||
gc-stress-s3:
|
||||
@@ -217,9 +242,18 @@ jobs:
|
||||
AWS_SECRET_ACCESS_KEY: fake
|
||||
continue-on-error: true
|
||||
|
||||
- name: Upload zot logs
|
||||
uses: actions/upload-artifact@v4
|
||||
if: always()
|
||||
with:
|
||||
name: gc-bench-s3
|
||||
path: /tmp/gc-bench-s3.log
|
||||
if-no-files-found: error
|
||||
|
||||
- name: Check on failures
|
||||
if: steps.bench.outcome != 'success'
|
||||
run: |
|
||||
cat /tmp/gc-bench-s3.log
|
||||
exit 1
|
||||
|
||||
- uses: ./.github/actions/teardown-localstack
|
||||
|
||||
Reference in New Issue
Block a user