-
Notifications
You must be signed in to change notification settings - Fork 90
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
add workflows that skip github ckecks properly
Signed-off-by: JooYoung Park <[email protected]>
- Loading branch information
1 parent
4dccf25
commit 3803a86
Showing
9 changed files
with
245 additions
and
0 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 |
---|---|---|
@@ -0,0 +1,25 @@ | ||
name: vHive build tests | ||
|
||
on: | ||
push: | ||
branches: [ main, legacy-firecracker-v0.24.0-with-upf-support ] | ||
paths: | ||
- 'docs/**' | ||
- '**.md' | ||
pull_request: | ||
branches: [ main, legacy-firecracker-v0.24.0-with-upf-support ] | ||
paths: | ||
- 'docs/**' | ||
- '**.md' | ||
workflow_dispatch: | ||
|
||
env: | ||
GOOS: linux | ||
GO111MODULE: on | ||
|
||
jobs: | ||
build: | ||
name: Build and check code quality | ||
runs-on: ubuntu-20.04 | ||
steps: | ||
- run: 'echo "This check not required"' |
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 |
---|---|---|
@@ -0,0 +1,25 @@ | ||
name: vHive setup scripts build tests | ||
|
||
on: | ||
push: | ||
branches: [ main, legacy-firecracker-v0.24.0-with-upf-support ] | ||
paths: | ||
- 'docs/**' | ||
- '**.md' | ||
pull_request: | ||
branches: [ main, legacy-firecracker-v0.24.0-with-upf-support ] | ||
paths: | ||
- 'docs/**' | ||
- '**.md' | ||
workflow_dispatch: | ||
|
||
env: | ||
GOOS: linux | ||
GO111MODULE: on | ||
|
||
jobs: | ||
build_setup: | ||
name: Build setup scripts | ||
runs-on: ubuntu-20.04 | ||
steps: | ||
- run: 'echo "This check not required"' |
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 |
---|---|---|
@@ -0,0 +1,22 @@ | ||
name: vHive CRI tests | ||
|
||
on: | ||
workflow_call: | ||
inputs: | ||
sandbox: | ||
required: true | ||
type: string | ||
|
||
env: | ||
GO111MODULE: on | ||
|
||
jobs: | ||
cri-tests: | ||
name: CRI tests | ||
env: | ||
GITHUB_RUN_ID: ${{ github.run_id }} | ||
GITHUB_VHIVE_ARGS: "-dbg" | ||
runs-on: ${{ fromJSON(format('["self-hosted", "{0}-cri"]', inputs.sandbox)) }} | ||
|
||
steps: | ||
- run: 'echo "This check not required"' |
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 |
---|---|---|
@@ -0,0 +1,27 @@ | ||
name: vHive firecracker CRI tests | ||
|
||
on: | ||
push: | ||
branches: [ main, legacy-firecracker-v0.24.0-with-upf-support ] | ||
paths: | ||
- 'docs/**' | ||
- '**.md' | ||
- 'function-images/**' | ||
pull_request: | ||
branches: [ main, legacy-firecracker-v0.24.0-with-upf-support ] | ||
paths: | ||
- 'docs/**' | ||
- '**.md' | ||
- 'function-images/**' | ||
workflow_dispatch: | ||
schedule: | ||
- cron: '0 19 * * 1' | ||
|
||
env: | ||
GO111MODULE: on | ||
|
||
jobs: | ||
firecracker-cri-tests: | ||
uses: ./.github/workflows/skip_cri_tests.yml | ||
with: | ||
sandbox: firecracker |
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 |
---|---|---|
@@ -0,0 +1,27 @@ | ||
name: vHive gVisor CRI tests | ||
|
||
on: | ||
push: | ||
branches: [ main, legacy-firecracker-v0.24.0-with-upf-support ] | ||
paths: | ||
- 'docs/**' | ||
- '**.md' | ||
- 'function-images/**' | ||
pull_request: | ||
branches: [ main, legacy-firecracker-v0.24.0-with-upf-support ] | ||
paths: | ||
- 'docs/**' | ||
- '**.md' | ||
- 'function-images/**' | ||
workflow_dispatch: | ||
schedule: | ||
- cron: '0 19 * * 1' | ||
|
||
env: | ||
GO111MODULE: on | ||
|
||
jobs: | ||
gvisor-cri-tests: | ||
uses: ./.github/workflows/skip_cri_tests.yml | ||
with: | ||
sandbox: gvisor |
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 |
---|---|---|
@@ -0,0 +1,29 @@ | ||
name: vHive integration tests | ||
|
||
on: | ||
push: | ||
branches: [ main, legacy-firecracker-v0.24.0-with-upf-support ] | ||
paths: | ||
- 'docs/**' | ||
- '**.md' | ||
- 'function-images/**' | ||
pull_request: | ||
branches: [ main, legacy-firecracker-v0.24.0-with-upf-support ] | ||
paths: | ||
- 'docs/**' | ||
- '**.md' | ||
- 'function-images/**' | ||
workflow_dispatch: | ||
schedule: | ||
- cron: '0 19 * * 1' | ||
|
||
env: | ||
GOOS: linux | ||
GO111MODULE: on | ||
|
||
jobs: | ||
integration-tests: | ||
name: Integration tests | ||
runs-on: [self-hosted , integ] | ||
steps: | ||
- run: 'echo "This check not required"' |
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 |
---|---|---|
@@ -0,0 +1,24 @@ | ||
name: Build and Test OpenYurt Deployer | ||
|
||
on: | ||
push: | ||
branches: [ main, legacy-firecracker-v0.24.0-with-upf-support ] | ||
paths: | ||
- 'docs/**' | ||
- '**.md' | ||
pull_request: | ||
branches: [ main, legacy-firecracker-v0.24.0-with-upf-support ] | ||
paths: | ||
- 'docs/**' | ||
- '**.md' | ||
workflow_dispatch: | ||
|
||
env: | ||
GOOS: linux | ||
GO111MODULE: on | ||
|
||
jobs: | ||
openyurt-unit-test: | ||
runs-on: ubuntu-latest | ||
steps: | ||
- run: 'echo "This check not required"' |
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 |
---|---|---|
@@ -0,0 +1,27 @@ | ||
name: vHive stock-only stargz tests | ||
|
||
on: | ||
push: | ||
branches: [ main, legacy-firecracker-v0.24.0-with-upf-support ] | ||
paths: | ||
- 'docs/**' | ||
- '**.md' | ||
- 'function-images/**' | ||
pull_request: | ||
branches: [ main, legacy-firecracker-v0.24.0-with-upf-support ] | ||
paths: | ||
- 'docs/**' | ||
- '**.md' | ||
- 'function-images/**' | ||
workflow_dispatch: | ||
|
||
env: | ||
GOOS: linux | ||
GO111MODULE: on | ||
|
||
jobs: | ||
stargz-container-test: | ||
name: Test running stargz-based image using kn | ||
runs-on: ubuntu-20.04 | ||
steps: | ||
- run: 'echo "This check not required"' |
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 |
---|---|---|
@@ -0,0 +1,39 @@ | ||
name: vHive unit tests | ||
|
||
on: | ||
push: | ||
branches: [ main, legacy-firecracker-v0.24.0-with-upf-support ] | ||
paths: | ||
- 'docs/**' | ||
- '**.md' | ||
- 'function-images/**' | ||
pull_request: | ||
branches: [ main, legacy-firecracker-v0.24.0-with-upf-support ] | ||
paths: | ||
- 'docs/**' | ||
- '**.md' | ||
- 'function-images/**' | ||
workflow_dispatch: | ||
|
||
env: | ||
GOOS: linux | ||
GO111MODULE: on | ||
|
||
jobs: | ||
unit-test: | ||
name: Unit test | ||
runs-on: ubuntu-20.04 | ||
steps: | ||
- run: 'echo "This check not required"' | ||
|
||
profile-unit-test: | ||
name: "Unit test: profile unit test" | ||
runs-on: ubuntu-20.04 | ||
steps: | ||
- run: 'echo "This check not required"' | ||
|
||
firecracker-containerd-interface-test: | ||
name: "Unit tests: Firecracker-containerd interface" | ||
runs-on: ubuntu-20.04 | ||
steps: | ||
- run: 'echo "This check not required"' |