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

fix: Propagate all tags, not just well known ones #366

Merged
merged 1 commit into from
Sep 19, 2023

Conversation

ajaypbrt
Copy link
Contributor

In trying to fix tag propagation, #350 broke tag propagation behavior for some targets which did have tags forwarded properly. The reason the behavior changed is because while we are still propagating tags in #350, we started passing them through propagate_well_known_tags which caused some issues, e.g. #350 (comment).

This restores the old behavior for the targets which did have tags propagated, while also propagating all tags for the new targets.

@ajaypbrt
Copy link
Contributor Author

cc: @alexeagle @ewhauser

@ewhauser
Copy link
Contributor

Thank you @ajaypbrt!

Copy link
Collaborator

@thesayyn thesayyn left a comment

Choose a reason for hiding this comment

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

I think we should also support passing common attributes. but this is good enough for this PR.

@thesayyn thesayyn merged commit bb7e264 into bazel-contrib:main Sep 19, 2023
15 checks passed
@ajaypbrt ajaypbrt deleted the propagate_all_tags branch September 20, 2023 04:54
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