-
Notifications
You must be signed in to change notification settings - Fork 5.9k
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
Remove go compiler install on CI #36391
Conversation
e21c6a2
to
11b5a24
Compare
Signed-off-by: Lonnie Liu <lonnie@anyscale.com>
11b5a24
to
4e733bb
Compare
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.
export PATH="${GOPATH}/bin:${GOROOT}/bin:${PATH}" | ||
if [[ ! "${OSTYPE}" =~ ^linux ]]; then | ||
echo "Bazel lint not supported on non-linux systems." | ||
exit 1 |
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.
is this function currently called on non-supported system?
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.
I searched and no. this is only called on ci, and ci only runs lints on linux x86_64
.
People can still run the bazel lint directly, which assumes that buildifier
is already installed on the system.
Signed-off-by: Lonnie Liu <lonnie@anyscale.com>
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.
Signed-off-by: Lonnie Liu <lonnie@anyscale.com> Signed-off-by: e428265 <arvind.chandramouli@lmco.com>
The only place using golang compiler is the buildifier, and we can just download released buildifier binary rather than building from source.