@norskvideo/ctl-dev-kit 0.2.89 → 0.2.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.
|
@@ -210,10 +210,13 @@ jobs:
|
|
|
210
210
|
- name: Pre-pull the media + studio images
|
|
211
211
|
run: |
|
|
212
212
|
set -euo pipefail
|
|
213
|
-
|
|
214
|
-
|
|
215
|
-
|
|
216
|
-
|
|
213
|
+
# An sdk-app has no seed: its prepull-extra hook pulls its engine.
|
|
214
|
+
if [ -f manifest.seed.json ]; then
|
|
215
|
+
for img in "$(jq -r '.latest.media' manifest.seed.json)" "$(jq -r '.latest.studio' manifest.seed.json)"; do
|
|
216
|
+
echo "pre-pulling $img"
|
|
217
|
+
docker pull "$img"
|
|
218
|
+
done
|
|
219
|
+
fi
|
|
217
220
|
if [ -x scripts/doc-guide/prepull-extra.sh ]; then
|
|
218
221
|
echo "running scripts/doc-guide/prepull-extra.sh"
|
|
219
222
|
./scripts/doc-guide/prepull-extra.sh
|
|
@@ -453,10 +453,13 @@ jobs:
|
|
|
453
453
|
if: ${{ steps.plan.outputs.guides == 'run' }}
|
|
454
454
|
run: |
|
|
455
455
|
set -euo pipefail
|
|
456
|
-
|
|
457
|
-
|
|
458
|
-
|
|
459
|
-
|
|
456
|
+
# An sdk-app has no seed: its prepull-extra hook pulls its engine.
|
|
457
|
+
if [ -f manifest.seed.json ]; then
|
|
458
|
+
for img in "$(jq -r '.latest.media' manifest.seed.json)" "$(jq -r '.latest.studio' manifest.seed.json)"; do
|
|
459
|
+
echo "pre-pulling $img"
|
|
460
|
+
docker pull "$img"
|
|
461
|
+
done
|
|
462
|
+
fi
|
|
460
463
|
if [ -x scripts/doc-guide/prepull-extra.sh ]; then
|
|
461
464
|
echo "running scripts/doc-guide/prepull-extra.sh"
|
|
462
465
|
./scripts/doc-guide/prepull-extra.sh
|
|
@@ -650,10 +653,13 @@ jobs:
|
|
|
650
653
|
- name: Pre-pull the media + studio images
|
|
651
654
|
run: |
|
|
652
655
|
set -euo pipefail
|
|
653
|
-
|
|
654
|
-
|
|
655
|
-
|
|
656
|
-
|
|
656
|
+
# An sdk-app has no seed: its prepull-extra hook pulls its engine.
|
|
657
|
+
if [ -f manifest.seed.json ]; then
|
|
658
|
+
for img in "$(jq -r '.latest.media' manifest.seed.json)" "$(jq -r '.latest.studio' manifest.seed.json)"; do
|
|
659
|
+
echo "pre-pulling $img"
|
|
660
|
+
docker pull "$img"
|
|
661
|
+
done
|
|
662
|
+
fi
|
|
657
663
|
if [ -x scripts/doc-guide/prepull-extra.sh ]; then
|
|
658
664
|
echo "running scripts/doc-guide/prepull-extra.sh"
|
|
659
665
|
./scripts/doc-guide/prepull-extra.sh
|
|
@@ -26,6 +26,13 @@ on:
|
|
|
26
26
|
push:
|
|
27
27
|
branches: [main]
|
|
28
28
|
pull_request:
|
|
29
|
+
# build-image.yml calls this as half of the publish gate, with report off so
|
|
30
|
+
# the board gets one `checks` cell per push, not two.
|
|
31
|
+
workflow_call:
|
|
32
|
+
inputs:
|
|
33
|
+
report:
|
|
34
|
+
type: boolean
|
|
35
|
+
default: true
|
|
29
36
|
|
|
30
37
|
permissions:
|
|
31
38
|
contents: read
|
|
@@ -281,7 +288,7 @@ jobs:
|
|
|
281
288
|
# superseded run.
|
|
282
289
|
notify:
|
|
283
290
|
needs: [drift, quality]
|
|
284
|
-
if: ${{ !cancelled() && github.event_name == 'push' }}
|
|
291
|
+
if: ${{ !cancelled() && github.event_name == 'push' && inputs.report != false }}
|
|
285
292
|
runs-on: x64
|
|
286
293
|
steps:
|
|
287
294
|
# Runs BEFORE checkout, and does two things: points the harness's temp base
|
|
@@ -377,10 +377,13 @@ jobs:
|
|
|
377
377
|
- name: Pre-pull the media + studio images
|
|
378
378
|
run: |
|
|
379
379
|
set -euo pipefail
|
|
380
|
-
|
|
381
|
-
|
|
382
|
-
|
|
383
|
-
|
|
380
|
+
# An sdk-app has no seed: its prepull-extra hook pulls its engine.
|
|
381
|
+
if [ -f manifest.seed.json ]; then
|
|
382
|
+
for img in "$(jq -r '.latest.media' manifest.seed.json)" "$(jq -r '.latest.studio' manifest.seed.json)"; do
|
|
383
|
+
echo "pre-pulling $img"
|
|
384
|
+
docker pull "$img"
|
|
385
|
+
done
|
|
386
|
+
fi
|
|
384
387
|
if [ -x scripts/integration/prepull-extra.sh ]; then
|
|
385
388
|
echo "running scripts/integration/prepull-extra.sh"
|
|
386
389
|
./scripts/integration/prepull-extra.sh
|
|
@@ -225,10 +225,13 @@ jobs:
|
|
|
225
225
|
- name: Pre-pull the media + studio images
|
|
226
226
|
run: |
|
|
227
227
|
set -euo pipefail
|
|
228
|
-
|
|
229
|
-
|
|
230
|
-
|
|
231
|
-
|
|
228
|
+
# An sdk-app has no seed: its prepull-extra hook pulls its engine.
|
|
229
|
+
if [ -f manifest.seed.json ]; then
|
|
230
|
+
for img in "$(jq -r '.latest.media' manifest.seed.json)" "$(jq -r '.latest.studio' manifest.seed.json)"; do
|
|
231
|
+
echo "pre-pulling $img"
|
|
232
|
+
docker pull "$img"
|
|
233
|
+
done
|
|
234
|
+
fi
|
|
232
235
|
if [ -x scripts/doc-guide/prepull-extra.sh ]; then
|
|
233
236
|
echo "running scripts/doc-guide/prepull-extra.sh"
|
|
234
237
|
./scripts/doc-guide/prepull-extra.sh
|