forked from vhive-serverless/vHive
-
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.
Merge branch 'main' into vhive-serverlessgh-683-upgrade-gvisor
- Loading branch information
Showing
76 changed files
with
4,227 additions
and
1,331 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
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
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
This file was deleted.
Oops, something went wrong.
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,47 @@ | ||
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: | ||
|
||
- name: Host Info | ||
run: | | ||
echo $HOSTNAME | ||
echo $GITHUB_RUN_ID | ||
- name: Checkout code | ||
uses: actions/checkout@v3 | ||
|
||
- name: Setup vHive CRI test environment | ||
run: ./scripts/github_runner/setup_cri_test_env.sh ${{ inputs.sandbox }} | ||
|
||
- name: Run vHive CRI tests | ||
run: source /etc/profile && go clean -testcache && go test ./cri -v -race -cover | ||
|
||
- name: Archive log artifacts | ||
if: ${{ always() }} | ||
uses: actions/upload-artifact@v3 | ||
with: | ||
name: ctrd-logs | ||
path: | | ||
/tmp/ctrd-logs/${{ github.run_id }} | ||
- name: Cleaning | ||
if: ${{ always() }} | ||
run: ./scripts/github_runner/clean_cri_runner.sh ${{ inputs.sandbox }} |
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 firecracker CRI tests | ||
|
||
on: | ||
push: | ||
branches: [ main ] | ||
paths-ignore: | ||
- 'docs/**' | ||
- '**.md' | ||
- 'function-images/**' | ||
pull_request: | ||
branches: [ main ] | ||
paths-ignore: | ||
- 'docs/**' | ||
- '**.md' | ||
- 'function-images/**' | ||
workflow_dispatch: | ||
|
||
env: | ||
GO111MODULE: on | ||
|
||
jobs: | ||
firecracker-cri-tests: | ||
uses: ./.github/workflows/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
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
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
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
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
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
Oops, something went wrong.