-
Notifications
You must be signed in to change notification settings - Fork 13
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Signed-off-by: Miguel Duarte Barroso <[email protected]>
- Loading branch information
Showing
1 changed file
with
39 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,39 @@ | ||
name: e2e tests - crio | ||
|
||
on: | ||
push: | ||
branches: [ "main" ] | ||
pull_request: | ||
branches: [ "main" ] | ||
|
||
jobs: | ||
build: | ||
runs-on: ubuntu-latest | ||
steps: | ||
- uses: actions/setup-python@v2 | ||
with: | ||
python-version: 3.x | ||
|
||
- run: | | ||
pip3 install --user --upgrade j2cli | ||
j2 --version | ||
- uses: actions/checkout@v3 | ||
|
||
- name: Set up Go | ||
uses: actions/setup-go@v3 | ||
with: | ||
go-version: 1.18 | ||
|
||
- name: Install qemu dependencies | ||
uses: docker/setup-qemu-action@v2 | ||
|
||
- name: Setup kubevirtci cluster | ||
run: hack/e2e-crio-cluster-setup.sh | ||
|
||
- name: Test - provisioning the examples | ||
run: e2e/test-provisioning-examples.sh | ||
|
||
- name: Cleanup cluster | ||
run: | | ||
kind delete cluster # gracefully remove the cluster | ||
docker rm -f $(docker ps -qa) # remove the registry + any leftover |