Skip to content
This repository has been archived by the owner on Jul 31, 2024. It is now read-only.

Commit

Permalink
workflows: used is_active to select runner
Browse files Browse the repository at this point in the history
Target self-hosted runners using the `is_active` label. We added this label
to all of our self-hosted runners to indicate they are ready to be assigned
CI tests. Removing this label (for maintenance or testing) from a runner
removes it from the CI loop.

Signed-off-by: Mike Szczys <[email protected]>
  • Loading branch information
szczys committed Jan 4, 2024
1 parent 97b9fb0 commit cc8358e
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/test_nrf52840dk.yml
Original file line number Diff line number Diff line change
Expand Up @@ -92,7 +92,7 @@ jobs:
# export CI_NRF52840DK_SNR=723769314
hw_flash_and_test:
needs: build_for_hw_test
runs-on: [self-hosted, has_nrf52840dk]
runs-on: [is_active, has_nrf52840dk]

defaults:
run:
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/test_nrf9160dk.yml
Original file line number Diff line number Diff line change
Expand Up @@ -97,7 +97,7 @@ jobs:
# export CI_NRF9160DK_SNR=723769314
hw_flash_and_test:
needs: build_for_hw_test
runs-on: [self-hosted, has_nrf9160dk]
runs-on: [is_active, has_nrf9160dk]

defaults:
run:
Expand Down

0 comments on commit cc8358e

Please sign in to comment.