Skip to content

Commit 8a6b157

Browse files
committed
fix: update chaos testing log storage to include docker compose logs
Signed-off-by: Vladislav Polyakov <[email protected]>
1 parent 06021c9 commit 8a6b157

File tree

1 file changed

+25
-1
lines changed

1 file changed

+25
-1
lines changed

.github/workflows/slo.yml

Lines changed: 25 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -111,6 +111,30 @@ jobs:
111111
-read-timeout 1000 \
112112
-write-timeout 1000 || true
113113
114+
- if: always()
115+
name: Store ydb healthcheck
116+
run: |
117+
curl -ik http://localhost:8765/healthcheck > ydb-healthcheck.log
118+
119+
- if: always()
120+
uses: actions/upload-artifact@v4
121+
with:
122+
name: ${{matrix.sdk.name}}-ydb-healthcheck.log
123+
path: ./ydb-healthcheck.log
124+
retention-days: 1
125+
126+
- if: always()
127+
name: Store ydb logs
128+
run: |
129+
docker compose -f .slo/compose.ydb.yaml logs > ydb.log
130+
131+
- if: always()
132+
uses: actions/upload-artifact@v4
133+
with:
134+
name: ${{matrix.sdk.name}}-ydb.log
135+
path: ./ydb.log
136+
retention-days: 1
137+
114138
- if: always()
115139
name: Store ydb chaos testing logs
116140
run: |
@@ -123,7 +147,7 @@ jobs:
123147
path: ./chaos-ydb.log
124148
retention-days: 1
125149

126-
- if: always()
150+
- if: success()
127151
name: Cleanup SLO Database
128152
run: |
129153
./tests/slo/.bin/${{matrix.sdk.id}}_linux_amd64 cleanup grpc://localhost:2136 /Root/testdb || true

0 commit comments

Comments
 (0)