Repository navigation
fix: pipeline stages take their wave's gate, and chant 0.124.116 - #413
Merged
Merged
Conversation
pipelineFromConfig got no gate for a stage, so a promote into a stage whose wave says never waited for an approval. The stage now takes its wave's gate and approval mode; a wave that sets none leaves chant's default. gate deferred to the end of the wave
promote prints 'yodel approve <env> --plan <digest>'; the claim looked for chant's wording and found nothing. It now reads yodel's line and runs it through yodel's CLI with the environment's name typed and --actor claims-approver. The stage gate is checked on the env and the release digest, the wave gate on the env and a digest apart from the release's. Checked: tsc and eslint clean, scenarios/run.ts --list. The claim itself was not run (needs a grant). gate deferred to the end of the wave
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.
Closes #406
Closes #409
The follow-up wave's sql-yodeler changes for the
pipelinerow on INTENTIUS/chant#5337, and the move to chant 0.124.116, which carries INTENTIUS/chant#5477.release.first, so the hook rendersrelease cut auto --first 0.1.0. Twoci-pipelinetests expect the new command.pipelineDeclarationpasses each wave's gate and approval to its stage, so a stage undergategets the policy the wave declared.pipelineclaim reads theyodel approve <env> --plan <digest>line that the promote prints, and approves as a separate actor.The
pipelinerowIt ran once on a maintainer grant, against a local pack of chant's wave branch. The merge cut release 0.1.1, the prod-before-staging refusal held, and the staging promote applied. It stops at the prod approval on #411: in a project with waves,
yodel approvemisses the pipeline stage's gate. That fix is for a later pull request.Local gate
npm run checkran once at the end of the wave against the local chant pack. 1,158 tests passed. The twoci-pipelinetests that expect the old release-cut command failed; the pin move updates them. After the pin move the build and its static checks pass, and so dotest/ci-pipeline.test.tsandnpm run templates:check.