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

Implemented variable substitution for nested structures in cumulusci.yml #3665

Merged
merged 2 commits into from
Sep 28, 2023

Conversation

aditya-balachander
Copy link
Contributor

W-14176826

Implemented functionality to support variable replacement in nested structures in the cumulusci.yml file such as:

task:
    deploy:
        options:
            path: $project_config.project__package__path
            transforms:
                - transform: find_replace
                  options:
                      patterns:
                          - find: foo
                            replace: $project_config.project__package__namespace

Here both variables are substituted by the appropriate value. Previously only the path would've been substituted

@jofsky jofsky merged commit dda6937 into main Sep 28, 2023
18 checks passed
@jofsky jofsky deleted the feature/replace_variable_nested branch September 28, 2023 20:52
jofsky added a commit that referenced this pull request Sep 28, 2023
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.

3 participants