pkg/platform: Fix update and external service for k8s platform (#198) #10
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 | |
strategy: | |
matrix: | |
go: ['1.20'] | |
steps: | |
- name: Set up Go | |
uses: actions/setup-go@v4 | |
with: | |
go-version: ${{ matrix.go }} | |
- name: Install kind | |
uses: helm/[email protected] | |
with: | |
install_only: true | |
- name: checkout | |
uses: actions/checkout@v4 | |
- 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@v3 | |
if: failure() | |
with: | |
name: tests-e2e-k8s | |
path: /tmp/clusterlink-k8s-tests |