-
Notifications
You must be signed in to change notification settings - Fork 48
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
GitHub Actions: specify BuildJet Runner
Signed-off-by: Pavel Abramov <[email protected]>
- Loading branch information
1 parent
ce7f17c
commit 4a75865
Showing
1 changed file
with
12 additions
and
9 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -33,13 +33,16 @@ jobs: | |
runs-on: ubuntu-latest | ||
outputs: | ||
runner: ${{ steps.fork-check.outputs.runner }} | ||
runner_virt: ${{ steps.fork-check.outputs.runner_virt }} | ||
steps: | ||
- id: fork-check | ||
run: | | ||
if [[ "${{ github.event.repository.full_name}}" == "lf-edge/eve" ]] || [[ "${{ github.event.repository.full_name}}" == "lf-edge/eden" ]]; then | ||
echo "runner=buildjet-4vcpu-ubuntu-2204" >> "$GITHUB_OUTPUT" | ||
echo "runner=['buildjet-4vcpu-ubuntu-2204', 'buildjet-pinned-7950x']" >> "$GITHUB_OUTPUT" | ||
echo "runner_virt=['buildjet-4vcpu-ubuntu-2204', 'buildjet-pinned-7950x']" >> "$GITHUB_OUTPUT" | ||
else | ||
echo "runner=ubuntu-22.04" >> "$GITHUB_OUTPUT" | ||
echo "runner=['ubuntu-22.04']" >> "$GITHUB_OUTPUT" | ||
echo "runner_virt=['ubuntu-22.04']" >> "$GITHUB_OUTPUT" | ||
fi | ||
smoke: | ||
|
@@ -51,7 +54,7 @@ jobs: | |
tpm: [true, false] | ||
name: Smoke tests | ||
needs: determine-runner | ||
runs-on: ${{ needs.determine-runner.outputs.runner }} | ||
runs-on: ${{ fromJSON(needs.determine-runner.outputs.runner) }} | ||
steps: | ||
- name: Get code | ||
uses: actions/[email protected] | ||
|
@@ -72,7 +75,7 @@ jobs: | |
networking: | ||
name: Networking test suite | ||
needs: [determine-runner] | ||
runs-on: ${{ needs.determine-runner.outputs.runner }} | ||
runs-on: ${{ fromJSON(needs.determine-runner.outputs.runner) }} | ||
steps: | ||
- name: Get code | ||
uses: actions/[email protected] | ||
|
@@ -97,7 +100,7 @@ jobs: | |
file_system: ['ext4', 'zfs'] | ||
name: Storage test suite | ||
needs: [determine-runner] | ||
runs-on: ${{ needs.determine-runner.outputs.runner }} | ||
runs-on: ${{ fromJSON(needs.determine-runner.outputs.runner) }} | ||
steps: | ||
- name: Get code | ||
uses: actions/[email protected] | ||
|
@@ -118,7 +121,7 @@ jobs: | |
lps-loc: | ||
name: LPS LOC test suite | ||
needs: [determine-runner] | ||
runs-on: ${{ needs.determine-runner.outputs.runner }} | ||
runs-on: ${{ fromJSON(needs.determine-runner.outputs.runner) }} | ||
steps: | ||
- name: Get code | ||
uses: actions/[email protected] | ||
|
@@ -143,7 +146,7 @@ jobs: | |
file_system: ['ext4', 'zfs'] | ||
name: EVE upgrade test suite | ||
needs: [determine-runner] | ||
runs-on: ${{ needs.determine-runner.outputs.runner }} | ||
runs-on: ${{ fromJSON(needs.determine-runner.outputs.runner) }} | ||
steps: | ||
- name: Get code | ||
uses: actions/[email protected] | ||
|
@@ -164,7 +167,7 @@ jobs: | |
user-apps: | ||
name: User apps test suite | ||
needs: [determine-runner] | ||
runs-on: ${{ needs.determine-runner.outputs.runner }} | ||
runs-on: ${{ fromJSON(needs.determine-runner.outputs.runner) }} | ||
steps: | ||
- name: Get code | ||
uses: actions/[email protected] | ||
|
@@ -185,7 +188,7 @@ jobs: | |
virtualization: | ||
name: Virtualization test suite | ||
needs: [determine-runner] | ||
runs-on: ${{ needs.determine-runner.outputs.runner }} | ||
runs-on: ${{ fromJSON(needs.determine-runner.outputs.runner_virt) }} | ||
steps: | ||
- name: Get code | ||
uses: actions/[email protected] | ||
|