Skip to content
This repository has been archived by the owner on Feb 6, 2024. It is now read-only.

Update toolchain docs #235

Merged

Conversation

nlopezgi
Copy link
Contributor

  • also make default (when importing these rules) to use kubectl from path (simpler atm, less error prone)
  • provide instructions for how to use the new option to build kubectl from sources
  • also show a nice error message if no kubectl tool is found when user attempts to do bazel run for a target that requires the toolchain is configured

#234

Nicolas Lopez added 6 commits November 26, 2018 16:55
)
# Register the default kubectl toolchain targets for supported platforms
# note these work with the autoconfigured toolchain
native.register_toolchains(
Copy link
Contributor

Choose a reason for hiding this comment

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

Wondering if we should move the toolchain registration to be under the "k8s_config" if condition as well? Allows users to decide their own toolchain registration priority order when defining their own toolchain configuration

Copy link
Contributor Author

Choose a reason for hiding this comment

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

i think it makes sense, will do in an upcoming PR

@k8s-ci-robot
Copy link

[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 /approve in a comment
Approvers can cancel approval by writing /approve cancel in a comment

@chrislovecnm chrislovecnm merged commit 8442d07 into bazelbuild:updateToolchainDocs Nov 27, 2018
@nlopezgi nlopezgi deleted the updateToolchainDocs branch December 5, 2018 16:37
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

4 participants