Skip to content

Upgrade build dependencies #629

Merged
elliotmjackson merged 8 commits intobufbuild:mainfrom
elliotmjackson:main
Sep 14, 2022
Merged

Upgrade build dependencies #629
elliotmjackson merged 8 commits intobufbuild:mainfrom
elliotmjackson:main

Conversation

@elliotmjackson
Copy link
Copy Markdown
Contributor

@elliotmjackson elliotmjackson commented Sep 8, 2022

  1. Support arm64 and amd64 in Dockerfile
  2. Upgrade Go dependencies
  3. update Bazel dependencies from Go mod

@elliotmjackson elliotmjackson force-pushed the main branch 2 times, most recently from 960dedd to b1e2c31 Compare September 8, 2022 18:50
Elliot Jackson added 5 commits September 8, 2022 14:52
Signed-off-by: Elliot Jackson <[email protected]>
Signed-off-by: Elliot Jackson <[email protected]>
Signed-off-by: Elliot Jackson <[email protected]>
Signed-off-by: Elliot Jackson <[email protected]>
@elliotmjackson elliotmjackson marked this pull request as ready for review September 8, 2022 19:28
Copy link
Copy Markdown

@akshayjshah akshayjshah left a comment

Choose a reason for hiding this comment

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

I'm confused by the :validate_go change. Can you explain what's happening to me?


alias(
name = "go_default_library",
actual = ":validate_go",
Copy link
Copy Markdown

Choose a reason for hiding this comment

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

I don't understand. If we've removed this, why are we changing to //validate:validate_go elsewhere in this diff?

Copy link
Copy Markdown
Contributor Author

@elliotmjackson elliotmjackson Sep 13, 2022

Choose a reason for hiding this comment

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

adding offline comments here....

The only thing i did is get the dockerfile to run on arm machines and update the go version, consequently the go mod and bazel/repositories.bzl with later versions…once i did this, i synced up the bazel repos from the go mod with

bazel run //:gazelle -- update-repos -from_file=go.mod -prune -to_macro=dependencies.bzl%go_third_party

thats when it went as made the huge diff 😛 I dont have a bazel-vocab so please excuse me. You can see everything bazel/gazelle did in commit ea5d03e… Updating bazel rules in bazel/repositories.bzl was all me - needed to happen to enable an arm build. Trying to simulate amd was impossible, my machine quickly ran out of memory.

Elliot Jackson added 2 commits September 13, 2022 10:19
Copy link
Copy Markdown

@akshayjshah akshayjshah left a comment

Choose a reason for hiding this comment

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

Looks good! After landing this, can you upgrade envoyproxy/envoy and make sure everything works?

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.

2 participants