Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
31 changes: 11 additions & 20 deletions .github/workflows/build-test-publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -413,12 +413,6 @@ jobs:
runs-on: ubuntu-latest
if: ${{ github.event_name != 'pull_request' }}
needs: build_operator
permissions:
# Required by ben-z/gh-action-mutex@v1.0.0-alpha.10
contents: 'write'
# Required by google-github-actions/auth@v2
# Required by google-github-actions/get-gke-credentials@v2
id-token: 'write'
steps:
- name: Check out code into the Go module directory
uses: actions/checkout@v4
Expand All @@ -429,24 +423,21 @@ jobs:
go-version: ${{ env.GO_VERSION }}
check-latest: true

- name: Acquire lock for ci-bunny-1
uses: ben-z/gh-action-mutex@v1.0.0-alpha.10
- name: Download Operator artifact
uses: actions/download-artifact@v4
with:
branch: lock-ci-bunny-1
name: operator_image
path: /tmp

- id: auth
name: Authenticate with GCP
uses: google-github-actions/auth@v2
- name: Create KinD
uses: helm/kind-action@v1
with:
workload_identity_provider: ${{ secrets.GCP_IDENTITY_PROVIDER }}
service_account: ${{ secrets.GCP_SA }}
cluster_name: upgrade-testing
node_image: ${{ env.KIND_NODE_IMAGE }}

- id: get-credentials
name: Fetch creds
uses: google-github-actions/get-gke-credentials@v2
with:
cluster_name: ci-bunny-1
location: europe-west1
- name: Install Operator build
run: |
kind load image-archive /tmp/operator.tar --name upgrade-testing

- name: Get operator manifest
uses: actions/download-artifact@v4
Expand Down
2 changes: 1 addition & 1 deletion hack/test-upgrade.sh
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ metadata:
spec:
image: rabbitmq:management
persistence:
storage: 20Gi
storage: 0
replicas: 3
resources:
limits: {}
Expand Down
Loading