Add new cci command group for hashing configs, flows, and dependencies and for freezing flows #3833
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.
Commands for tapping into the freeze functionality used for publishing to MetaDeploy and for creating hashes of key parts of the configuration of a build, often dynamically resolved, for use in pipeline automations.
Test cases coming soon but wanted to get the PR in to start getting feedback.
cci hash config
: Hashes full project configcci hash config
--locators project__package,orgs__scratch__feature: Hashes only two sections of configcci hash flow dev_org
: Hashes the current dynamic configuration of the dev_org flowcci hash flow dev_org --freeze
: Freezes the dev_org flow to a flattened list of static stepscci hash dependencies
: Resolves and hashes the current production dependencies for the projectcci hash dependencies --resolution-strategy prerelease
: Resolve and hashes the current prerelease dependencies for the projectcci flow freeze dev_org
: Freezes the flow, hashes the frozen flow, outputs dev_org__a1b2c3D4.yml with the frozen flow defiinitioncumulusci.core.github.set_github_output
for handling setting a GitHub Actions output variable if running in a GitHub Actions workerfreeze
method to flowrunner