Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Use BuildJet runners for eden workflow #884

Merged
merged 1 commit into from
Sep 28, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
18 changes: 12 additions & 6 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,10 +6,16 @@ on:
inputs:
eve_image:
type: string
runner:
type: string
default: buildjet-4vcpu-ubuntu-2204
workflow_call:
inputs:
eve_image:
type: string
runner:
type: string
default: buildjet-4vcpu-ubuntu-2204

jobs:
smoke:
Expand All @@ -19,7 +25,7 @@ jobs:
file_system: ['ext4', 'zfs']
tpm: [true, false]
name: Smoke tests
runs-on: ubuntu-22.04
runs-on: ${{ inputs.runner }}
steps:
- name: Get code
uses: actions/checkout@v3
Expand All @@ -37,7 +43,7 @@ jobs:
networking:
name: Networking test suite
needs: smoke
runs-on: ubuntu-22.04
runs-on: ${{ inputs.runner }}
steps:
- name: Get code
uses: actions/checkout@v3
Expand All @@ -59,7 +65,7 @@ jobs:
file_system: ['ext4', 'zfs']
name: Storage test suite
needs: smoke
runs-on: ubuntu-22.04
runs-on: ${{ inputs.runner }}
steps:
- name: Get code
uses: actions/checkout@v3
Expand All @@ -77,7 +83,7 @@ jobs:
lpc-loc:
name: LPC LOC test suite
needs: smoke
runs-on: ubuntu-22.04
runs-on: ${{ inputs.runner }}
steps:
- name: Get code
uses: actions/checkout@v3
Expand All @@ -99,7 +105,7 @@ jobs:
file_system: ['ext4', 'zfs']
name: EVE upgrade test suite
needs: smoke
runs-on: ubuntu-22.04
runs-on: ${{ inputs.runner }}
steps:
- name: Get code
uses: actions/checkout@v3
Expand All @@ -117,7 +123,7 @@ jobs:
user-apps:
name: User apps test suite
needs: smoke
runs-on: ubuntu-22.04
runs-on: ${{ inputs.runner }}
steps:
- name: Get code
uses: actions/checkout@v3
Expand Down
7 changes: 7 additions & 0 deletions docs/github-actions.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
# Github Actions

Eden is a part of testing infrastructure of EVE and it's integrated in EVE CI/CD pipelines. EVE uses [test.yml](https://github.com/lf-edge/eden/blob/master/.github/workflows/test.yml) reusable workflow to run eden tests against specific EVE version in PR.
Eden reusable workflows are running using [BuildJet](https://buildjet.com/for-github-actions) runners provided by LF-EDGE. They provide both Arm and x86_64 architectures.
Currently we are provided with 4vCPU/16GBs of RAM and 8vCPU/32GBs of RAM runners. Maximum CPUs running in parallel is 64 for x86_64, that means with 4vCPUs we can have 16 jobs running in parallel.
In case one wants to run eden workflows locally in their own fork, `runner` and `repo` input variables for reusable workflow should be specified.

Loading