Skip to content

iris-iap-proxy: auto-deploy to cloud run on merge to main#4751

Merged
ravwojdyla merged 6 commits intomainfrom
iris-iap-proxy-deploy
Apr 14, 2026
Merged

iris-iap-proxy: auto-deploy to cloud run on merge to main#4751
ravwojdyla merged 6 commits intomainfrom
iris-iap-proxy-deploy

Conversation

@ravwojdyla-agent
Copy link
Copy Markdown
Contributor

@ravwojdyla-agent ravwojdyla-agent commented Apr 14, 2026

  • new .github/workflows/iris-iap-proxy.yaml workflow
    • changes job — dorny/paths-filter on infra/iris-iap-proxy/** and the workflow file itself
    • build job — docker build of infra/iris-iap-proxy/Dockerfile with gha cache, runs on PRs too so regressions are caught pre-merge
    • deploy job — runs only on push to main after build passes

Mirrors the marin-infra-dashboard deploy workflow. Uses a matrix over
the marin and marin-dev clusters since deploy.sh takes the cluster as
an argument and both services exist.

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
@ravwojdyla-agent ravwojdyla-agent added the agent-generated Created by automation/agent label Apr 14, 2026
ravwojdyla and others added 5 commits April 14, 2026 13:33
Mirrors the status-page workflow's build-before-deploy gate. The build
job runs on PRs too so Dockerfile regressions are caught before merge.

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
Workflow now has build + deploy jobs, matching the 'Marin - Infra
Dashboard' naming pattern.

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
Outer concurrency used ref-based grouping with cancel-in-progress=true,
which would cancel an in-flight deploy job when two merges land in quick
succession. The inner deploy-job concurrency with cancel-in-progress=false
can't help because the whole workflow run is cancelled from above.

Switch push-event grouping to github.sha (unique per commit) and gate
cancel-in-progress to pull_request events only.

Applied to both iris-iap-proxy and marin-infra-dashboard for consistency.

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
Replace the changes-job + if-gate pattern with native trigger-level
paths filters. Simpler yaml, no runner cost on unrelated pushes, no
"skipped" checks cluttering the PR UI.

The dorny pattern is needed when a workflow is a required status check
in branch protection (native paths skip means the check never reports,
blocking merges on unrelated PRs). These two workflows are not marked
required, so native filters are the better fit.

Applied to both iris-iap-proxy and marin-infra-dashboard.

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
@ravwojdyla ravwojdyla merged commit d62d0ef into main Apr 14, 2026
38 checks passed
@ravwojdyla ravwojdyla deleted the iris-iap-proxy-deploy branch April 14, 2026 20:49
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

agent-generated Created by automation/agent

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants