Skip to content

Commit

Permalink
Upgrade golang verions
Browse files Browse the repository at this point in the history
Summary:
Upgrade to the latest patch versions for all our goland SDK deps to
pull in security fixes.

Test Plan: Exsiting unit tests still pass

Reviewers: zasgar, oazizi

Reviewed By: zasgar

Signed-off-by: Vihang Mehta <vihang@pixielabs.ai>

Differential Revision: https://phab.corp.pixielabs.ai/D12373

GitOrigin-RevId: c33768744bc14896f00933baefda1592953457a4
  • Loading branch information
vihangm authored and copybaranaut committed Oct 10, 2022
1 parent bcc42f1 commit 7d56cbe
Show file tree
Hide file tree
Showing 4 changed files with 11 additions and 11 deletions.
10 changes: 5 additions & 5 deletions WORKSPACE
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ pl_go_overrides()

go_download_sdk(
name = "go_sdk",
version = "1.19",
version = "1.19.2",
)

go_rules_dependencies()
Expand Down Expand Up @@ -198,22 +198,22 @@ gazelle_dependencies(go_sdk = "go_sdk")
# Download alternative go toolchains after all other dependencies, so that they aren't used by external dependencies.
go_download_sdk(
name = "go_sdk_1_16",
version = "1.16.14",
version = "1.16.15",
)

go_download_sdk(
name = "go_sdk_1_17",
version = "1.17.11",
version = "1.17.13",
)

go_download_sdk(
name = "go_sdk_1_18",
version = "1.18.5",
version = "1.18.7",
)

go_download_sdk(
name = "go_sdk_1_19",
version = "1.19",
version = "1.19.2",
)

pip_parse(
Expand Down
2 changes: 1 addition & 1 deletion docker.properties
Original file line number Diff line number Diff line change
@@ -1 +1 @@
DOCKER_IMAGE_TAG=202209191315
DOCKER_IMAGE_TAG=202210101119
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.16.14"));
EXPECT_THAT(version, StrEq("go1.16.15"));
}

TEST(IsGoExecutableTest, WorkingOnBasicGoBinary) {
Expand Down
8 changes: 4 additions & 4 deletions tools/chef/cookbooks/pixielabs/attributes/default.rb
Original file line number Diff line number Diff line change
Expand Up @@ -71,9 +71,9 @@
'f680a8a35789fb550c966a9a6661349af6993edd5ebf85bfb0f22e968c78115a'

default['golang']['download_path'] =
'https://dl.google.com/go/go1.19.linux-amd64.tar.gz'
'https://dl.google.com/go/go1.19.2.linux-amd64.tar.gz'
default['golang']['sha256'] =
'464b6b66591f6cf055bc5df90a9750bf5fbc9d038722bb84a9d56a2bea974be6'
'5e8c5a74fe6470dd7e055a461acda8bb4050ead8c2df70f227e3ff7d8eb7eeb6'

default['skaffold']['download_path'] =
'https://storage.googleapis.com/skaffold/releases/v1.38.0/skaffold-linux-amd64'
Expand Down Expand Up @@ -179,9 +179,9 @@
'003fbf2015644cae941a384d489e1331cc78b630e82b8dea9030c663d56224ec'

default['golang']['download_path'] =
'https://dl.google.com/go/go1.19.darwin-amd64.tar.gz'
'https://dl.google.com/go/go1.19.2.darwin-amd64.tar.gz'
default['golang']['sha256'] =
'df6509885f65f0d7a4eaf3dfbe7dda327569787e8a0a31cbf99ae3a6e23e9ea8'
'2633f62c0b259a8fa4fb1fc967d28817816acca50b1fc354364cb381e1ccd2e5'

default['skaffold']['download_path'] =
'https://storage.googleapis.com/skaffold/releases/v1.38.0/skaffold-darwin-amd64'
Expand Down

0 comments on commit 7d56cbe

Please sign in to comment.