Skip to content

Fix label override provided by custom container_image rules - #2233

Merged
linzhp merged 1 commit into
bazelbuild:masterfrom
hamsterstorm:labels_fix
Mar 16, 2023
Merged

Fix label override provided by custom container_image rules#2233
linzhp merged 1 commit into
bazelbuild:masterfrom
hamsterstorm:labels_fix

Conversation

@hamsterstorm

Copy link
Copy Markdown
Contributor

_image_config was retrieving labels from ctx instead of the
labels arg.

PR Checklist

Please check if your PR fulfills the following requirements:

  • Tests for the changes have been added (for bug fixes / features)
  • Docs have been added / updated (for bug fixes / features)

PR Type

What kind of change does this PR introduce?

  • Bugfix
  • Feature
  • Code style update (formatting, local variables)
  • Refactoring (no functional changes, no api changes)
  • Build related changes
  • CI related changes
  • Documentation content changes
  • Other... Please describe:

What is the current behavior?

Issue Number: N/A

What is the new behavior?

Does this PR introduce a breaking change?

  • Yes
  • No

Other information

_image_config was retrieving labels from ctx instead of the
labels arg.
@hamsterstorm
hamsterstorm marked this pull request as ready for review March 15, 2023 22:54
@linzhp
linzhp merged commit 4ad878e into bazelbuild:master Mar 16, 2023

@rbielak rbielak left a comment

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

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

LGTM

@hamsterstorm
hamsterstorm deleted the labels_fix branch March 23, 2023 23:21
faximan added a commit to googlecloudrobotics/core that referenced this pull request Apr 17, 2023
Pulls in bazelbuild/rules_docker#2233 which is
expected by downstream repos. Looks like rules_docker haven't had a
labelled release in a while, hence the commit reference.

This corresponds to http://cl/517244821.
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