Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add new cci command group for hashing config, flows, and dependencies and support for freezing flows #17

Merged
merged 1 commit into from
Sep 21, 2024

Conversation

jlantz
Copy link

@jlantz jlantz commented Sep 21, 2024

  • New cci hash command group
    • cci hash config: Hashes full project config
    • cci hash config --locators project__package,orgs__scratch__feature: Hashes only two sections of config
    • cci hash flow dev_org: Hashes the current dynamic configuration of the dev_org flow
    • cci hash flow dev_org --freeze: Freezes the dev_org flow to a flattened list of static steps
    • cci hash dependencies: Resolves and hashes the current production dependencies for the project
    • cci hash dependencies --resolution-strategy prerelease: Resolve and hashes the current prerelease dependencies for the project
  • New cci flow freeze dev_org: Freezes the flow, hashes the frozen flow, outputs dev_org__a1b2c3D4.yml with the frozen flow defiinition
  • New cumulusci.core.github.set_github_output for handling setting a GitHub Actions output variable if running in a GitHub Actions worker
  • Added freeze method to flowrunner

… flows:

- New `cci hash` command group
    - `cci hash config`: Hashes full project config
    - `cci hash config --locators project__package,orgs__scratch__feature`: Hashes only two sections of config
    - `cci hash flow dev_org`: Hashes the current dynamic configuration of the `dev_org` flow
    - `cci hash flow dev_org --freeze`: Freezes the `dev_org` flow to a flattened list of static steps
- New `cci flow freeze dev_org`: Freezes the flow, hashes the frozen flow, outputs dev_org__a1b2c3D4.yml with the frozen flow defiinition
- New `cumulusci.core.github.set_github_output` for handling setting a GitHub Actions output variable if running in a GitHub Actions worker
- Added `freeze` method to flowrunner
@jlantz jlantz changed the base branch from main to d2x September 21, 2024 23:21
@jlantz jlantz merged commit 1725373 into d2x Sep 21, 2024
5 of 20 checks passed
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.

1 participant