Skip to content

Commit

Permalink
Run conformance with Connectivity
Browse files Browse the repository at this point in the history
Signed-off-by: Tom Pantelis <[email protected]>
  • Loading branch information
tpantelis committed Dec 5, 2024
1 parent bba80fa commit 24e8e51
Showing 1 changed file with 43 additions and 5 deletions.
48 changes: 43 additions & 5 deletions .github/workflows/e2e.yml
Original file line number Diff line number Diff line change
Expand Up @@ -68,10 +68,10 @@ jobs:
- name: Post mortem
if: failure()
uses: submariner-io/shipyard/gh-actions/post-mortem@devel
conformance-test:
name: MCS Conformance
conformance-test-clusterset-ip:
name: MCS Conformance - clusterset IP
needs: images
timeout-minutes: 30
timeout-minutes: 60
runs-on: ubuntu-latest
steps:
- name: Check out the repository
Expand All @@ -80,8 +80,8 @@ jobs:
- name: Check out the mcs-api repository
uses: actions/checkout@692973e3d937129bcbf40652eb9f2f61becf3332
with:
ref: 99db3af0a467136b9d1d2f19b13db0b78adac6d1
repository: kubernetes-sigs/mcs-api
ref: d7f9ae8600139f8044baf3924b08466448a3bfd9
repository: tpantelis/mcs-api
path: mcs-api

- name: Deploy Submariner
Expand All @@ -106,3 +106,41 @@ jobs:
- name: Post mortem
if: failure()
uses: submariner-io/shipyard/gh-actions/post-mortem@devel
conformance-test-connectivity:
name: MCS Conformance - only connectivity
needs: images
timeout-minutes: 60
runs-on: ubuntu-latest
steps:
- name: Check out the repository
uses: actions/checkout@692973e3d937129bcbf40652eb9f2f61becf3332

- name: Check out the mcs-api repository
uses: actions/checkout@692973e3d937129bcbf40652eb9f2f61becf3332
with:
ref: d7f9ae8600139f8044baf3924b08466448a3bfd9
repository: tpantelis/mcs-api
path: mcs-api

- name: Deploy Submariner
shell: bash
run: |
make deploy
- name: Run conformance tests with Connectivity
shell: bash
run: |
export KUBECONFIG=$(find $(git rev-parse --show-toplevel)/output/kubeconfigs/ -type f -printf %p:)
cd mcs-api/conformance
go test -v -timeout 30m -contexts cluster1,cluster2 -args -test.timeout 15m \
--ginkgo.v --ginkgo.trace --ginkgo.label-filter "Connectivity"
- name: Print report.html
if: always()
shell: bash
run: |
cat mcs-api/conformance/report.html
- name: Post mortem
if: failure()
uses: submariner-io/shipyard/gh-actions/post-mortem@devel

0 comments on commit 24e8e51

Please sign in to comment.