Skip to content

ci: sandbox deploy pipeline + CI/CD deployment ADR#21

Open
bkaankuguoglu wants to merge 1 commit into
mainfrom
ci/sandbox-deploy-pipeline
Open

ci: sandbox deploy pipeline + CI/CD deployment ADR#21
bkaankuguoglu wants to merge 1 commit into
mainfrom
ci/sandbox-deploy-pipeline

Conversation

@bkaankuguoglu

Copy link
Copy Markdown
Member

Summary

Part (b) of splitting #18 (from @thijs-hakkenberg / Ecolab sandbox onboarding) into two focused PRs. This PR carries the generic CI/CD deployment pipeline; the three bug fixes + Lakebase smoke check are in the companion PR.

  • .github/workflows/deploy-sandbox.yml — GitHub Actions starter for the sandbox → stage → prod promotion pipeline: bundle deploy, app deploy, jobs run-now, poll until terminal, and fail the CI job if result_state != SUCCESS. Gated on the Lakebase smoke check task introduced in the companion PR.
  • docs/decisions/2026-06-06-cicd-deployment-pattern.md — ADR recording the rationale for the promotion pattern and the smoke-check gate.

This is a starting point, not a finished pipeline. Stage and prod workflows are deferred until those workspaces are provisioned at Ecolab.

Expected secrets: DATABRICKS_HOST_SANDBOX, DATABRICKS_CLIENT_ID_SANDBOX, DATABRICKS_CLIENT_SECRET_SANDBOX.

Test plan

  • (Reviewers) Sanity-check deploy-sandbox.yml against CI conventions (secret names, runner setup).
  • Merge after the companion PR, so the smoke-check task this gates on exists on main.

Split out from #18. Original author: @thijs-hakkenberg. Companion PR carries the bug fixes + smoke check this pipeline gates on.

This pull request and its description were written by Isaac.

GitHub Actions workflow (.github/workflows/deploy-sandbox.yml) for the
sandbox -> stage -> prod promotion pipeline: bundle deploy, app deploy,
`jobs run-now`, poll until terminal, and fail the CI job if
`result_state != SUCCESS` — gated on the Lakebase smoke check task.
Paired ADR (docs/decisions/2026-06-06-cicd-deployment-pattern.md) records
the rationale. Starter only; stage/prod workflows deferred until those
workspaces are provisioned.

Expected secrets: DATABRICKS_HOST_SANDBOX, DATABRICKS_CLIENT_ID_SANDBOX,
DATABRICKS_CLIENT_SECRET_SANDBOX.

Split out from #18; the bug fixes + smoke check are in a separate PR.

Co-authored-by: Isaac
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants