Skip to content
This repository has been archived by the owner on Mar 19, 2024. It is now read-only.

Commit

Permalink
Trigger deploy to 3scale cluster on build success
Browse files Browse the repository at this point in the history
  • Loading branch information
EricWittmann committed Nov 3, 2023
1 parent b7da07e commit 09e5bfe
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 2 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/release-images.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ env:
PLATFORMS: linux/amd64,linux/arm64,linux/s390x,linux/ppc64le
IMAGE_ORG: apicurio
# The below values are extracted from the github.event context,
# which is only availble when the workflow gets triggered by a release event.
# which is only available when the workflow gets triggered by a release event.
RELEASE_VERSION: ${{ github.event.release.name }}
BRANCH: ${{ github.event.release.target_commitish }}

Expand Down
10 changes: 9 additions & 1 deletion .github/workflows/verify.yaml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
name: Build PR
name: Build & Verify

on:
push:
Expand Down Expand Up @@ -130,3 +130,11 @@ jobs:
tags: |
docker.io/${{env.IMAGE_ORG}}/apicurio-api-designer-ui:${{env.IMAGE_TAG}}
quay.io/${{env.IMAGE_ORG}}/apicurio-api-designer-ui:${{env.IMAGE_TAG}}
# Trigger a deployment workflow in the apicurio-operate-first repository, which will
# deploy the `latest-snapshot` version of designer into the 3scale OpenShift cluster
# that we just built and pushed in the steps above.
trigger-3scale-deploy:
needs: [build-test]
if: github.event_name == 'push'
uses: apicurio/apicurio-operate-first/.github/workflows/deploy_latest_designer.yml@main

0 comments on commit 09e5bfe

Please sign in to comment.