@norskvideo/ctl-dev-kit 0.1.90 → 0.1.91
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/conventions/smoke.yml +20 -0
- package/package.json +1 -1
package/conventions/smoke.yml
CHANGED
|
@@ -263,6 +263,12 @@ jobs:
|
|
|
263
263
|
env:
|
|
264
264
|
NORSK_CTL_BINARY: ${{ runner.temp }}/norsk-ctl
|
|
265
265
|
NORSK_LICENSE_FILE: ${{ runner.temp }}/norsk-license.json
|
|
266
|
+
# Where the harness copies each instance's full engine logs
|
|
267
|
+
# (/var/log/norsk -> debug.json, host-mounted under the store) before
|
|
268
|
+
# teardown nukes them. Uploaded below. `docker logs` only sees the
|
|
269
|
+
# notice+ stdout subset and a decode-error flood can drown its tail;
|
|
270
|
+
# this is the complete structured log at every level.
|
|
271
|
+
NORSK_CI_LOG_DIR: ${{ runner.temp }}/norsk-logs
|
|
266
272
|
run: |
|
|
267
273
|
# Outer pipefail so the step reports the journey's exit, not tee's --
|
|
268
274
|
# otherwise a failed smoke run over the `| tee` below scores green.
|
|
@@ -299,6 +305,20 @@ jobs:
|
|
|
299
305
|
path: ${{ runner.temp }}/smoke.log
|
|
300
306
|
retention-days: 7
|
|
301
307
|
|
|
308
|
+
# The FULL structured engine logs (debug.json et al.), copied off the
|
|
309
|
+
# host store by the harness before teardown -- the actual place a
|
|
310
|
+
# media-node death is recorded, which `docker logs` and its stdout flood
|
|
311
|
+
# cannot show. if-no-files-found: ignore so a green run that wrote nothing
|
|
312
|
+
# here (or a launch that never reached teardown) does not fail the step.
|
|
313
|
+
- name: Upload Norsk engine logs
|
|
314
|
+
if: always()
|
|
315
|
+
uses: actions/upload-artifact@v4
|
|
316
|
+
with:
|
|
317
|
+
name: norsk-engine-logs-attempt-${{ github.run_attempt }}
|
|
318
|
+
path: ${{ runner.temp }}/norsk-logs
|
|
319
|
+
retention-days: 7
|
|
320
|
+
if-no-files-found: ignore
|
|
321
|
+
|
|
302
322
|
# Report this pipeline's result to the aggregated product CI dashboard
|
|
303
323
|
# (id3as/ci-workflows). !cancelled() so a real pass/fail reports, but a
|
|
304
324
|
# cancelled/superseded run does NOT — a cancellation dispatched as failure
|