Skip to content

Conversation

@sbkok
Copy link
Collaborator

@sbkok sbkok commented Aug 17, 2022

Issue: #488.

What?

Updated references and made sure line length would not exceed the maximum on
the lines that were changed.


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

**Issue: ** awslabs#488.

**What:**

Updated references and made sure line length would not exceed the maximum on
the lines that were changed.
@sbkok sbkok added the bug Something isn't working label Aug 17, 2022
@sbkok sbkok added this to the v3.2.0 milestone Aug 17, 2022
@sbkok sbkok requested review from StewartW and javydekoning August 17, 2022 10:08
StewartW
StewartW previously approved these changes Aug 17, 2022
**Why?**

At the moment, if you would set privilege to `True` on the default deploy
provider properties and try to override those to `False` in a specific target,
it will still have privilege enabled.

**What?**

Updated the logic to only override if it was not specified, not when it is
`False`.
@sbkok
Copy link
Collaborator Author

sbkok commented Aug 17, 2022

I found another issue while looking at the code once more.
I've added the following fix:


Fix CodeBuild privilege override with target parameters

Why?

At the moment, if you would set privilege to True on the default deploy provider properties and try to override those to False in a specific target, it will still have privilege enabled.

What?

Updated the logic to only override if it was not specified, not when it is False.

@sbkok sbkok requested a review from StewartW August 17, 2022 10:47
Copy link
Contributor

@javydekoning javydekoning left a comment

Choose a reason for hiding this comment

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

LGTM, thanks!

@sbkok sbkok merged commit fa83a77 into awslabs:master Aug 17, 2022
@sbkok sbkok deleted the fix/issue-488-codebuil-build-deploy-ref branch August 17, 2022 14:58
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

bug Something isn't working

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants