Skip to content

Commit 95d71f9

Browse files
committed
debug
1 parent 5388dc6 commit 95d71f9

File tree

2 files changed

+6
-4
lines changed

2 files changed

+6
-4
lines changed

.github/workflows/ci.yml

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -234,11 +234,13 @@ jobs:
234234
go install github.com/goreleaser/nfpm/v2/cmd/nfpm@${{ env.NFPM_VERSION }}
235235
CONTAINER_NGINX_IMAGE_REGISTRY="${{ env.NGINX_OSS_REGISTRY }}" TAG="${{ matrix.container.version }}-${{ matrix.container.image }}" OS_RELEASE="${{ matrix.container.release }}"\
236236
make official-image-integration-test | tee ${{github.workspace}}/test/dashboard/logs/${{github.job}}/${{matrix.container.image}}${{matrix.container.version}}/raw_logs.log && exit "${PIPESTATUS[0]}"
237-
- run: cat ${{github.workspace}}/test/dashboard/logs/${{github.job}}/${{matrix.container.image}}${{matrix.container.version}}/raw_logs.log
238237
- name: Generate Test Results
239238
if: always()
240239
run: bash ./scripts/workflow/generate_results.sh ${{job.status}} ${{env.START_TIME}} ${{github.job}}/${{matrix.container.image}}${{matrix.container.version}} ${{github.workspace}}
241-
- run: find ${{github.workspace}}/test/dashboard/logs/${{github.job}}/${{matrix.container.image}}${{matrix.container.version}}/ -type f -name "test.log" -o -name "result.json"
240+
- run: |
241+
find ${{github.workspace}}/test/dashboard/logs/${{github.job}}/${{matrix.container.image}}${{matrix.container.version}}/ -type f -name "test.log" -o -name "result.json"
242+
cat ${{github.workspace}}/test/dashboard/logs/${{github.job}}/${{matrix.container.image}}${{matrix.container.version}}/test.log
243+
cat ${{github.workspace}}/test/dashboard/logs/${{github.job}}/${{matrix.container.image}}${{matrix.container.version}}/result.json
242244
- name: Container Output Logs
243245
if: failure()
244246
run: |

test/dashboard/prep/promtail.yaml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@ scrape_configs:
2525
- localhost
2626
labels:
2727
systest_job: test-results
28-
__path__: /var/log/test-results/**/result.json
28+
__path__: /var/log/**/result.json
2929
pipeline_stages:
3030
- json:
3131
expressions:
@@ -82,7 +82,7 @@ scrape_configs:
8282
- localhost
8383
labels:
8484
systest_job: test-logs
85-
__path__: /var/log/test-logs/**/test.log
85+
__path__: /var/log/**/test.log
8686
pipeline_stages:
8787
- json:
8888
expressions:

0 commit comments

Comments
 (0)