chore: update Go toolchain to 1.16.6 (#4583)

See https://github.com/deis/docker-go-dev/releases/tag/v1.32.3
This commit is contained in:
Matt Boersma 2021-07-16 12:40:31 -06:00 коммит произвёл GitHub
Родитель 42d24cc31f
Коммит 9c17bb7325
Не найден ключ, соответствующий данной подписи
Идентификатор ключа GPG: 4AEE18F83AFDEB23
11 изменённых файлов: 18 добавлений и 18 удалений

Просмотреть файл

@ -1,6 +1,6 @@
{
"name": "Go for aks-engine",
"image": "mcr.microsoft.com/oss/azcu/go-dev:v1.32.2",
"image": "mcr.microsoft.com/oss/azcu/go-dev:v1.32.3",
"extensions": [
"ms-vscode.go"
],

2
.github/workflows/nightly-build.yaml поставляемый
Просмотреть файл

@ -18,7 +18,7 @@ jobs:
docker run --rm \
-v ${GITHUB_WORKSPACE}:/go/src/github.com/Azure/aks-engine \
-w /go/src/github.com/Azure/aks-engine \
mcr.microsoft.com/oss/azcu/go-dev:v1.32.2 make dist
mcr.microsoft.com/oss/azcu/go-dev:v1.32.3 make dist
- name: Rename outputs
run: |
mkdir ./outputs

2
.github/workflows/release.yaml поставляемый
Просмотреть файл

@ -126,7 +126,7 @@ jobs:
docker run --rm \
-v ${GITHUB_WORKSPACE}:/go/src/github.com/Azure/aks-engine \
-w /go/src/github.com/Azure/aks-engine \
mcr.microsoft.com/oss/azcu/go-dev:v1.32.2 make dist
mcr.microsoft.com/oss/azcu/go-dev:v1.32.3 make dist
- name: Remove local tag
run: git tag -d ${{ env.RELEASE_VERSION }}
- name: Publish Release

Просмотреть файл

@ -17,7 +17,7 @@ pr:
resources:
containers:
- container: dev1
image: mcr.microsoft.com/oss/azcu/go-dev:v1.32.2
image: mcr.microsoft.com/oss/azcu/go-dev:v1.32.3
jobs:
- job: unit_tests

Просмотреть файл

@ -7,7 +7,7 @@ trigger: none
# - POST a new SKU to azure marketplace
variables:
CONTAINER_IMAGE: 'mcr.microsoft.com/oss/azcu/go-dev:v1.32.2'
CONTAINER_IMAGE: 'mcr.microsoft.com/oss/azcu/go-dev:v1.32.3'
phases:
- phase: build_vhd

Просмотреть файл

@ -7,7 +7,7 @@ trigger: none
# - POST a new SKU to azure marketplace
variables:
CONTAINER_IMAGE: 'mcr.microsoft.com/oss/azcu/go-dev:v1.32.2'
CONTAINER_IMAGE: 'mcr.microsoft.com/oss/azcu/go-dev:v1.32.3'
phases:
- phase: build_vhd

Просмотреть файл

@ -27,7 +27,7 @@ ifeq ($(GITTAG),)
GITTAG := $(VERSION_SHORT)
endif
DEV_ENV_IMAGE := mcr.microsoft.com/oss/azcu/go-dev:v1.32.2
DEV_ENV_IMAGE := mcr.microsoft.com/oss/azcu/go-dev:v1.32.3
DEV_ENV_WORK_DIR := /aks-engine
DEV_ENV_OPTS := --rm -v $(GOPATH)/pkg/mod:/go/pkg/mod -v $(CURDIR):$(DEV_ENV_WORK_DIR) -w $(DEV_ENV_WORK_DIR) $(DEV_ENV_VARS)
DEV_ENV_CMD := docker run $(DEV_ENV_OPTS) $(DEV_ENV_IMAGE)

Просмотреть файл

@ -17,7 +17,7 @@ $(LOCALBIN)/ginkgo:
GOBIN=$(LOCALBIN) $(GO) install github.com/onsi/ginkgo/ginkgo@v1.15.0
$(LOCALBIN)/golangci-lint:
curl -sSfL https://raw.githubusercontent.com/golangci/golangci-lint/master/install.sh | sh -s -- -b $(LOCALBIN) v1.39.0
curl -sSfL https://raw.githubusercontent.com/golangci/golangci-lint/master/install.sh | sh -s -- -b $(LOCALBIN) v1.41.1
$(LOCALBIN)/pub:
GOBIN=$(LOCALBIN) $(GO) install github.com/devigned/pub@v0.2.6

Просмотреть файл

@ -1,4 +1,4 @@
$DEV_ENV_IMAGE = "mcr.microsoft.com/oss/azcu/go-dev:v1.32.2"
$DEV_ENV_IMAGE = "mcr.microsoft.com/oss/azcu/go-dev:v1.32.3"
$DEV_ENV_WORK_DIR = "/aks-engine"
# Ensure docker is configured for linux containers

Просмотреть файл

@ -39,7 +39,7 @@ func (page VirtualMachineListResultPageClient) Response() azcompute.VirtualMachi
r := azcompute.VirtualMachineListResult{}
err := DeepCopy(&r, page.vmlrp.Response())
if err != nil {
page.err = fmt.Errorf("fail to get virtual machine list result, %s", err)
page.err = fmt.Errorf("fail to get virtual machine list result, %s", err) //nolint:staticcheck
}
return r
}
@ -49,7 +49,7 @@ func (page VirtualMachineListResultPageClient) Values() []azcompute.VirtualMachi
r := []azcompute.VirtualMachine{}
err := DeepCopy(&r, page.vmlrp.Values())
if err != nil {
page.err = fmt.Errorf("fail to get virtual machine list, %s", err)
page.err = fmt.Errorf("fail to get virtual machine list, %s", err) //nolint:staticcheck
}
return r
}
@ -82,7 +82,7 @@ func (page VirtualMachineScaleSetListResultPageClient) Response() azcompute.Virt
r := azcompute.VirtualMachineScaleSetListResult{}
err := DeepCopy(&r, page.vmsslrp.Response())
if err != nil {
page.err = fmt.Errorf("fail to get virtual machine scale set list result, %s", err)
page.err = fmt.Errorf("fail to get virtual machine scale set list result, %s", err) //nolint:staticcheck
}
return r
}
@ -92,7 +92,7 @@ func (page VirtualMachineScaleSetListResultPageClient) Values() []azcompute.Virt
r := []azcompute.VirtualMachineScaleSet{}
err := DeepCopy(&r, page.vmsslrp.Values())
if err != nil {
page.err = fmt.Errorf("fail to get virtual machine scale set list, %s", err)
page.err = fmt.Errorf("fail to get virtual machine scale set list, %s", err) //nolint:staticcheck
}
return r
}
@ -125,7 +125,7 @@ func (page VirtualMachineScaleSetVMListResultPageClient) Response() azcompute.Vi
r := azcompute.VirtualMachineScaleSetVMListResult{}
err := DeepCopy(&r, page.vmssvlrp.Response())
if err != nil {
page.err = fmt.Errorf("fail to get virtual machine scale set VM list result, %s", err)
page.err = fmt.Errorf("fail to get virtual machine scale set VM list result, %s", err) //nolint:staticcheck
}
return r
}
@ -135,7 +135,7 @@ func (page VirtualMachineScaleSetVMListResultPageClient) Values() []azcompute.Vi
r := []azcompute.VirtualMachineScaleSetVM{}
err := DeepCopy(&r, page.vmssvlrp.Values())
if err != nil {
page.err = fmt.Errorf("fail to get virtual machine scale set VM list, %s", err)
page.err = fmt.Errorf("fail to get virtual machine scale set VM list, %s", err) //nolint:staticcheck
}
return r
}
@ -169,7 +169,7 @@ func (page DiskListPageClient) Response() azcompute.DiskList {
l := azcompute.DiskList{}
err := DeepCopy(&l, page.dlp.Response())
if err != nil {
page.err = fmt.Errorf("fail to get disk list result, %s", err)
page.err = fmt.Errorf("fail to get disk list result, %s", err) //nolint:staticcheck
}
return l
}
@ -179,7 +179,7 @@ func (page DiskListPageClient) Values() []azcompute.Disk {
l := []azcompute.Disk{}
err := DeepCopy(&l, page.dlp.Values())
if err != nil {
page.err = fmt.Errorf("fail to get disk list, %s", err)
page.err = fmt.Errorf("fail to get disk list, %s", err) //nolint:staticcheck
}
return l
}

Просмотреть файл

@ -25,7 +25,7 @@ spec:
- linux
containers:
- name: large-container
image: mcr.microsoft.com/oss/azcu/go-dev:v1.32.2
image: mcr.microsoft.com/oss/azcu/go-dev:v1.32.3
imagePullPolicy: IfNotPresent
command: ["/bin/sh"]
args: ["-c", "while true; do sleep 1000; done"]