-
Notifications
You must be signed in to change notification settings - Fork 53
Be able to configure conditional branches #325
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
Conversation
Codecov Report
@@ Coverage Diff @@
## master #325 +/- ##
==========================================
+ Coverage 79.13% 79.17% +0.03%
==========================================
Files 43 43
Lines 1107 1109 +2
Branches 262 262
==========================================
+ Hits 876 878 +2
Misses 99 99
Partials 132 132
Continue to review full report at Codecov.
|
|
I tried to follow the initial suggestion on issue #172 e.g. |
|
I wanted to design the library in a way that allowed plugins to be enabled or disabled, as the user sees fit. I also wanted the enable/disable to be done as simply as possible - a static method fit the bill. So
This is definitely an awkward implementation in hindsight. A better implementation could have treated ConditionalApplyPlugin (and every default plugin), like any other plugin, and had it implement an |
|
The implementation looks good. Can you update the CHANGELOG with your Issue? I'm also about to cut a release on master, and this change can go into v5.14, the next release. |
|
Hrm, I think I spent more time thinking/talking about the Your change will allow The intent described in the issue is that Those are two different things. I pointed you in the direction of the existing Issue - is your UseCase different from what was outlined? If so, we should open a different issue. |
|
Per the discussion about the awkwardness of |
CHANGELOG.md
Outdated
| @@ -1,5 +1,7 @@ | |||
| # Unreleased | |||
|
|
|||
| * [Issue #321](https://github.com/manheim/terraform-pipeline/issues/172) Allow 'apply' on branches other than master for some environments | |||
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
|
Other than the links in the ChangeLog, the changes look good. |
resolves #172