Skip to content
This repository was archived by the owner on Feb 20, 2026. It is now read-only.

Commit 5c16290

Browse files
chore: upgrade kokoro test to use latest go version (#935)
* chore: upgrade kokoro test to use latest go version * 🦉 Updates from OwlBot post-processor See https://github.com/googleapis/repo-automation-bots/blob/main/packages/owl-bot/README.md --------- Co-authored-by: Owl Bot <gcf-owl-bot[bot]@users.noreply.github.com>
1 parent 3ea7089 commit 5c16290

4 files changed

Lines changed: 9 additions & 11 deletions

File tree

.repo-metadata.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
{
22
"name": "profiler",
33
"name_pretty": "Cloud Profiler",
4-
"product_documentation": "https://cloud.google.com/profiler",
4+
"product_documentation": "https://cloud.google.com/profiler/docs",
55
"client_documentation": "https://cloud.google.com/nodejs/docs/reference/profiler/latest",
66
"issue_tracker": "https://issuetracker.google.com/savedsearches/5116474",
77
"release_level": "stable",

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -400,7 +400,7 @@ Apache Version 2.0
400400
See [LICENSE](https://github.com/googleapis/cloud-profiler-nodejs/blob/main/LICENSE)
401401

402402
[client-docs]: https://cloud.google.com/nodejs/docs/reference/profiler/latest
403-
[product-docs]: https://cloud.google.com/profiler
403+
[product-docs]: https://cloud.google.com/profiler/docs
404404
[shell_img]: https://gstatic.com/cloudssh/images/open-btn.png
405405
[projects]: https://console.cloud.google.com/project
406406
[billing]: https://support.google.com/cloud/answer/6293499#enable-billing

samples/README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -65,4 +65,4 @@ __Usage:__
6565

6666
[shell_img]: https://gstatic.com/cloudssh/images/open-btn.png
6767
[shell_link]: https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/cloud-profiler-nodejs&page=editor&open_in_editor=samples/README.md
68-
[product-docs]: https://cloud.google.com/profiler
68+
[product-docs]: https://cloud.google.com/profiler/docs

system-test/integration_test.sh

Lines changed: 6 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -29,21 +29,19 @@ export GOOGLE_APPLICATION_CREDENTIALS="${SERVICE_KEY}"
2929
# Run test.
3030
cd "system-test"
3131

32+
# Pull in newer version of Go than provided by Kokoro image
3233
go version
33-
34-
# Ensure a newer version of Go is used so it is compatible with newer libraries.
35-
# The current Go version in the VM is 1.18.4, however we explicitly set it to
36-
# pin the Go dependency to v1.18.4 for consistency.
37-
retry curl -LO https://go.dev/dl/go1.18.4.linux-amd64.tar.gz
38-
sudo rm -rf /usr/local/go && tar -C /usr/local -xzf go1.18.4.linux-amd64.tar.gz
34+
GO_VERSION="1.22.4"
35+
retry curl -LO https://go.dev/dl/go${GO_VERSION}.linux-amd64.tar.gz
36+
sudo rm -rf /usr/local/go && tar -C /usr/local -xzf go${GO_VERSION}.linux-amd64.tar.gz
3937
export PATH=$PATH:/usr/local/go/bin
38+
go version
4039

4140
# Initializing go modules allows our dependencies to install versions of their
4241
# dependencies specified by their go.mod files. This reduces the likelihood of
4342
# dependencies breaking this test.
44-
go version
4543
go mod init e2e
46-
retry go get cloud.google.com/go/profiler/proftest@HEAD
44+
retry go get cloud.google.com/go/profiler/proftest@main
4745
retry go test -c -tags=integration .
4846

4947
if [ "$KOKORO_GITHUB_PULL_REQUEST_NUMBER" = "" ]; then

0 commit comments

Comments
 (0)