Skip to content

Commit

Permalink
Merge pull request #887 from rabbitmq/ci-remove-gcs
Browse files Browse the repository at this point in the history
Remove upload GCS job in CI

[skip ci]
  • Loading branch information
Zerpet authored Sep 20, 2024
2 parents a6de1bc + 4f55258 commit 16f09c3
Showing 1 changed file with 0 additions and 48 deletions.
48 changes: 0 additions & 48 deletions .github/workflows/build-test-publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -227,53 +227,6 @@ jobs:
tags: ${{ steps.single_arch_meta_arm64.outputs.tags }}
labels: ${{ steps.single_arch_meta_arm64.outputs.labels }}

upload_gcs:
# TODO: nuke this after refactoring carvel CI
runs-on: ubuntu-latest
name: Upload manifests to GCS
if: ${{ startsWith(github.ref, 'refs/tags/v') }}
needs:
- build_operator
permissions:
contents: 'read'
id-token: 'write'
env:
image_version: ${{ needs.build_operator.outputs.image_tag }}
steps:
- name: Rename manifest for GCS
run: mv releases/messaging-topology-operator-with-certmanager.yaml messaging-topology-operator-with-certmanager-${{ env.image_version }}.yaml

- id: auth
uses: google-github-actions/auth@v2
with:
# using workload identity provider to authenticate with GCP
# workload identity provider configurations can be viewed in GCP console and gcloud cli
# doc: https://cloud.google.com/blog/products/identity-security/enabling-keyless-authentication-from-github-actions
workload_identity_provider: ${{ secrets.GCP_IDENTITY_PROVIDER }}
service_account: ${{ secrets.GCP_SA }}

- name: Upload manifests to GCS
uses: 'google-github-actions/upload-cloud-storage@v2'
with:
path: messaging-topology-operator-with-certmanager-${{ env.image_version }}.yaml
destination: operator-manifests-dev
process_gcloudignore: false

- name: Update carvel-packaging-dev pipeline trigger
uses: google-github-actions/upload-cloud-storage@v2
with:
path: latest-topology-operator-dev-manifest.txt
destination: operator-manifests-dev
process_gcloudignore: false

- name: Notify Google Chat
if: failure()
uses: SimonScholz/google-chat-action@main
with:
webhookUrl: '${{ secrets.GOOGLE_CHAT_WEBHOOK_URL }}'
jobStatus: ${{ job.status }}
title: Messaging Topology Operator - Build and Push operator

system_tests:
name: Local system tests (stable k8s)
runs-on: ubuntu-latest
Expand Down Expand Up @@ -341,7 +294,6 @@ jobs:
make system-tests
- name: Notify Google Chat
# TODO: remove before PR
if: failure()
uses: SimonScholz/google-chat-action@main
with:
Expand Down

0 comments on commit 16f09c3

Please sign in to comment.