Commit 316637f8 authored by Stephanos Ioannidis's avatar Stephanos Ioannidis
Browse files

ci: footprint: Use zephyr-runner v2

This commit updates the footprint workflow to use the new zephyr-runner v2
CI runner deployment.

It also updates the workflow to use the `ci-repo-cache` Docker image, which
includes the Zephyr repository cache, because the node level repository
cache is no longer available in the zephyr-runner v2.

Signed-off-by: default avatarStephanos Ioannidis <root@stephanos.io>
parent 68b759a2
Loading
Loading
Loading
Loading
+9 −2
Changes for .github/workflows/footprint.yml: 9 added lines, 2 removed lines.
Original line number Diff line number Diff line
@@ -8,10 +8,11 @@ concurrency:

jobs:
  footprint-delta:
    runs-on: zephyr-runner-linux-x64-4xlarge
    runs-on:
      group: zephyr-runner-v2-linux-x64-4xlarge
    if: github.repository == 'zephyrproject-rtos/zephyr'
    container:
      image: ghcr.io/zephyrproject-rtos/ci:v0.26.5
      image: ghcr.io/zephyrproject-rtos/ci-repo-cache:v0.26.5.20231213
      options: '--entrypoint /bin/bash'
    strategy:
      fail-fast: false
@@ -27,6 +28,12 @@ jobs:
          #        GitHub comes up with a fundamental fix for this problem.
          git config --global --add safe.directory ${GITHUB_WORKSPACE}

      - name: Print cloud service information
        run: |
          echo "ZEPHYR_RUNNER_CLOUD_PROVIDER = ${ZEPHYR_RUNNER_CLOUD_PROVIDER}"
          echo "ZEPHYR_RUNNER_CLOUD_NODE = ${ZEPHYR_RUNNER_CLOUD_NODE}"
          echo "ZEPHYR_RUNNER_CLOUD_POD = ${ZEPHYR_RUNNER_CLOUD_POD}"

      - name: Update PATH for west
        run: |
          echo "$HOME/.local/bin" >> $GITHUB_PATH