Skip to content

Conversation

@apogorielov
Copy link
Contributor

…pipelines

Issue #, if available:

Description of changes:

Following PR adds ability to override default "master" branch for deployment pipelines using values provided in adfconfig.yml. If parameter is not provided, branch defaults to "master" to remain backward compatibility.

Priority of branch selection:

  1. Deployment map branch configuration parameter.
  2. Adfconfig default branch parameter.
  3. Master branch.

Parameter is propagated to the deployment accounts using SSM, where later is retrieved and used a part of input generation for pipelines.

By submitting this pull request, I confirm that you can use, modify, copy, and redistribute this contribution, under the terms of your choice.

@StewartW StewartW self-requested a review September 6, 2021 15:28
@StewartW StewartW self-assigned this Sep 6, 2021
@StewartW StewartW added the enhancement New feature or request label Sep 6, 2021
Copy link
Collaborator

@sbkok sbkok left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Small change requested.
Other than that, looks good to me.

I wish we could default to main as the branch name. But unfortunately that would not be backward compatible. Something to consider for the next major release.

Thanks for contributing this change.

Copy link
Collaborator

@sbkok sbkok left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I've pushed the changes requested in the review comments above.
Thanks for delivering this feature @apogorielov!

Copy link
Contributor

@StewartW StewartW left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks good to me :shipit:

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

enhancement New feature or request

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants