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

Remove go compiler install on CI #36391

Merged
merged 2 commits into from
Jun 15, 2023
Merged

Remove go compiler install on CI #36391

merged 2 commits into from
Jun 15, 2023

Conversation

aslonnie
Copy link
Collaborator

The only place using golang compiler is the buildifier, and we can just download released buildifier binary rather than building from source.

@aslonnie aslonnie force-pushed the lonnie-0613-nogo branch 3 times, most recently from e21c6a2 to 11b5a24 Compare June 13, 2023 22:46
Signed-off-by: Lonnie Liu <[email protected]>
Copy link
Collaborator

@can-anyscale can-anyscale left a 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
Copy link
Collaborator

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?

Copy link
Collaborator Author

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.

@aslonnie
Copy link
Collaborator Author

Copy link
Contributor

@matthewdeng matthewdeng left a comment

Choose a reason for hiding this comment

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

@matthewdeng matthewdeng merged commit d3ee83e into master Jun 15, 2023
2 checks passed
@matthewdeng matthewdeng deleted the lonnie-0613-nogo branch June 15, 2023 23:23
vitsai pushed a commit to vitsai/ray that referenced this pull request Jun 21, 2023
Signed-off-by: Lonnie Liu <[email protected]>
Signed-off-by: vitsai <[email protected]>
arvind-chandra pushed a commit to lmco/ray that referenced this pull request Aug 31, 2023
Signed-off-by: Lonnie Liu <[email protected]>
Signed-off-by: e428265 <[email protected]>
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.

None yet

3 participants