Skip to content

Commit 2a46b2b

Browse files
authored
drop go1.18 (#1557)
Signed-off-by: Evan Baker <[email protected]> Signed-off-by: Evan Baker <[email protected]>
1 parent 069fba2 commit 2a46b2b

File tree

3 files changed

+1
-83
lines changed

3 files changed

+1
-83
lines changed

.github/workflows/crdgen.yaml

Lines changed: 0 additions & 40 deletions
Original file line numberDiff line numberDiff line change
@@ -8,46 +8,6 @@ on:
88
- synchronize
99
- ready_for_review
1010
jobs:
11-
crdgen:
12-
strategy:
13-
matrix:
14-
go-version: ['1.18']
15-
os: [ubuntu-latest]
16-
name: CRDs are Generated
17-
runs-on: ${{ matrix.os }}
18-
steps:
19-
- uses: actions/checkout@v3
20-
with:
21-
fetch-depth: 0
22-
- uses: actions/setup-go@v3
23-
with:
24-
go-version: ${{ matrix.go-version }}
25-
- name: Regenerate NodeNetworkConfig CRD
26-
run: make -C crd/nodenetworkconfig
27-
- name: Regenerate MultitenantNetworkContainer CRD
28-
run: make -C crd/multitenantnetworkcontainer
29-
- name: Fail if the tree is dirty
30-
run: test -z "$(git status --porcelain)"
31-
crdgen118:
32-
strategy:
33-
matrix:
34-
go-version: ['1.18']
35-
os: [ubuntu-latest]
36-
name: CRDs are Generated
37-
runs-on: ${{ matrix.os }}
38-
steps:
39-
- uses: actions/checkout@v3
40-
with:
41-
fetch-depth: 0
42-
- uses: actions/setup-go@v3
43-
with:
44-
go-version: ${{ matrix.go-version }}
45-
- name: Regenerate NodeNetworkConfig CRD
46-
run: make -C crd/nodenetworkconfig
47-
- name: Regenerate MultitenantNetworkContainer CRD
48-
run: make -C crd/multitenantnetworkcontainer
49-
- name: Fail if the tree is dirty
50-
run: test -z "$(git status --porcelain)"
5111
crdgen119:
5212
strategy:
5313
matrix:

.github/workflows/golangci.yaml

Lines changed: 0 additions & 42 deletions
Original file line numberDiff line numberDiff line change
@@ -8,48 +8,6 @@ on:
88
- synchronize
99
- ready_for_review
1010
jobs:
11-
golangci:
12-
strategy:
13-
fail-fast: false
14-
matrix:
15-
go-version: [1.18.x]
16-
os: [ubuntu-latest, windows-latest]
17-
name: Lint
18-
runs-on: ${{ matrix.os }}
19-
steps:
20-
- uses: actions/setup-go@v3
21-
with:
22-
go-version: ${{ matrix.go-version }}
23-
- uses: actions/checkout@v3
24-
with:
25-
fetch-depth: 0
26-
- name: golangci-lint
27-
uses: golangci/golangci-lint-action@v3
28-
with:
29-
version: v1.48.0
30-
args: --timeout=10m
31-
only-new-issues: true
32-
golangci118:
33-
strategy:
34-
fail-fast: false
35-
matrix:
36-
go-version: [1.18.x]
37-
os: [ubuntu-latest, windows-latest]
38-
name: Lint
39-
runs-on: ${{ matrix.os }}
40-
steps:
41-
- uses: actions/setup-go@v3
42-
with:
43-
go-version: ${{ matrix.go-version }}
44-
- uses: actions/checkout@v3
45-
with:
46-
fetch-depth: 0
47-
- name: golangci-lint
48-
uses: golangci/golangci-lint-action@v3
49-
with:
50-
version: v1.48.0
51-
args: --timeout=10m
52-
only-new-issues: true
5311
golangci119:
5412
strategy:
5513
fail-fast: false

.pipelines/Dockerfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ RUN echo "deb http://archive.ubuntu.com/ubuntu/ bionic multiverse" | sudo tee -a
1111
RUN echo "deb http://archive.ubuntu.com/ubuntu/ bionic universe" | sudo tee -a /etc/apt/sources.list
1212
RUN echo "deb http://archive.ubuntu.com/ubuntu/ bionic main" | sudo tee -a /etc/apt/sources.list
1313
RUN apt-get update && apt-get install -y iptables ipset iproute2 ebtables
14-
RUN wget -qO- https://golang.org/dl/go1.18.linux-amd64.tar.gz | tar zxf - -C /usr/lib/
14+
RUN wget -qO- https://golang.org/dl/go1.19.linux-amd64.tar.gz | tar zxf - -C /usr/lib/
1515
ENV PATH="/usr/lib/go/bin/:${PATH}"
1616
ENV GOROOT="/usr/lib/go"
1717
ENV GOPATH="/root/go"

0 commit comments

Comments
 (0)