ci: trigger azure build for platform-api cloud image on merge - #3283
Merged
renuka-fernando merged 2 commits intoAug 21, 2026
Merged
Conversation
Replace the GHCR cloud-image build/push with a job that calls an Azure DevOps pipeline's incoming webhook; the Azure pipeline now builds the single-arch cloud image and pushes it to the ACR. Fires on merges into main and platform-api/v0.10.x (plus manual workflow_dispatch). The webhook payload is HMAC-SHA1 signed and requires the AZURE_WEBHOOK_URL and AZURE_WEBHOOK_SECRET secrets. Signed-off-by: Renuka Fernando <renukapiyumal@gmail.com>
renuka-fernando
requested review from
AnuGayan,
Arshardh,
CrowleyRajapakse,
HeshanSudarshana,
HiranyaKavishani,
Krishanx92,
PasanT9,
RakhithaRR,
Tharsanan1,
VirajSalaka,
ashera96,
chamilaadhi,
dushaniw,
hisanhunais,
malinthaprasan,
pubudu538,
senthuran16,
tgtshanika,
tharikaGitHub and
tharindu1st
as code owners
August 21, 2026 07:44
Contributor
|
Important Review skippedAuto reviews are disabled on base/target branches other than the default branch. Please check the settings in the CodeRabbit UI or the ⚙️ Run configurationConfiguration used: Organization UI Review profile: CHILL Plan: Pro Plus Run ID: You can disable this status message by setting the Use the checkbox below for a quick retry:
Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out. Comment |
Add --connect-timeout/--max-time so a stalled Azure endpoint can't keep the release job hanging and block later runs in the same concurrency group. Addresses CodeRabbit review on wso2#3282. Signed-off-by: Renuka Fernando <renukapiyumal@gmail.com>
ashera96
approved these changes
Aug 21, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Purpose
The
platform-apicloud image is moving off GitHub Actions/GHCR. Building and pushing the image to the internal control-plane ACR is now owned by an Azure DevOps pipeline, so this workflow should stop building the image and instead trigger that pipeline on merge.Goals
make cloud-buildand pushes to the control-plane ACR) whenever a PR is merged into a release branch.Approach
repositoryUrl,branch) to an Azure DevOps incoming webhook.pull_requestclosed(merged only) intomainandplatform-api/v0.10.x, plusworkflow_dispatch; path-filtered toplatform-api/**,common/**,httpkit/**, and the workflow file itself.pull_requestruns the workflow from the PR's base branch.AZURE_WEBHOOK_URLandAZURE_WEBHOOK_SECRET.User stories
N/A
Documentation
N/A - CI-only change, no product documentation impact.
Automation tests
Security checks
AZURE_WEBHOOK_URL/AZURE_WEBHOOK_SECRETGitHub secrets)Samples
On merge, the workflow signs and POSTs
{ "repositoryUrl": ..., "branch": ... }to the Azure webhook; the pipeline clones the branch HEAD, runsmake cloud-build, and pusheschoreocontrolplane.azurecr.io/choreoipaas/platform-api:<branch>-<commit>.Related PRs
main: ci: trigger azure build for platform-api cloud image on merge #3282 (same workflow, kept identical).Test environment
N/A - GitHub Actions (ubuntu-latest).