Skip to content

Commit db6738f

Browse files
authored
Build against K8s v0.25.0 (#555)
- Update k8s dependencies to v0.25.0 - removes CVE-2022-1996 - Update golang.org/x/net to 0.0.0-20220906165146-f3363e06e74c - removes CVE-2022-27664 - Update golang.org/x/text to 0.3.8 - removes CVE-2022-32149 - Add nightly Trivy scanning of Operator image
1 parent ef405fc commit db6738f

Some content is hidden

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

45 files changed

+638
-733
lines changed

.github/workflows/build.yaml

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,7 @@ jobs:
3333
# Checkout the source, we need a depth of zero to fetch all of the history otherwise
3434
# the copyright check cannot work out the date of the files from Git.
3535
steps:
36-
- uses: actions/checkout@v2
36+
- uses: actions/checkout@v3
3737
with:
3838
fetch-depth: 0
3939

@@ -64,26 +64,26 @@ jobs:
6464
distribution: 'zulu'
6565
java-version: '11'
6666

67+
- name: Set up Go
68+
uses: actions/setup-go@v3
69+
with:
70+
go-version: 1.19.x
71+
6772
- name: Cache Go Modules
68-
uses: actions/cache@v1
73+
uses: actions/cache@v3
6974
with:
7075
path: ~/go/pkg/mod
7176
key: ${{ runner.os }}-go-mods-${{ hashFiles('**/go.sum') }}
7277
restore-keys: |
7378
${{ runner.os }}-go-mods-
7479
7580
- name: Cache Maven packages
76-
uses: actions/cache@v1
81+
uses: actions/cache@v3
7782
with:
7883
path: ~/.m2
7984
key: ${{ runner.os }}-m2-${{ hashFiles('**/pom.xml') }}
8085
restore-keys: ${{ runner.os }}-m2
8186

82-
- name: Set up Go
83-
uses: actions/setup-go@v2
84-
with:
85-
go-version: 1.17.x
86-
8787
- name: Edit DNS Resolve
8888
shell: bash
8989
run: |

.github/workflows/coherence-matrix.yaml

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -95,7 +95,7 @@ jobs:
9595
baseImage: "gcr.io/distroless/java11-debian11"
9696

9797
steps:
98-
- uses: actions/checkout@v2
98+
- uses: actions/checkout@v3
9999
with:
100100
fetch-depth: 0
101101

@@ -126,26 +126,26 @@ jobs:
126126
distribution: 'zulu'
127127
java-version: '17'
128128

129+
- name: Set up Go
130+
uses: actions/setup-go@v3
131+
with:
132+
go-version: 1.19.x
133+
129134
- name: Cache Go Modules
130-
uses: actions/cache@v1
135+
uses: actions/cache@v3
131136
with:
132137
path: ~/go/pkg/mod
133138
key: ${{ runner.os }}-go-mods-${{ hashFiles('**/go.sum') }}
134139
restore-keys: |
135140
${{ runner.os }}-go-mods-
136141
137142
- name: Cache Maven packages
138-
uses: actions/cache@v1
143+
uses: actions/cache@v3
139144
with:
140145
path: ~/.m2
141146
key: ${{ runner.os }}-m2-${{ hashFiles('**/pom.xml') }}
142147
restore-keys: ${{ runner.os }}-m2
143148

144-
- name: Set up Go
145-
uses: actions/setup-go@v2
146-
with:
147-
go-version: 1.17.x
148-
149149
- name: Edit DNS Resolve
150150
shell: bash
151151
run: |

.github/workflows/compatibility-tests.yaml

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -102,7 +102,7 @@ jobs:
102102
k8s: kindest/node:v1.21.1@sha256:69860bda5563ac81e3c0057d654b5253219618a22ec3a346306239bba8cfa1a6
103103

104104
steps:
105-
- uses: actions/checkout@v2
105+
- uses: actions/checkout@v3
106106
with:
107107
fetch-depth: 0
108108

@@ -133,26 +133,26 @@ jobs:
133133
distribution: 'zulu'
134134
java-version: '11'
135135

136+
- name: Set up Go
137+
uses: actions/setup-go@v3
138+
with:
139+
go-version: 1.19.x
140+
136141
- name: Cache Go Modules
137-
uses: actions/cache@v1
142+
uses: actions/cache@v3
138143
with:
139144
path: ~/go/pkg/mod
140145
key: ${{ runner.os }}-go-mods-${{ hashFiles('**/go.sum') }}
141146
restore-keys: |
142147
${{ runner.os }}-go-mods-
143148
144149
- name: Cache Maven packages
145-
uses: actions/cache@v1
150+
uses: actions/cache@v3
146151
with:
147152
path: ~/.m2
148153
key: ${{ runner.os }}-m2-${{ hashFiles('**/pom.xml') }}
149154
restore-keys: ${{ runner.os }}-m2
150155

151-
- name: Set up Go
152-
uses: actions/setup-go@v2
153-
with:
154-
go-version: 1.17.x
155-
156156
- name: Edit DNS Resolve
157157
shell: bash
158158
run: |

.github/workflows/elastic-tests.yaml

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,7 @@ jobs:
3333
# Checkout the source, we need a depth of zero to fetch all the history otherwise
3434
# the copyright check cannot work out the date of the files from Git.
3535
steps:
36-
- uses: actions/checkout@v2
36+
- uses: actions/checkout@v3
3737
with:
3838
fetch-depth: 0
3939

@@ -64,26 +64,26 @@ jobs:
6464
distribution: 'zulu'
6565
java-version: '11'
6666

67+
- name: Set up Go
68+
uses: actions/setup-go@v3
69+
with:
70+
go-version: 1.19.x
71+
6772
- name: Cache Go Modules
68-
uses: actions/cache@v1
73+
uses: actions/cache@v3
6974
with:
7075
path: ~/go/pkg/mod
7176
key: ${{ runner.os }}-go-mods-${{ hashFiles('**/go.sum') }}
7277
restore-keys: |
7378
${{ runner.os }}-go-mods-
7479
7580
- name: Cache Maven packages
76-
uses: actions/cache@v1
81+
uses: actions/cache@v3
7782
with:
7883
path: ~/.m2
7984
key: ${{ runner.os }}-m2-${{ hashFiles('**/pom.xml') }}
8085
restore-keys: ${{ runner.os }}-m2
8186

82-
- name: Set up Go
83-
uses: actions/setup-go@v2
84-
with:
85-
go-version: 1.17.x
86-
8787
- name: Edit DNS Resolve
8888
shell: bash
8989
run: |

.github/workflows/istio-tests.yaml

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,7 @@ jobs:
4040
- 1.10.6
4141

4242
steps:
43-
- uses: actions/checkout@v2
43+
- uses: actions/checkout@v3
4444
with:
4545
fetch-depth: 0
4646

@@ -71,26 +71,26 @@ jobs:
7171
distribution: 'zulu'
7272
java-version: '11'
7373

74+
- name: Set up Go
75+
uses: actions/setup-go@v3
76+
with:
77+
go-version: 1.19.x
78+
7479
- name: Cache Go Modules
75-
uses: actions/cache@v1
80+
uses: actions/cache@v3
7681
with:
7782
path: ~/go/pkg/mod
7883
key: ${{ runner.os }}-go-mods-${{ hashFiles('**/go.sum') }}
7984
restore-keys: |
8085
${{ runner.os }}-go-mods-
8186
8287
- name: Cache Maven packages
83-
uses: actions/cache@v1
88+
uses: actions/cache@v3
8489
with:
8590
path: ~/.m2
8691
key: ${{ runner.os }}-m2-${{ hashFiles('**/pom.xml') }}
8792
restore-keys: ${{ runner.os }}-m2
8893

89-
- name: Set up Go
90-
uses: actions/setup-go@v2
91-
with:
92-
go-version: 1.17.x
93-
9494
- name: Edit DNS Resolve
9595
shell: bash
9696
run: |

.github/workflows/k8s-matrix.yaml

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -49,7 +49,7 @@ jobs:
4949
- kindest/node:v1.18.20@sha256:61c9e1698c1cb19c3b1d8151a9135b379657aee23c59bde4a8d87923fcb43a91
5050

5151
steps:
52-
- uses: actions/checkout@v2
52+
- uses: actions/checkout@v3
5353
with:
5454
fetch-depth: 0
5555

@@ -80,26 +80,26 @@ jobs:
8080
distribution: 'zulu'
8181
java-version: '11'
8282

83+
- name: Set up Go
84+
uses: actions/setup-go@v3
85+
with:
86+
go-version: 1.19.x
87+
8388
- name: Cache Go Modules
84-
uses: actions/cache@v1
89+
uses: actions/cache@v3
8590
with:
8691
path: ~/go/pkg/mod
8792
key: ${{ runner.os }}-go-mods-${{ hashFiles('**/go.sum') }}
8893
restore-keys: |
8994
${{ runner.os }}-go-mods-
9095
9196
- name: Cache Maven packages
92-
uses: actions/cache@v1
97+
uses: actions/cache@v3
9398
with:
9499
path: ~/.m2
95100
key: ${{ runner.os }}-m2-${{ hashFiles('**/pom.xml') }}
96101
restore-keys: ${{ runner.os }}-m2
97102

98-
- name: Set up Go
99-
uses: actions/setup-go@v2
100-
with:
101-
go-version: 1.17.x
102-
103103
- name: Edit DNS Resolve
104104
shell: bash
105105
run: |

.github/workflows/prometheus-tests.yaml

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,7 @@ jobs:
3333
# Checkout the source, we need a depth of zero to fetch all the history otherwise
3434
# the copyright check cannot work out the date of the files from Git.
3535
steps:
36-
- uses: actions/checkout@v2
36+
- uses: actions/checkout@v3
3737
with:
3838
fetch-depth: 0
3939

@@ -64,26 +64,26 @@ jobs:
6464
distribution: 'zulu'
6565
java-version: '11'
6666

67+
- name: Set up Go
68+
uses: actions/setup-go@v3
69+
with:
70+
go-version: 1.19.x
71+
6772
- name: Cache Go Modules
68-
uses: actions/cache@v1
73+
uses: actions/cache@v3
6974
with:
7075
path: ~/go/pkg/mod
7176
key: ${{ runner.os }}-go-mods-${{ hashFiles('**/go.sum') }}
7277
restore-keys: |
7378
${{ runner.os }}-go-mods-
7479
7580
- name: Cache Maven packages
76-
uses: actions/cache@v1
81+
uses: actions/cache@v3
7782
with:
7883
path: ~/.m2
7984
key: ${{ runner.os }}-m2-${{ hashFiles('**/pom.xml') }}
8085
restore-keys: ${{ runner.os }}-m2
8186

82-
- name: Set up Go
83-
uses: actions/setup-go@v2
84-
with:
85-
go-version: 1.17.x
86-
8787
- name: Edit DNS Resolve
8888
shell: bash
8989
run: |

.github/workflows/release.yml

Lines changed: 9 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ jobs:
1616
runs-on: ubuntu-latest
1717

1818
steps:
19-
- uses: actions/checkout@v2
19+
- uses: actions/checkout@v3
2020
with:
2121
fetch-depth: 0
2222

@@ -26,26 +26,26 @@ jobs:
2626
distribution: 'zulu'
2727
java-version: '11'
2828

29+
- name: Set up Go
30+
uses: actions/setup-go@v3
31+
with:
32+
go-version: 1.19.x
33+
2934
- name: Cache Go Modules
30-
uses: actions/cache@v1
35+
uses: actions/cache@v3
3136
with:
3237
path: ~/go/pkg/mod
3338
key: ${{ runner.os }}-go-mods-${{ hashFiles('**/go.sum') }}
3439
restore-keys: |
3540
${{ runner.os }}-go-mods-
3641
3742
- name: Cache Maven packages
38-
uses: actions/cache@v1
43+
uses: actions/cache@v3
3944
with:
4045
path: ~/.m2
4146
key: ${{ runner.os }}-m2-${{ hashFiles('**/pom.xml') }}
4247
restore-keys: ${{ runner.os }}-m2
4348

44-
- name: Set up Go
45-
uses: actions/setup-go@v2
46-
with:
47-
go-version: 1.17.x
48-
4949
- name: Start KinD Cluster
5050
shell: bash
5151
run: |
@@ -66,6 +66,7 @@ jobs:
6666
export NO_DAEMON=false
6767
make clean
6868
make all
69+
make trivy-scan
6970
if echo $GITHUB_EVENT_NAME -eq "release"; then PRE_RELEASE=false; else PRE_RELEASE=true; fi
7071
make release RELEASE_DRY_RUN=false PRE_RELEASE=$PRE_RELEASE
7172

.github/workflows/tanzu-tests.yaml

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,7 @@ jobs:
3737
- latest
3838

3939
steps:
40-
- uses: actions/checkout@v2
40+
- uses: actions/checkout@v3
4141
with:
4242
fetch-depth: 0
4343

@@ -68,26 +68,26 @@ jobs:
6868
distribution: 'zulu'
6969
java-version: '11'
7070

71+
- name: Set up Go
72+
uses: actions/setup-go@v3
73+
with:
74+
go-version: 1.19.x
75+
7176
- name: Cache Go Modules
72-
uses: actions/cache@v1
77+
uses: actions/cache@v3
7378
with:
7479
path: ~/go/pkg/mod
7580
key: ${{ runner.os }}-go-mods-${{ hashFiles('**/go.sum') }}
7681
restore-keys: |
7782
${{ runner.os }}-go-mods-
7883
7984
- name: Cache Maven packages
80-
uses: actions/cache@v1
85+
uses: actions/cache@v3
8186
with:
8287
path: ~/.m2
8388
key: ${{ runner.os }}-m2-${{ hashFiles('**/pom.xml') }}
8489
restore-keys: ${{ runner.os }}-m2
8590

86-
- name: Set up Go
87-
uses: actions/setup-go@v2
88-
with:
89-
go-version: 1.17.x
90-
9191
- name: Edit DNS Resolve
9292
shell: bash
9393
run: |

0 commit comments

Comments
 (0)