Skip to content

Commit

Permalink
HIL: use is_active label with runners
Browse files Browse the repository at this point in the history
Require the is_active lable when selecting a self-hosted runner. This label
indicates the runner is available for testing. The label will be removed
from runners undergoing maintenance.

Signed-off-by: Mike Szczys <[email protected]>
  • Loading branch information
szczys committed Dec 19, 2023
1 parent 1488eba commit 556c06f
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/hil_sample_zephyr.yml
Original file line number Diff line number Diff line change
Expand Up @@ -71,7 +71,7 @@ jobs:
test:
if: ${{ inputs.run_tests }}
needs: build
runs-on: has_${{ inputs.hil_board }}
runs-on: [ is_active, has_${{ inputs.hil_board }} ]

container:
image: golioth/golioth-twister-base:50cb4bc
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/hil_test_esp-idf.yml
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@ jobs:

test:
needs: build
runs-on: has_${{ inputs.hil_board }}
runs-on: [ is_active, has_${{ inputs.hil_board }} ]

container:
image: golioth/golioth-hil-base:280d655
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/hil_test_zephyr.yml
Original file line number Diff line number Diff line change
Expand Up @@ -65,7 +65,7 @@ jobs:

test:
needs: build
runs-on: has_${{ inputs.hil_board }}
runs-on: [ is_active, has_${{ inputs.hil_board }} ]

container:
image: golioth/golioth-hil-base:280d655
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/test_esp32s3.yml
Original file line number Diff line number Diff line change
Expand Up @@ -94,7 +94,7 @@ jobs:
# ---
hw_flash_and_test:
needs: build_for_hw_test
runs-on: [self-hosted, has_esp32s3_devkitc, mikes_orange_pi]
runs-on: [is_active, has_esp32s3_devkitc, mikes_orange_pi]

container:
image: golioth/golioth-hil-base:ff78585
Expand Down

0 comments on commit 556c06f

Please sign in to comment.