Skip to content

Fix to handle integration test failure caused by #2739#2773

Merged
mpeddada1 merged 3 commits intomasterfrom
fix-tests
Sep 18, 2020
Merged

Fix to handle integration test failure caused by #2739#2773
mpeddada1 merged 3 commits intomasterfrom
fix-tests

Conversation

@mpeddada1
Copy link
Contributor

@mpeddada1 mpeddada1 commented Sep 18, 2020

Specifically, this integration test was failing. This PR serves as a follow-up to #2739.

@mpeddada1 mpeddada1 requested review from a team and removed request for a team September 18, 2020 17:37
def additionalTag = System.getProperty("_ADDITIONAL_TAG")
if (additionalTag != null && !additionalTag.isEmpty()) {
jib.to.tags = [System.getProperty("_ADDITIONAL_TAG")]
jib.to.tags = [System.getProperty("_ADDITIONAL_TAG")] as Set
Copy link
Member

@chanseokoh chanseokoh Sep 18, 2020

Choose a reason for hiding this comment

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

Hmm... I think we should keep it backward-compatible. It will be common to use a list. I suspect that adding another setTags() stops Gradle from auto-casting it to a Set. @loosebazooka maybe we need to add a setTags(List) too?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

You're absolutely right. I just realized that this change doesn't really solve the backward-compatibility issue.

@mpeddada1 mpeddada1 marked this pull request as draft September 18, 2020 17:55
@mpeddada1 mpeddada1 marked this pull request as ready for review September 18, 2020 20:23
@mpeddada1 mpeddada1 merged commit 23defe8 into master Sep 18, 2020
@mpeddada1 mpeddada1 deleted the fix-tests branch September 18, 2020 20:53
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants