Skip to content

Commit

Permalink
Merge pull request #282 from zeeke/e2e-operator
Browse files Browse the repository at this point in the history
Add SRIOV Operator CI lane
  • Loading branch information
SchSeba authored Mar 7, 2024
2 parents 4696b6b + 13c9a62 commit 3e63680
Showing 1 changed file with 31 additions and 0 deletions.
31 changes: 31 additions & 0 deletions .github/workflows/buildtest.yml
Original file line number Diff line number Diff line change
Expand Up @@ -56,3 +56,34 @@ jobs:
with:
github-token: ${{ secrets.GITHUB_TOKEN }}
file: test/coverage/lcov.info

sriov-operator-e2e-test:
name: SR-IOV operator e2e tests
needs: [ build-test ]
runs-on: [ sriov ]
env:
TEST_REPORT_PATH: k8s-artifacts
steps:
- name: Check out the repo
uses: actions/checkout@v3

- name: build sriov-cni image
run: podman build -t ghaction-sriov-cni:pr-${{github.event.pull_request.number}} .

- name: Check out sriov operator's code
uses: actions/checkout@v2
with:
repository: k8snetworkplumbingwg/sriov-network-operator
path: sriov-network-operator-wc

- name: run test
run: make test-e2e-conformance-virtual-k8s-cluster-ci
working-directory: sriov-network-operator-wc
env:
LOCAL_SRIOV_CNI_IMAGE: ghaction-sriov-cni:pr-${{github.event.pull_request.number}}

- uses: actions/upload-artifact@v3
if: always()
with:
name: ${{ env.TEST_REPORT_PATH }}
path: ./sriov-network-operator-wc/${{ env.TEST_REPORT_PATH }}

0 comments on commit 3e63680

Please sign in to comment.