-
Notifications
You must be signed in to change notification settings - Fork 70
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* Upgrade Go to 1.20.2 This PR upgrades the version of Go required by the Ops Agent and updates build containers to install go1.20.2. * Use runtime.Version() in integration test Switch to using runtime.Version() in `installGolang` function so we don't always have to manually update the go version in that function. Rewrote the documentation in a way I like better. * Revert ops_agent_test.go, switch to 1.20 Our integration test environment doesn't work the way I thought. go1.20.2 isn't made available in our storage buckets, but go1.20 is so might as well switch to that. * revert changes to ops_agent_test.go
- Loading branch information
Showing
7 changed files
with
49 additions
and
31 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,15 @@ | ||
# Upgrade Go version | ||
|
||
To upgrade the version of Go that the Ops Agent uses, update the version in the following places: | ||
|
||
* `go.mod` version restriction | ||
* `dockerfiles/template` which downloads and installs Go and is compiled into the main Dockerfile | ||
* `Dockerfile.windows` which downloads and runs the Go MSI | ||
|
||
Once you have updated the Go version in the following places, verify the new version works: | ||
|
||
* Ensure that your local Go version is the same as the new one in `go.mod` | ||
* Run `make test` and verify whether any code updates are required | ||
* Run `make compile_dockerfile` | ||
* Run `make build` to ensure the new Dockerfile will build | ||
* Submit a PR with a title that clearly states the Go upgrade and ensure all Build and Integration Test CI workflows pass |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters