@norskvideo/ctl-dev-kit 0.1.61 → 0.1.62
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 +9 -0
- package/package.json +1 -1
package/conventions/smoke.yml
CHANGED
|
@@ -72,6 +72,13 @@ jobs:
|
|
|
72
72
|
# ports via the host-gateway alias and can join norsk-net for direct reach;
|
|
73
73
|
# a bare-metal host runner (the GPU box) must stay on localhost + publish.
|
|
74
74
|
# Detect rather than hardcode, so one byte-identical file serves both.
|
|
75
|
+
# NORSK_CTL_PRODUCT_REACH rides along because this step has already
|
|
76
|
+
# established the fact the daemon would otherwise sniff from its own
|
|
77
|
+
# cgroup: `product add --image` loopback-publishes the control plane and
|
|
78
|
+
# polls it for readiness, and on a DooD runner that loopback is the docker
|
|
79
|
+
# HOST's, so registration times out at 60s with nothing in the log saying
|
|
80
|
+
# why. The daemon's own detection stays the default; here the probe that
|
|
81
|
+
# already knows simply says so.
|
|
75
82
|
- name: Probe runner docker topology and set NORSK_TEST_HOST + NORSK_NET_REACH
|
|
76
83
|
run: |
|
|
77
84
|
set -uo pipefail
|
|
@@ -80,10 +87,12 @@ jobs:
|
|
|
80
87
|
echo "TOPO: hostname resolves to a container -> runner is containerized (DooD)"
|
|
81
88
|
echo "NORSK_TEST_HOST=host.docker.internal" >> "$GITHUB_ENV"
|
|
82
89
|
echo "NORSK_NET_REACH=direct" >> "$GITHUB_ENV"
|
|
90
|
+
echo "NORSK_CTL_PRODUCT_REACH=container-address" >> "$GITHUB_ENV"
|
|
83
91
|
else
|
|
84
92
|
echo "TOPO: hostname is not a container -> runner is host-based"
|
|
85
93
|
echo "NORSK_TEST_HOST=localhost" >> "$GITHUB_ENV"
|
|
86
94
|
echo "NORSK_NET_REACH=publish" >> "$GITHUB_ENV"
|
|
95
|
+
echo "NORSK_CTL_PRODUCT_REACH=host" >> "$GITHUB_ENV"
|
|
87
96
|
fi
|
|
88
97
|
|
|
89
98
|
- name: Write the Norsk license (from the org secret)
|