Ci/promotion based pipeline - #9
Open
devfreeguy wants to merge 2 commits into
Open
devfreeguy wants to merge 2 commits into
devfreeguy wants to merge 2 commits into
Conversation
Adds ci-dev.yml: on push to dev, typecheck+test, then a build-only (no registry push) validation of the api/indexer/migrator Docker images, then fast-forward dev onto staging for review. Removes the now-redundant verify job from deploy-production.yml -- that validation already happened on dev before the change reached staging/main via review. Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>
Corrects the previous ci-dev.yml, which fast-forward-pushed dev onto
staging directly (git push origin HEAD:staging) -- that bypasses any
ruleset placed on staging and doesn't work at all once staging requires
a PR.
ci.yml now runs verify + build (api/indexer/migrator, both platforms,
push:false) on:
- pull_request into dev, so the dev ruleset has a real pre-merge
status check to require
- push to dev or staging, so the resulting commit already carries
passing checks before the next promotion PR is opened against it
A single `promote` job (push-triggered only) opens a dev->staging or
staging->main PR via `gh pr create` -- never a push. It skips cleanly
if an equivalent PR is already open or there's nothing to promote, and
fails loudly if the target branch has diverged (commits not reachable
from the source), rather than silently opening a PR that could hide
that divergence. No workflow in this repo pushes to dev, staging, or
main; only humans merging PRs advance those branches.
deploy-production.yml is unchanged except for a comment update -- it
already only triggers on push to main and never re-runs verify/build.
Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>
|
The latest updates on your projects. Learn more about Vercel for GitHub.
|
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.
No description provided.