@norskvideo/ctl-dev-kit 0.1.69 → 0.1.70
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 +3 -3
- package/package.json +1 -1
package/conventions/smoke.yml
CHANGED
|
@@ -79,20 +79,20 @@ jobs:
|
|
|
79
79
|
# HOST's, so registration times out at 60s with nothing in the log saying
|
|
80
80
|
# why. The daemon's own detection stays the default; here the probe that
|
|
81
81
|
# already knows simply says so.
|
|
82
|
-
- name: Probe runner docker topology and set NORSK_TEST_HOST +
|
|
82
|
+
- name: Probe runner docker topology and set NORSK_TEST_HOST + NORSK_TEST_NET
|
|
83
83
|
run: |
|
|
84
84
|
set -uo pipefail
|
|
85
85
|
echo "hostname=$(hostname)"
|
|
86
86
|
if docker inspect "$(hostname)" >/dev/null 2>&1; then
|
|
87
87
|
echo "TOPO: hostname resolves to a container -> runner is containerized (DooD)"
|
|
88
88
|
echo "NORSK_TEST_HOST=host.docker.internal" >> "$GITHUB_ENV"
|
|
89
|
-
echo "
|
|
89
|
+
echo "NORSK_TEST_NET=direct" >> "$GITHUB_ENV"
|
|
90
90
|
echo "NORSK_CTL_PRODUCT_REACH=container-address" >> "$GITHUB_ENV"
|
|
91
91
|
echo "NORSK_RUNNER_OWNS_DOCKER=false" >> "$GITHUB_ENV"
|
|
92
92
|
else
|
|
93
93
|
echo "TOPO: hostname is not a container -> runner is host-based"
|
|
94
94
|
echo "NORSK_TEST_HOST=localhost" >> "$GITHUB_ENV"
|
|
95
|
-
echo "
|
|
95
|
+
echo "NORSK_TEST_NET=publish" >> "$GITHUB_ENV"
|
|
96
96
|
echo "NORSK_CTL_PRODUCT_REACH=host" >> "$GITHUB_ENV"
|
|
97
97
|
echo "NORSK_RUNNER_OWNS_DOCKER=true" >> "$GITHUB_ENV"
|
|
98
98
|
fi
|