Skip to content

Commit

Permalink
chore: build on Go 1.19 (#1511)
Browse files Browse the repository at this point in the history
  • Loading branch information
enocom authored Oct 25, 2022
1 parent 0d6f56c commit 4dbfbb1
Showing 1 changed file with 9 additions and 9 deletions.
18 changes: 9 additions & 9 deletions .build/gcs_upload.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -12,15 +12,15 @@
# See the License for the specific language governing permissions and
# limitations under the License.

timeout: 900s
timeout: 1800s
options:
env:
- "GOPATH=/workspace/GOPATH"
- "CGO_ENABLED=0"

steps:
- id: linux.amd64
name: "golang:1.17"
name: "golang:1.19"
env:
- "GOOS=linux"
- "GOARCH=amd64"
Expand All @@ -29,7 +29,7 @@ steps:
- "-c"
- 'go build -ldflags "-X main.versionString=${_VERSION} -X main.metadataString=$$GOOS.$$GOARCH" -o cloud_sql_proxy.$$GOOS.$$GOARCH ./cmd/cloud_sql_proxy'
- id: linux.386
name: "golang:1.17"
name: "golang:1.19"
env:
- "GOOS=linux"
- "GOARCH=386"
Expand All @@ -38,7 +38,7 @@ steps:
- "-c"
- 'go build -ldflags "-X main.versionString=${_VERSION} -X main.metadataString=$$GOOS.$$GOARCH" -o cloud_sql_proxy.$$GOOS.$$GOARCH ./cmd/cloud_sql_proxy'
- id: linux.arm64
name: "golang:1.17"
name: "golang:1.19"
env:
- "GOOS=linux"
- "GOARCH=arm64"
Expand All @@ -47,7 +47,7 @@ steps:
- "-c"
- 'go build -ldflags "-X main.versionString=${_VERSION} -X main.metadataString=$$GOOS.$$GOARCH" -o cloud_sql_proxy.$$GOOS.$$GOARCH ./cmd/cloud_sql_proxy'
- id: linux.arm
name: "golang:1.17"
name: "golang:1.19"
env:
- "GOOS=linux"
- "GOARCH=arm"
Expand All @@ -56,7 +56,7 @@ steps:
- "-c"
- 'go build -ldflags "-X main.versionString=${_VERSION} -X main.metadataString=$$GOOS.$$GOARCH" -o cloud_sql_proxy.$$GOOS.$$GOARCH ./cmd/cloud_sql_proxy'
- id: darwin.amd64
name: "golang:1.17"
name: "golang:1.19"
env:
- "GOOS=darwin"
- "GOARCH=amd64"
Expand All @@ -65,7 +65,7 @@ steps:
- "-c"
- 'go build -ldflags "-X main.versionString=${_VERSION} -X main.metadataString=$$GOOS.$$GOARCH" -o cloud_sql_proxy.$$GOOS.$$GOARCH ./cmd/cloud_sql_proxy'
- id: darwin.arm64
name: "golang:1.17"
name: "golang:1.19"
env:
- "GOOS=darwin"
- "GOARCH=arm64"
Expand All @@ -74,7 +74,7 @@ steps:
- "-c"
- 'go build -ldflags "-X main.versionString=${_VERSION} -X main.metadataString=$$GOOS.$$GOARCH" -o cloud_sql_proxy.$$GOOS.$$GOARCH ./cmd/cloud_sql_proxy'
- id: windows.amd64
name: "golang:1.17"
name: "golang:1.19"
env:
- "GOOS=windows"
- "GOARCH=amd64"
Expand All @@ -83,7 +83,7 @@ steps:
- "-c"
- 'go build -ldflags "-X main.versionString=${_VERSION} -X main.metadataString=$$GOOS.$$GOARCH" -o cloud_sql_proxy_x64.exe ./cmd/cloud_sql_proxy'
- id: windows.386
name: "golang:1.17"
name: "golang:1.19"
env:
- "GOOS=windows"
- "GOARCH=386"
Expand Down

0 comments on commit 4dbfbb1

Please sign in to comment.