ci: sandbox deploy pipeline + CI/CD deployment ADR#21
Open
bkaankuguoglu wants to merge 1 commit into
Open
Conversation
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
Closed
11 tasks
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.
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 ifresult_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
deploy-sandbox.ymlagainst CI conventions (secret names, runner setup).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.