Skip to content

Commit 6a9b2d8

Browse files
authored
release-1.10: refactor e2e (#2213)
1 parent b2901e8 commit 6a9b2d8

File tree

126 files changed

+851
-15046
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

126 files changed

+851
-15046
lines changed

.github/workflows/build-arm64-image.yaml

+17-19
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,7 @@ on:
33
pull_request:
44
branches:
55
- master
6+
- release-*
67
paths-ignore:
78
- 'docs/**'
89
- '**.md'
@@ -14,24 +15,25 @@ on:
1415
- 'docs/**'
1516
- '**.md'
1617

18+
concurrency:
19+
group: "${{ github.workflow }}-${{ github.ref }}"
20+
cancel-in-progress: true
21+
1722
env:
18-
GO_VERSION: '1.18'
23+
GO_VERSION: '1.19'
1924

2025
jobs:
2126
build:
2227
name: Build arm64
23-
runs-on: ubuntu-20.04
28+
runs-on: ubuntu-22.04
2429
steps:
25-
- name: Set up Go 1.x
26-
uses: actions/setup-go@v3
30+
- uses: actions/checkout@v3
31+
- uses: actions/setup-go@v3
2732
with:
2833
go-version: '${{ env.GO_VERSION }}'
2934
check-latest: true
3035
id: go
3136

32-
- name: Check out code into the Go module directory
33-
uses: actions/checkout@v3
34-
3537
- name: Set up QEMU
3638
uses: docker/setup-qemu-action@v2
3739
with:
@@ -40,21 +42,17 @@ jobs:
4042
- name: Docker Buildx
4143
uses: docker/setup-buildx-action@v2
4244

43-
- name: Go Build Cache
44-
uses: actions/cache@v3
45-
with:
46-
path: /home/runner/.cache/go-build
47-
key: ${{ runner.os }}-arm64-go-build-${{ hashFiles('**/go.sum') }}
48-
restore-keys: |
49-
${{ runner.os }}-arm64-go-build-
45+
- name: Export Go full version
46+
run: echo "GO_FULL_VER=$(go version | awk '{print $3}')" >> "$GITHUB_ENV"
5047

51-
- name: Go Mod Cache
48+
- name: Go Cache
5249
uses: actions/cache@v3
5350
with:
54-
path: ~/go/pkg/mod
55-
key: ${{ runner.os }}-arm64-go-${{ hashFiles('**/go.sum') }}
56-
restore-keys: |
57-
${{ runner.os }}-arm64-go-
51+
path: |
52+
~/.cache/go-build
53+
~/go/pkg/mod
54+
key: ${{ runner.os }}-${{ env.GO_FULL_VER }}-arm64-${{ hashFiles('**/go.sum') }}
55+
restore-keys: ${{ runner.os }}-${{ env.GO_FULL_VER }}-arm64-
5856

5957
- name: Build
6058
run: |

.github/workflows/build-dpdk-image.yaml

+1-1
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ on: workflow_dispatch
44
jobs:
55
build:
66
name: Build DPDK
7-
runs-on: ubuntu-20.04
7+
runs-on: ubuntu-22.04
88
steps:
99
- name: Check out code
1010
uses: actions/checkout@v3

.github/workflows/build-kube-ovn-base.yaml

+3-3
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ on: workflow_dispatch
44
jobs:
55
build-amd64:
66
name: Build AMD64
7-
runs-on: ubuntu-20.04
7+
runs-on: ubuntu-22.04
88
steps:
99
- name: Check out code into the Go module directory
1010
uses: actions/checkout@v3
@@ -25,7 +25,7 @@ jobs:
2525

2626
build-arm64:
2727
name: Build ARM64
28-
runs-on: ubuntu-20.04
28+
runs-on: ubuntu-22.04
2929
steps:
3030
- name: Check out code into the Go module directory
3131
uses: actions/checkout@v3
@@ -55,7 +55,7 @@ jobs:
5555
- build-arm64
5656
- build-amd64
5757
name: push
58-
runs-on: ubuntu-20.04
58+
runs-on: ubuntu-22.04
5959
steps:
6060
- name: Check out code into the Go module directory
6161
uses: actions/checkout@v3

0 commit comments

Comments
 (0)