Skip to content

Commit 03b50cf

Browse files
committed
Use RabbitMQ 4 in system tests
1 parent ed12476 commit 03b50cf

File tree

5 files changed

+4
-1
lines changed

5 files changed

+4
-1
lines changed

.github/workflows/build-test-publish.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -138,6 +138,7 @@ jobs:
138138
- name: Build manifest
139139
env:
140140
RELEASE_VERSION: ${{ steps.meta.outputs.version }}
141+
shell: bash # important: because it sets pipefail, so that the job fails if there are failures in the command pipe
141142
run: |
142143
make install-tools
143144
pushd config/installation

.github/workflows/pr.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -107,6 +107,7 @@ jobs:
107107
- name: System tests
108108
env:
109109
IMG: local/rabbitmq-topology-operator:pr
110+
shell: bash # important: because it sets pipefail, so that the job fails if there are failures in the command pipe
110111
run: |
111112
kind load image-archive /tmp/operator.tar --name topology-operator-testing
112113
make cert-manager cmctl

config/default/base/kustomization.yaml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,7 @@ resources:
1111
patches:
1212
- path: manager_webhook_patch.yaml
1313
- path: webhookcainjection_patch.yaml
14+
# TODO: remove webhook ca injection? we remove it using sed in Makefile
1415

1516
images:
1617
- name: controller

system_tests/utils.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -184,7 +184,7 @@ func basicTestRabbitmqCluster(name, namespace string) *rabbitmqv1beta1.RabbitmqC
184184
},
185185
Spec: rabbitmqv1beta1.RabbitmqClusterSpec{
186186
Replicas: ptr.To(int32(1)),
187-
Image: "rabbitmq:3-management",
187+
Image: "rabbitmq:4-management",
188188
Resources: &corev1.ResourceRequirements{
189189
Requests: corev1.ResourceList{
190190
corev1.ResourceMemory: resource.MustParse("100Mi"),

0 commit comments

Comments
 (0)