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

[release/1.5] CI: skip some jobs when repo != containerd/containerd #8084

Merged
merged 1 commit into from
Feb 10, 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.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
13 changes: 7 additions & 6 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -40,6 +40,7 @@ jobs:
#
project:
name: Project Checks
if: github.repository == 'containerd/containerd'
runs-on: ubuntu-18.04
timeout-minutes: 5

Expand Down Expand Up @@ -112,7 +113,7 @@ jobs:
# Make sure binaries compile with other platforms
crossbuild:
name: Crossbuild Binaries
needs: [project, linters, protos, man]
needs: [linters, protos, man]
runs-on: ubuntu-18.04
timeout-minutes: 10
strategy:
Expand Down Expand Up @@ -190,7 +191,7 @@ jobs:
name: Binaries
runs-on: ${{ matrix.os }}
timeout-minutes: 10
needs: [project, linters, protos, man]
needs: [linters, protos, man]

strategy:
matrix:
Expand Down Expand Up @@ -225,7 +226,7 @@ jobs:
name: Windows Integration
runs-on: windows-2019
timeout-minutes: 30
needs: [project, linters, protos, man]
needs: [linters, protos, man]
env:
GOTEST: gotestsum --

Expand Down Expand Up @@ -308,7 +309,7 @@ jobs:
name: Linux Integration
runs-on: ubuntu-18.04
timeout-minutes: 40
needs: [project, linters, protos, man]
needs: [linters, protos, man]

strategy:
fail-fast: false
Expand Down Expand Up @@ -461,7 +462,7 @@ jobs:
name: MacOS unit tests
runs-on: macos-12
timeout-minutes: 10
needs: [project, linters, protos, man]
needs: [linters, protos, man]
env:
GOTEST: gotestsum --

Expand All @@ -487,7 +488,7 @@ jobs:
# nested virtualization is only available on macOS hosts
runs-on: macos-12
timeout-minutes: 45
needs: [project, linters, protos, man]
needs: [linters, protos, man]
strategy:
matrix:
# Currently crun is disabled to decrease CI flakiness.
Expand Down
1 change: 1 addition & 0 deletions .github/workflows/codeql.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,7 @@ on:

jobs:
CodeQL-Build:
if: github.repository == 'containerd/containerd'

strategy:
fail-fast: false
Expand Down