Skip to content

Commit 22632ab

Browse files
authored
Pin Bazel version to 5.4.0 (#947)
* Pin Bazel version to 5.4.0 GitHub runners used in CI use Bazelisk to install Bazel and by default it fetches the latest version. Bazel 6.0.0 was released a few days ago with some changes that brake the build. This PR pins the Bazel version used by GitHub runners. * Update templates
1 parent 54d6fcd commit 22632ab

File tree

10 files changed

+17
-5
lines changed

10 files changed

+17
-5
lines changed

.bazeliskrc

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
USE_BAZEL_VERSION=5.4.0

config/manager/patches/image.yaml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -182,3 +182,5 @@ spec:
182182
value: cockroachdb/cockroach:v22.1.12
183183
- name: RELATED_IMAGE_COCKROACH_v22_2_0
184184
value: cockroachdb/cockroach:v22.2.0
185+
- name: RELATED_IMAGE_COCKROACH_v22_2_1
186+
value: cockroachdb/cockroach:v22.2.1

config/manifests/bases/cockroach-operator.clusterserviceversion.yaml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -338,3 +338,5 @@ spec:
338338
image: registry.connect.redhat.com/cockroachdb/cockroach@sha256:310310515625f099a928545865f7096997871ee4a16650a01c76c3799a18b684
339339
- name: RELATED_IMAGE_COCKROACH_v22_2_0
340340
image: registry.connect.redhat.com/cockroachdb/cockroach@sha256:e50aab39722af22ccbf3d1db19e37972d52b0fc9a40998a64618dc966b2bac57
341+
- name: RELATED_IMAGE_COCKROACH_v22_2_1
342+
image: registry.connect.redhat.com/cockroachdb/cockroach@sha256:db4e5c2f27ba23e95a363c8174c01f0f9c6b6a27e0e581c86a38f3a1f68dc43c

config/manifests/patches/deployment_patch.yaml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -191,4 +191,6 @@ spec:
191191
value: registry.connect.redhat.com/cockroachdb/cockroach@sha256:310310515625f099a928545865f7096997871ee4a16650a01c76c3799a18b684
192192
- name: RELATED_IMAGE_COCKROACH_v22_2_0
193193
value: registry.connect.redhat.com/cockroachdb/cockroach@sha256:e50aab39722af22ccbf3d1db19e37972d52b0fc9a40998a64618dc966b2bac57
194+
- name: RELATED_IMAGE_COCKROACH_v22_2_1
195+
value: registry.connect.redhat.com/cockroachdb/cockroach@sha256:db4e5c2f27ba23e95a363c8174c01f0f9c6b6a27e0e581c86a38f3a1f68dc43c
194196
image: RH_COCKROACH_OP_IMAGE_PLACEHOLDER

config/samples/crdb-tls-example.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ kind: CrdbCluster
1919
metadata:
2020
name: crdb-tls-example
2121
spec:
22-
cockroachDBVersion: v22.2.0
22+
cockroachDBVersion: v22.2.1
2323
dataStore:
2424
pvc:
2525
spec:

crdb-versions.yaml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -256,3 +256,6 @@ CrdbVersions:
256256
- image: cockroachdb/cockroach:v22.2.0
257257
redhatImage: registry.connect.redhat.com/cockroachdb/cockroach@sha256:e50aab39722af22ccbf3d1db19e37972d52b0fc9a40998a64618dc966b2bac57
258258
tag: v22.2.0
259+
- image: cockroachdb/cockroach:v22.2.1
260+
redhatImage: registry.connect.redhat.com/cockroachdb/cockroach@sha256:db4e5c2f27ba23e95a363c8174c01f0f9c6b6a27e0e581c86a38f3a1f68dc43c
261+
tag: v22.2.1

examples/client-secure-operator.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ spec:
2323
serviceAccountName: cockroachdb-sa
2424
containers:
2525
- name: cockroachdb-client-secure
26-
image: cockroachdb/cockroach:v22.2.0
26+
image: cockroachdb/cockroach:v22.2.1
2727
imagePullPolicy: IfNotPresent
2828
volumeMounts:
2929
- name: client-certs

examples/example.yaml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -40,9 +40,9 @@ spec:
4040
memory: 8Gi
4141
tlsEnabled: true
4242
# You can set either a version of the db or a specific image name
43-
# cockroachDBVersion: v22.2.0
43+
# cockroachDBVersion: v22.2.1
4444
image:
45-
name: cockroachdb/cockroach:v22.2.0
45+
name: cockroachdb/cockroach:v22.2.1
4646
# nodes refers to the number of crdb pods that are created
4747
# via the statefulset
4848
nodes: 3

examples/smoketest.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -39,5 +39,5 @@ spec:
3939
memory: 300Mi
4040
tlsEnabled: true
4141
image:
42-
name: cockroachdb/cockroach:v22.2.0
42+
name: cockroachdb/cockroach:v22.2.1
4343
nodes: 3

install/operator.yaml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -540,6 +540,8 @@ spec:
540540
value: cockroachdb/cockroach:v22.1.12
541541
- name: RELATED_IMAGE_COCKROACH_v22_2_0
542542
value: cockroachdb/cockroach:v22.2.0
543+
- name: RELATED_IMAGE_COCKROACH_v22_2_1
544+
value: cockroachdb/cockroach:v22.2.1
543545
- name: OPERATOR_NAME
544546
value: cockroachdb
545547
- name: POD_NAME

0 commit comments

Comments
 (0)