forked from Mirantis/containerd
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Update github actions ci to run on forks
Excludes actuated when on fork. Runs some project tests on fork. Signed-off-by: Derek McGowan <[email protected]> (cherry picked from commit 357c59b) Signed-off-by: Austin Vazquez <[email protected]>
- Loading branch information
1 parent
d27b56b
commit 8c58f78
Showing
1 changed file
with
7 additions
and
2 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 |
---|---|---|
|
@@ -27,6 +27,8 @@ jobs: | |
strategy: | ||
matrix: | ||
os: [ubuntu-20.04, actuated-arm64-4cpu-16gb, macos-13, windows-2019] | ||
exclude: | ||
- os: ${{ github.repository != 'containerd/containerd' && 'actuated-arm64-4cpu-16gb' }} | ||
|
||
steps: | ||
- name: Install dependencies | ||
|
@@ -49,7 +51,6 @@ jobs: | |
# | ||
project: | ||
name: Project Checks | ||
if: github.repository == 'containerd/containerd' | ||
runs-on: ubuntu-20.04 | ||
timeout-minutes: 5 | ||
|
||
|
@@ -62,6 +63,7 @@ jobs: | |
- uses: ./src/github.com/containerd/containerd/.github/actions/install-go | ||
|
||
- uses: containerd/[email protected] | ||
if: github.repository == 'containerd/containerd' | ||
with: | ||
working-directory: src/github.com/containerd/containerd | ||
repo-access-token: ${{ secrets.GITHUB_TOKEN }} | ||
|
@@ -219,6 +221,8 @@ jobs: | |
matrix: | ||
os: [ubuntu-20.04, actuated-arm64-4cpu-16gb, macos-13, windows-2019, windows-2022] | ||
go-version: ["1.22.8", "1.23.2"] | ||
exclude: | ||
- os: ${{ github.repository != 'containerd/containerd' && 'actuated-arm64-4cpu-16gb' }} | ||
steps: | ||
- name: Install dependencies | ||
if: matrix.os == 'ubuntu-20.04' || matrix.os == 'actuated-arm64-4cpu-16gb' | ||
|
@@ -350,7 +354,9 @@ jobs: | |
matrix: | ||
runtime: [io.containerd.runtime.v1.linux, io.containerd.runc.v1, io.containerd.runc.v2] | ||
runc: [runc, crun] | ||
os: [ubuntu-20.04, actuated-arm64-4cpu-16gb] | ||
exclude: | ||
- os: ${{ github.repository != 'containerd/containerd' && 'actuated-arm64-4cpu-16gb' }} | ||
- runtime: io.containerd.runc.v1 | ||
runc: crun | ||
- runtime: io.containerd.runtime.v1.linux | ||
|
@@ -361,7 +367,6 @@ jobs: | |
# shim.v1 doesn't support cgroupv2 | ||
- runtime: io.containerd.runtime.v1.linux | ||
os: actuated-arm64-4cpu-16gb | ||
os: [ubuntu-20.04, actuated-arm64-4cpu-16gb] | ||
|
||
env: | ||
GOTEST: gotestsum -- | ||
|