Skip to content

Commit f93d1cb

Browse files
authored
Merge pull request #936 from rabbitmq/fix-ci
Fix build job in CI
2 parents 26a8f59 + 6c0c2c4 commit f93d1cb

File tree

1 file changed

+11
-2
lines changed

1 file changed

+11
-2
lines changed

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

Lines changed: 11 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -138,6 +138,7 @@ jobs:
138138
kustomize edit set image \
139139
rabbitmqoperator/messaging-topology-operator-dev=rabbitmqoperator/messaging-topology-operator:"${RELEASE_VERSION}"
140140
popd
141+
make generate-manifests
141142
142143
- name: Upload operator manifests
143144
uses: actions/upload-artifact@v4
@@ -147,6 +148,14 @@ jobs:
147148
retention-days: 2
148149
if-no-files-found: error
149150

151+
- name: Notify Google Chat
152+
if: failure()
153+
uses: SimonScholz/google-chat-action@main
154+
with:
155+
webhookUrl: '${{ secrets.GOOGLE_CHAT_WEBHOOK_URL }}'
156+
jobStatus: ${{ job.status }}
157+
title: Messaging Topology Operator - Build Operator
158+
150159
system_tests:
151160
name: Local system tests (stable k8s)
152161
runs-on: ubuntu-latest
@@ -186,7 +195,7 @@ jobs:
186195
uses: actions/download-artifact@v4
187196
with:
188197
name: operator_image
189-
path: /tmp
198+
path: ${{ runner.temp }}/operator-image
190199

191200
- name: Install Carvel
192201
uses: carvel-dev/[email protected]
@@ -204,7 +213,7 @@ jobs:
204213
205214
- name: Install operator from build
206215
run: |
207-
kind load image-archive /tmp/operator.tar --name system-testing
216+
kind load image-archive ${{ runner.temp }}/operator-image/operator.tar --name system-testing
208217
ytt -f tmp/messaging-topology-operator-with-certmanager.yaml -f config/ytt_overlays/never_pull.yml | kubectl apply -f-
209218
kubectl --namespace=rabbitmq-system wait --for=condition=Available deployment/messaging-topology-operator
210219

0 commit comments

Comments
 (0)