Skip to content

Commit c482460

Browse files
committed
ci: twister: Print cloud service information
This commit updates the twister workflow jobs that run on the zephyr-runner v2 to print the underlying cloud service information in the logs to help trace and debug potential runner issues. Signed-off-by: Stephanos Ioannidis <[email protected]>
1 parent d0b78fb commit c482460

File tree

1 file changed

+12
-0
lines changed

1 file changed

+12
-0
lines changed

.github/workflows/twister.yaml

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -49,6 +49,12 @@ jobs:
4949
# GitHub comes up with a fundamental fix for this problem.
5050
git config --global --add safe.directory ${GITHUB_WORKSPACE}
5151
52+
- name: Print cloud service information
53+
run: |
54+
echo "ZEPHYR_RUNNER_CLOUD_PROVIDER = ${ZEPHYR_RUNNER_CLOUD_PROVIDER}"
55+
echo "ZEPHYR_RUNNER_CLOUD_NODE = ${ZEPHYR_RUNNER_CLOUD_NODE}"
56+
echo "ZEPHYR_RUNNER_CLOUD_POD = ${ZEPHYR_RUNNER_CLOUD_POD}"
57+
5258
- name: Print runner information
5359
run: |
5460
set -x
@@ -147,6 +153,12 @@ jobs:
147153
COMMIT_RANGE: ${{ github.event.pull_request.base.sha }}..${{ github.event.pull_request.head.sha }}
148154
BASE_REF: ${{ github.base_ref }}
149155
steps:
156+
- name: Print cloud service information
157+
run: |
158+
echo "ZEPHYR_RUNNER_CLOUD_PROVIDER = ${ZEPHYR_RUNNER_CLOUD_PROVIDER}"
159+
echo "ZEPHYR_RUNNER_CLOUD_NODE = ${ZEPHYR_RUNNER_CLOUD_NODE}"
160+
echo "ZEPHYR_RUNNER_CLOUD_POD = ${ZEPHYR_RUNNER_CLOUD_POD}"
161+
150162
- name: Apply container owner mismatch workaround
151163
run: |
152164
# FIXME: The owner UID of the GITHUB_WORKSPACE directory may not

0 commit comments

Comments
 (0)