Skip to content

Commit

Permalink
bump go to 1.22.3 (#3989)
Browse files Browse the repository at this point in the history
Signed-off-by: zhangzujian <[email protected]>
  • Loading branch information
zhangzujian authored May 8, 2024
1 parent b64f9fe commit 0068ce3
Show file tree
Hide file tree
Showing 6 changed files with 65 additions and 79 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/build-arm64-image.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@ jobs:
cache: false

- name: Export Go full version
run: echo "GO_FULL_VER=$(go version | awk '{print $3}')" >> "$GITHUB_ENV"
run: echo "GO_FULL_VER=$(go env GOVERSION)" >> "$GITHUB_ENV"

- name: Go Cache
uses: actions/cache@v4
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/build-windows.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -191,7 +191,7 @@ jobs:

- name: Export Go full version
run: |
$goVersion = (go version).Split()[2]
$goVersion = (go env GOVERSION)
$entry = [string]::Format("GO_FULL_VER={0}", $goVersion)
Add-Content -Path $env:GITHUB_ENV -Value $entry
Expand Down
60 changes: 30 additions & 30 deletions .github/workflows/build-x86-image.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -147,7 +147,7 @@ jobs:
cache: false

- name: Export Go full version
run: echo "GO_FULL_VER=$(go version | awk '{print $3}')" >> "$GITHUB_ENV"
run: echo "GO_FULL_VER=$(go env GOVERSION)" >> "$GITHUB_ENV"

- name: Go cache
uses: actions/cache@v4
Expand Down Expand Up @@ -303,7 +303,7 @@ jobs:
cache: false

- name: Export Go full version
run: echo "GO_FULL_VER=$(go version | awk '{print $3}')" >> "$GITHUB_ENV"
run: echo "GO_FULL_VER=$(go env GOVERSION)" >> "$GITHUB_ENV"

- name: Go cache
uses: actions/cache@v4
Expand Down Expand Up @@ -419,7 +419,7 @@ jobs:
cache: false

- name: Export Go full version
run: echo "GO_FULL_VER=$(go version | awk '{print $3}')" >> "$GITHUB_ENV"
run: echo "GO_FULL_VER=$(go env GOVERSION)" >> "$GITHUB_ENV"

- name: Go cache
uses: actions/cache/restore@v4
Expand Down Expand Up @@ -475,7 +475,7 @@ jobs:
- name: Check kube ovn pod restarts
run: |
make check-kube-ovn-pod-restarts
- name: kubectl ko log
if: failure()
run: |
Expand Down Expand Up @@ -583,7 +583,7 @@ jobs:
cache: false

- name: Export Go full version
run: echo "GO_FULL_VER=$(go version | awk '{print $3}')" >> "$GITHUB_ENV"
run: echo "GO_FULL_VER=$(go env GOVERSION)" >> "$GITHUB_ENV"

- name: Go cache
uses: actions/cache/restore@v4
Expand Down Expand Up @@ -635,7 +635,7 @@ jobs:
- name: Check kube ovn pod restarts
run: |
make check-kube-ovn-pod-restarts
- name: kubectl ko log
if: failure()
run: |
Expand Down Expand Up @@ -770,7 +770,7 @@ jobs:
- name: Check kube ovn pod restarts
run: |
make check-kube-ovn-pod-restarts
- name: kubectl ko log
if: failure()
run: |
Expand Down Expand Up @@ -872,7 +872,7 @@ jobs:
cache: false

- name: Export Go full version
run: echo "GO_FULL_VER=$(go version | awk '{print $3}')" >> "$GITHUB_ENV"
run: echo "GO_FULL_VER=$(go env GOVERSION)" >> "$GITHUB_ENV"

- name: Go cache
uses: actions/cache/restore@v4
Expand Down Expand Up @@ -931,7 +931,7 @@ jobs:
- name: Check kube ovn pod restarts
run: |
make check-kube-ovn-pod-restarts
- name: kubectl ko log
if: failure()
run: |
Expand Down Expand Up @@ -1033,7 +1033,7 @@ jobs:
cache: false

- name: Export Go full version
run: echo "GO_FULL_VER=$(go version | awk '{print $3}')" >> "$GITHUB_ENV"
run: echo "GO_FULL_VER=$(go env GOVERSION)" >> "$GITHUB_ENV"

- name: Go cache
uses: actions/cache/restore@v4
Expand Down Expand Up @@ -1082,7 +1082,7 @@ jobs:
- name: Check kube ovn pod restarts
run: |
make check-kube-ovn-pod-restarts
- name: kubectl ko log
if: failure()
run: |
Expand Down Expand Up @@ -1156,7 +1156,7 @@ jobs:
cache: false

- name: Export Go full version
run: echo "GO_FULL_VER=$(go version | awk '{print $3}')" >> "$GITHUB_ENV"
run: echo "GO_FULL_VER=$(go env GOVERSION)" >> "$GITHUB_ENV"

- name: Go cache
uses: actions/cache/restore@v4
Expand Down Expand Up @@ -1208,7 +1208,7 @@ jobs:
- name: Check kube ovn pod restarts
run: |
make check-kube-ovn-pod-restarts
- name: kubectl ko log
if: failure()
run: |
Expand Down Expand Up @@ -1275,7 +1275,7 @@ jobs:
- name: Check kube ovn pod restarts
run: |
make check-kube-ovn-pod-restarts
- name: Uninstall Kube-OVN
run: make kind-uninstall-chart

Expand Down Expand Up @@ -1324,7 +1324,7 @@ jobs:
- name: Check kube ovn pod restarts
run: |
make check-kube-ovn-pod-restarts
- name: Cleanup
run: sh -x dist/images/cleanup.sh

Expand Down Expand Up @@ -1375,7 +1375,7 @@ jobs:
- name: Check kube ovn pod restarts
run: |
make check-kube-ovn-pod-restarts
- name: Cleanup
run: sh -x dist/images/cleanup.sh

Expand Down Expand Up @@ -1426,7 +1426,7 @@ jobs:
- name: Check kube ovn pod restarts
run: |
make check-kube-ovn-pod-restarts
- name: Cleanup
run: sh -x dist/images/cleanup.sh

Expand Down Expand Up @@ -1479,7 +1479,7 @@ jobs:
cache: false

- name: Export Go full version
run: echo "GO_FULL_VER=$(go version | awk '{print $3}')" >> "$GITHUB_ENV"
run: echo "GO_FULL_VER=$(go env GOVERSION)" >> "$GITHUB_ENV"

- name: Go cache
uses: actions/cache/restore@v4
Expand Down Expand Up @@ -1583,7 +1583,7 @@ jobs:
cache: false

- name: Export Go full version
run: echo "GO_FULL_VER=$(go version | awk '{print $3}')" >> "$GITHUB_ENV"
run: echo "GO_FULL_VER=$(go env GOVERSION)" >> "$GITHUB_ENV"

- name: Go cache
uses: actions/cache/restore@v4
Expand Down Expand Up @@ -1632,7 +1632,7 @@ jobs:
- name: Check kube ovn pod restarts
run: |
make check-kube-ovn-pod-restarts
- name: kubectl ko log
if: failure()
run: |
Expand Down Expand Up @@ -1691,7 +1691,7 @@ jobs:
- name: Check kube ovn pod restarts
run: |
make check-kube-ovn-pod-restarts
- name: kubectl ko log
if: failure()
run: |
Expand Down Expand Up @@ -1774,7 +1774,7 @@ jobs:
cache: false

- name: Export Go full version
run: echo "GO_FULL_VER=$(go version | awk '{print $3}')" >> "$GITHUB_ENV"
run: echo "GO_FULL_VER=$(go env GOVERSION)" >> "$GITHUB_ENV"

- name: Go cache
uses: actions/cache/restore@v4
Expand Down Expand Up @@ -1825,7 +1825,7 @@ jobs:
- name: Check kube ovn pod restarts
run: |
make check-kube-ovn-pod-restarts
- name: kubectl ko log
if: failure()
run: |
Expand Down Expand Up @@ -1903,7 +1903,7 @@ jobs:
cache: false

- name: Export Go full version
run: echo "GO_FULL_VER=$(go version | awk '{print $3}')" >> "$GITHUB_ENV"
run: echo "GO_FULL_VER=$(go env GOVERSION)" >> "$GITHUB_ENV"

- name: Go cache
uses: actions/cache/restore@v4
Expand Down Expand Up @@ -1958,7 +1958,7 @@ jobs:
- name: Check kube ovn pod restarts
run: |
make check-kube-ovn-pod-restarts
- name: kubectl ko log
if: failure()
run: |
Expand Down Expand Up @@ -2051,7 +2051,7 @@ jobs:
- name: Check kube ovn pod restarts
run: |
make check-kube-ovn-pod-restarts
- name: kubectl ko log
if: failure()
run: |
Expand Down Expand Up @@ -2117,7 +2117,7 @@ jobs:
cache: false

- name: Export Go full version
run: echo "GO_FULL_VER=$(go version | awk '{print $3}')" >> "$GITHUB_ENV"
run: echo "GO_FULL_VER=$(go env GOVERSION)" >> "$GITHUB_ENV"

- name: Go cache
uses: actions/cache/restore@v4
Expand Down Expand Up @@ -2172,7 +2172,7 @@ jobs:
- name: Check kube ovn pod restarts
run: |
make check-kube-ovn-pod-restarts
- name: kubectl ko log
if: failure()
run: |
Expand Down Expand Up @@ -2234,7 +2234,7 @@ jobs:
cache: false

- name: Export Go full version
run: echo "GO_FULL_VER=$(go version | awk '{print $3}')" >> "$GITHUB_ENV"
run: echo "GO_FULL_VER=$(go env GOVERSION)" >> "$GITHUB_ENV"

- name: Go cache
uses: actions/cache/restore@v4
Expand Down Expand Up @@ -2288,7 +2288,7 @@ jobs:
- name: Check kube ovn pod restarts
run: |
make check-kube-ovn-pod-restarts
push:
name: Push Images
needs:
Expand Down
Loading

0 comments on commit 0068ce3

Please sign in to comment.