Upgrade to Go v1.15.x (#5467)

This commit is contained in:
Paul Stack 2020-10-09 17:35:12 +01:00 committed by GitHub
parent b86e6ae93e
commit 5430586a9e
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
16 changed files with 32 additions and 26 deletions

View file

@ -25,8 +25,8 @@ init:
- ps: Install-Product node $env:nodejs_version x64
install:
- rmdir C:\go /s /q
- appveyor DownloadFile https://dl.google.com/go/go1.14.3.windows-amd64.zip
- 7z x go1.14.3.windows-amd64.zip -y -oC:\ > NUL
- appveyor DownloadFile https://dl.google.com/go/go1.15.2.windows-amd64.zip
- 7z x go1.15.2.windows-amd64.zip -y -oC:\ > NUL
- cmd: >-
set GOPATH=%USERPROFILE%\go

View file

@ -16,7 +16,7 @@ jobs:
- name: Install Go
uses: actions/setup-go@v1
with:
go-version: 1.14.x
go-version: 1.15.x
- name: Install Node.js
uses: actions/setup-node@v1
with:
@ -53,7 +53,7 @@ jobs:
- name: Install Go
uses: actions/setup-go@v1
with:
go-version: 1.14.x
go-version: 1.15.x
- name: Install Node.js
uses: actions/setup-node@v1
with:
@ -90,7 +90,7 @@ jobs:
- name: Install Go
uses: actions/setup-go@v1
with:
go-version: 1.14.x
go-version: 1.15.x
- name: Install Node.js
uses: actions/setup-node@v1
with:
@ -127,7 +127,7 @@ jobs:
- name: Install Go
uses: actions/setup-go@v1
with:
go-version: 1.14.x
go-version: 1.15.x
- name: Install Node.js
uses: actions/setup-node@v1
with:
@ -164,7 +164,7 @@ jobs:
- name: Install Go
uses: actions/setup-go@v1
with:
go-version: 1.14.x
go-version: 1.15.x
- name: Install Node.js
uses: actions/setup-node@v1
with:
@ -201,7 +201,7 @@ jobs:
- name: Install Go
uses: actions/setup-go@v1
with:
go-version: 1.14.x
go-version: 1.15.x
- name: Install Node.js
uses: actions/setup-node@v1
with:

View file

@ -24,7 +24,7 @@ jobs:
needs: publish-binaries
strategy:
matrix:
go-version: [ 1.14.x ]
go-version: [ 1.15.x ]
python-version: [ 3.7.x ]
dotnet-version: [ 3.1.x ]
node-version: [ 10.x ]
@ -124,7 +124,7 @@ jobs:
strategy:
matrix:
platform: [ ubuntu-latest, macos-latest ]
go-version: [1.14.x]
go-version: [1.15.x]
python-version: [ 3.7.x ]
dotnet-version: [ 3.1.x ]
node-version: [ 10.x ]

View file

@ -26,7 +26,7 @@ jobs:
strategy:
matrix:
platform: [ ubuntu-latest, macos-latest ]
go-version: [1.14.x]
go-version: [1.15.x]
python-version: [ 3.7.x ]
dotnet-version: [ 3.1.x ]
node-version: [ 10.x ]

View file

@ -57,7 +57,7 @@ jobs:
needs: publish-binaries
strategy:
matrix:
go-version: [ 1.14.x ]
go-version: [ 1.15.x ]
python-version: [ 3.7.x ]
dotnet-version: [ 3.1.x ]
node-version: [ 10.x ]
@ -157,7 +157,7 @@ jobs:
strategy:
matrix:
platform: [ ubuntu-latest, macos-latest ]
go-version: [1.14.x]
go-version: [1.15.x]
python-version: [ 3.7.x ]
dotnet-version: [ 3.1.x ]
node-version: [ 10.x ]

View file

@ -7,6 +7,9 @@ on:
- 'pkg/codegen/docs/docs_test.go'
- '.github/workflows/res-docs-test.yml'
env:
GITHUB_TOKEN: ${{ secrets.PULUMI_BOT_TOKEN }}
jobs:
aws:
name: Resource Docs
@ -23,7 +26,7 @@ jobs:
- name: Install Go
uses: actions/setup-go@v1
with:
go-version: 1.14.x
go-version: 1.15.x
- name: Add GOBIN to PATH
run: |
mkdir -p "$(go env GOPATH)/bin"
@ -34,7 +37,10 @@ jobs:
node-version: '12.x'
- name: Install Pulumi CLI
uses: pulumi/action-install-pulumi-cli@releases/v1
- name: Install pulumictl
uses: jaxxstorm/action-install-gh-release@6277ebec57d2f9283d245d365f0b05bcc23d85e0
with:
repo: pulumi/pulumictl
- name: Check out source code
uses: actions/checkout@master
with:

View file

@ -11,7 +11,7 @@ jobs:
strategy:
matrix:
platform: [windows-latest]
go-version: [1.14.x]
go-version: [1.15.x]
node-version: [10.x]
python-version: [3.7]
dotnet: ['3.1.301']

View file

@ -7,7 +7,7 @@ jobs:
strategy:
matrix:
platform: [windows-latest]
go-version: [1.14.x]
go-version: [1.15.x]
node-version: [10.x]
python-version: [3.7]
dotnet: ['3.1.301']

View file

@ -9,7 +9,7 @@ FROM ${PULUMI_IMAGE}:${PULUMI_VERSION} as pulumi
FROM ubuntu:bionic AS builder
# Set go versions
ARG RUNTIME_VERSION=1.14.9
ARG RUNTIME_VERSION=1.15.2
WORKDIR /golang
RUN apt-get update -y && \

View file

@ -3,7 +3,7 @@
# Must be defined first
ARG PULUMI_VERSION=latest
ARG PULUMI_IMAGE=pulumi/pulumi-base
ARG RUNTIME_VERSION=1.14.9
ARG RUNTIME_VERSION=1.15.2
FROM ${PULUMI_IMAGE}:${PULUMI_VERSION}-alpine as pulumi
# The runtime container

View file

@ -9,7 +9,7 @@ FROM ${PULUMI_IMAGE}:${PULUMI_VERSION} as pulumi
FROM registry.access.redhat.com/ubi8/ubi-minimal:latest AS builder
# Set go versions
ARG RUNTIME_VERSION=1.14.9
ARG RUNTIME_VERSION=1.15.2
WORKDIR /golang
RUN microdnf install -y \

View file

@ -4,8 +4,8 @@ LABEL "repository"="https://github.com/pulumi/pulumi"
LABEL "homepage"="https://pulumi.com/"
LABEL "maintainer"="Pulumi Team <team@pulumi.com>"
ENV GOLANG_VERSION 1.14.9
ENV GOLANG_SHA256 f0d26ff572c72c9823ae752d3c81819a81a60c753201f51f89637482531c110a
ENV GOLANG_VERSION 1.15.2
ENV GOLANG_SHA256 b49fda1ca29a1946d6bb2a5a6982cf07ccd2aba849289508ee0f9918f6bb4552
# Install deps all in one step
RUN apt-get update -y && \

View file

@ -1,6 +1,6 @@
module github.com/pulumi/pulumi/pkg/v2
go 1.14
go 1.15
replace (
github.com/Azure/go-autorest => github.com/Azure/go-autorest v12.4.3+incompatible

View file

@ -1,6 +1,6 @@
module github.com/pulumi/pulumi/scripts/v2
go 1.14
go 1.15
require github.com/pulumi/pulumi/sdk/v2 v2.2.1

View file

@ -1,6 +1,6 @@
module github.com/pulumi/pulumi/sdk/v2
go 1.14
go 1.15
require (
github.com/Microsoft/go-winio v0.4.14

View file

@ -1,6 +1,6 @@
module github.com/pulumi/pulumi/tests
go 1.14
go 1.15
replace (
github.com/Azure/go-autorest => github.com/Azure/go-autorest v12.4.3+incompatible