-
Notifications
You must be signed in to change notification settings - Fork 69
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* Upgrade golang to 1.17 Signed-off-by: Marco Pracucci <marco@pracucci.com> * Added instructions Signed-off-by: Marco Pracucci <marco@pracucci.com>
- Loading branch information
Showing
4 changed files
with
69 additions
and
13 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,4 @@ | ||
local image = 'golang:1.16.7'; | ||
local image = 'golang:1.17.6'; | ||
|
||
local pipeline = { | ||
new(name):: { | ||
|
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,7 @@ | ||
# How to upgrade Golang version | ||
|
||
1. `go mod edit -go=1.17` | ||
1. `go mod vendor && go mod tidy` | ||
1. Change Drone image in `.drone/drone.jsonnet` | ||
1. Export $DRONE_SERVER and $DRONE_TOKEN environment variables (you can get them logging in to [https://drone.grafana.net](https://drone.grafana.net)) | ||
1. `make .drone/drone.yml` |
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