-
Notifications
You must be signed in to change notification settings - Fork 691
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
register toolchain only for container exec and use it in py*_image #1173
Conversation
/gcbrun |
098608b
to
a1c4205
Compare
@@ -6,7 +6,7 @@ buildifier: | |||
# are enabled except: | |||
# rule-impl-return, uninitialized, return-value, rule-impl-return | |||
# TODO (suvanjan): Re-enable once issues are fixed. | |||
warnings: "attr-cfg,attr-license,attr-non-empty,attr-output-default,attr-single-file,confusing-name,constant-glob,ctx-actions,ctx-args,depset-iteration,depset-union,dict-concatenation,duplicated-name,filetype,function-docstring,git-repository,http-archive,integer-division,load,load-on-top,module-docstring,name-conventions,native-build,native-package,no-effect,out-of-order-load,output-group,package-name,package-on-top,positional-args,redefined-variable,repository-name,same-origin-load,string-iteration,unreachable,unsorted-dict-items,unused-variable" | |||
warnings: "attr-cfg,attr-license,attr-non-empty,attr-output-default,attr-single-file,confusing-name,constant-glob,ctx-actions,ctx-args,depset-iteration,depset-union,dict-concatenation,duplicated-name,filetype,function-docstring,git-repository,http-archive,integer-division,load,load-on-top,module-docstring,name-conventions,native-build,native-package,no-effect,out-of-order-load,output-group,package-name,package-on-top,redefined-variable,repository-name,same-origin-load,string-iteration,unreachable,unsorted-dict-items,unused-variable" |
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.
removed "positional-args" due to bazelbuild/buildtools#726
18d24f2
to
78ec016
Compare
78ec016
to
7476ef4
Compare
/gcbrun |
/gcbrun |
47fd167
to
7daefb5
Compare
7daefb5
to
61b959d
Compare
/gcbrun |
/gcbrun |
a42ff6c
to
9cff262
Compare
/gcbrun |
/gcbrun |
/gcbrun |
[APPROVALNOTIFIER] This PR is APPROVED This pull-request has been approved by: nlopezgi, smukherj1 The full list of commands accepted by this bot can be found here. The pull request process is described here
Needs approval from an approver in each of these files:
Approvers can indicate their approval by writing |
The python toolchain we are registering for execution inside the container seems to be messing up with execution outside the container as documented here https://github.com/bazelbuild/rules_docker#known-issues-1.
target_compatible_with
should now be supported on all targets, so restricting our toolchain usingtarget_compatible_with
should make this error go away.See #1105