Skip to content

Commit

Permalink
Upgrade go versions (#1149)
Browse files Browse the repository at this point in the history
Summary: Patch version bumps to pull in security fixes.

Relevant Issues: N/A

Type of change: /kind cleanup

Test Plan: All existing builds and tests continue to work.

Signed-off-by: Vihang Mehta <[email protected]>
  • Loading branch information
vihangm authored Apr 1, 2023
1 parent adb42d2 commit 6360093
Show file tree
Hide file tree
Showing 5 changed files with 12 additions and 12 deletions.
6 changes: 3 additions & 3 deletions WORKSPACE
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ pl_go_overrides()

go_download_sdk(
name = "go_sdk",
version = "1.20",
version = "1.20.2",
)

go_rules_dependencies()
Expand Down Expand Up @@ -231,12 +231,12 @@ go_download_sdk(

go_download_sdk(
name = "go_sdk_1_19",
version = "1.19.5",
version = "1.19.7",
)

go_download_sdk(
name = "go_sdk_1_20",
version = "1.20",
version = "1.20.2",
)

pip_parse(
Expand Down
8 changes: 4 additions & 4 deletions docker.properties
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
DOCKER_IMAGE_TAG=202303281003
LINTER_IMAGE_DIGEST=0e26c2e421722231c8e3ff044ffb8b576294819f0462a48855cb3521ee45a78e
DEV_IMAGE_DIGEST=67837d502c85f18ad7812a7b8d5fe2b4c7f7a735c7f25f9b40d9a2e5131dbcf0
DEV_IMAGE_WITH_EXTRAS_DIGEST=3f4545084ecbf42036f18f459e19a7d05474ffc35d29a316e29c301ddf7a5c6d
DOCKER_IMAGE_TAG=202303312022
LINTER_IMAGE_DIGEST=cd3160e304080917f9478b1c25ae56391386ab8d935e87dfb1066ac9de497f30
DEV_IMAGE_DIGEST=8b65b20bda729c3c9f84f252425a892077167ad9a39b504a9d9b8552c0fd51be
DEV_IMAGE_WITH_EXTRAS_DIGEST=b4ee07113b0934f64ce1627a4af69e06a720a90ca1d45df286e48af83233be84
2 changes: 1 addition & 1 deletion src/stirling/obj_tools/go_syms_test.cc
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@ TEST(ReadBuildVersionTest, WorkingOnBasicGoBinary) {
const std::string kPath = px::testing::BazelRunfilePath(kTestGoBinaryPath);
ASSERT_OK_AND_ASSIGN(std::unique_ptr<ElfReader> elf_reader, ElfReader::Create(kPath));
ASSERT_OK_AND_ASSIGN(std::string version, ReadBuildVersion(elf_reader.get()));
EXPECT_THAT(version, StrEq("go1.19.5"));
EXPECT_THAT(version, StrEq("go1.19.7"));
}

TEST(IsGoExecutableTest, WorkingOnBasicGoBinary) {
Expand Down
4 changes: 2 additions & 2 deletions tools/chef/cookbooks/px_dev/attributes/linux.rb
Original file line number Diff line number Diff line change
Expand Up @@ -38,9 +38,9 @@
'a263aabf09308614a39d8486df722f3b03ab5b0f5060b655be1fd9def8e5619f'

default['golang']['download_path'] =
'https://dl.google.com/go/go1.20.linux-amd64.tar.gz'
'https://go.dev/dl/go1.20.2.linux-amd64.tar.gz'
default['golang']['sha256'] =
'5a9ebcc65c1cce56e0d2dc616aff4c4cedcfbda8cc6f0288cc08cda3b18dcbf1'
'4eaea32f59cde4dc635fbc42161031d13e1c780b87097f4b4234cfce671f1768'

default['golangci-lint']['download_path'] =
'https://github.com/golangci/golangci-lint/releases/download/v1.51.1/golangci-lint-1.51.1-linux-amd64.tar.gz'
Expand Down
4 changes: 2 additions & 2 deletions tools/chef/cookbooks/px_dev/attributes/mac_os_x.rb
Original file line number Diff line number Diff line change
Expand Up @@ -39,9 +39,9 @@
'39f23d382c63381ec98e0b22cbf60c2007bdb699b034bfd37692a062ba254a8d'

default['golang']['download_path'] =
'https://dl.google.com/go/go1.20.darwin-amd64.tar.gz'
'https://go.dev/dl/go1.20.2.darwin-amd64.tar.gz'
default['golang']['sha256'] =
'777025500f62d14bb5a4923072cd97431887961d24de08433a60c2fe1120531d'
'c93b8ced9517d07e1cd4c362c6e2d5242cb139e29b417a328fbf19aded08764c'

default['golangci-lint']['download_path'] =
'https://github.com/golangci/golangci-lint/releases/download/v1.51.1/golangci-lint-1.51.1-darwin-amd64.tar.gz'
Expand Down

0 comments on commit 6360093

Please sign in to comment.