Skip to content

Commit

Permalink
support kubernetes v1.24 (#1761)
Browse files Browse the repository at this point in the history
* update Go to version 1.18

* support kubernetes v1.24

* add e2e for installation compatibility

* retry e2e testing if kube-proxy is running in IPVS mode
  • Loading branch information
zhangzujian committed Aug 3, 2022
1 parent 29f3d6e commit 4617d7f
Show file tree
Hide file tree
Showing 23 changed files with 692 additions and 657 deletions.
3 changes: 1 addition & 2 deletions .github/workflows/build-arm64-image.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ on:
- '**.md'

env:
GO_VERSION: '1.17'
GO_VERSION: '1.18'

jobs:
build:
Expand All @@ -35,7 +35,6 @@ jobs:
- name: Set up QEMU
uses: docker/setup-qemu-action@v2
with:
image: tonistiigi/binfmt:latest
platforms: arm64

- name: Docker Buildx
Expand Down
11 changes: 9 additions & 2 deletions .github/workflows/build-windows.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,8 @@ on:
- '**.md'

env:
GO_VERSION: '1.17'
GO_VERSION: '1.18'
GOSEC_VERSION: '2.12.0'

jobs:
build-ovs-and-ovn:
Expand Down Expand Up @@ -153,10 +154,16 @@ jobs:
restore-keys: |
${{ runner.os }}-go-
- name: Install gosec
run: |
Invoke-WebRequest https://github.com/securego/gosec/releases/download/v${{ env.GOSEC_VERSION }}/gosec_${{ env.GOSEC_VERSION }}_windows_amd64.tar.gz -OutFile gosec.tar.gz
mkdir gosec
tar -xzvf gosec.tar.gz -C gosec
Copy-Item gosec/gosec.exe -Destination C:\Windows\system32
- name: Build
run: |
go mod tidy
go install github.com/securego/gosec/cmd/gosec@latest
make lint-windows
make build-go-windows
Expand Down

0 comments on commit 4617d7f

Please sign in to comment.