Merge pull request #647 from praveingk/merge_doc #34
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
name: PR check - e2e tests | |
on: | |
push: | |
branches: [ main ] | |
pull_request: | |
branches: [ main ] | |
jobs: | |
e2e-connectivity-test: | |
runs-on: ubuntu-latest | |
steps: | |
- name: checkout | |
uses: actions/checkout@v4 | |
with: | |
fetch-tags: true | |
- name: Set up Go | |
uses: actions/setup-go@v5 | |
with: | |
go-version-file: ./go.mod | |
- name: Install kind | |
uses: helm/[email protected] | |
with: | |
install_only: true | |
- name: Run build | |
run: make build | |
- name: Build docker images | |
run: make docker-build | |
- name: Run e2e k8s test on a kind cluster | |
run: CICD=1 ${{ runner.debug == '1' && 'DEBUG=1' || '' }} make tests-e2e-k8s | |
- name: upload e2e k8s test logs | |
uses: actions/upload-artifact@v4 | |
if: failure() | |
with: | |
name: tests-e2e-k8s | |
path: /tmp/clusterlink-k8s-tests |