зеркало из https://github.com/Azure/aks-engine.git
chore: update Go toolchain to v1.15.11 (#4355)
This commit is contained in:
Родитель
3d40c82afb
Коммит
ac6d832c48
|
@ -1,6 +1,6 @@
|
||||||
{
|
{
|
||||||
"name": "Go for aks-engine",
|
"name": "Go for aks-engine",
|
||||||
"image": "mcr.microsoft.com/oss/azcu/go-dev:v1.29.2",
|
"image": "mcr.microsoft.com/oss/azcu/go-dev:v1.30.0",
|
||||||
"extensions": [
|
"extensions": [
|
||||||
"ms-vscode.go"
|
"ms-vscode.go"
|
||||||
],
|
],
|
||||||
|
|
|
@ -21,7 +21,7 @@ jobs:
|
||||||
docker run --rm \
|
docker run --rm \
|
||||||
-v ${GITHUB_WORKSPACE}:/go/src/github.com/Azure/aks-engine \
|
-v ${GITHUB_WORKSPACE}:/go/src/github.com/Azure/aks-engine \
|
||||||
-w /go/src/github.com/Azure/aks-engine \
|
-w /go/src/github.com/Azure/aks-engine \
|
||||||
mcr.microsoft.com/oss/azcu/go-dev:v1.29.2 make dist
|
mcr.microsoft.com/oss/azcu/go-dev:v1.30.0 make dist
|
||||||
|
|
||||||
- name: Rename outputs
|
- name: Rename outputs
|
||||||
run: |
|
run: |
|
||||||
|
|
|
@ -17,7 +17,7 @@ pr:
|
||||||
resources:
|
resources:
|
||||||
containers:
|
containers:
|
||||||
- container: dev1
|
- container: dev1
|
||||||
image: mcr.microsoft.com/oss/azcu/go-dev:v1.29.2
|
image: mcr.microsoft.com/oss/azcu/go-dev:v1.30.0
|
||||||
|
|
||||||
jobs:
|
jobs:
|
||||||
- job: unit_tests
|
- job: unit_tests
|
||||||
|
|
|
@ -7,7 +7,7 @@ trigger: none
|
||||||
# - POST a new SKU to azure marketplace
|
# - POST a new SKU to azure marketplace
|
||||||
|
|
||||||
variables:
|
variables:
|
||||||
CONTAINER_IMAGE: 'mcr.microsoft.com/oss/azcu/go-dev:v1.29.2'
|
CONTAINER_IMAGE: 'mcr.microsoft.com/oss/azcu/go-dev:v1.30.0'
|
||||||
|
|
||||||
phases:
|
phases:
|
||||||
- phase: build_vhd
|
- phase: build_vhd
|
||||||
|
|
|
@ -7,7 +7,7 @@ trigger: none
|
||||||
# - POST a new SKU to azure marketplace
|
# - POST a new SKU to azure marketplace
|
||||||
|
|
||||||
variables:
|
variables:
|
||||||
CONTAINER_IMAGE: 'mcr.microsoft.com/oss/azcu/go-dev:v1.29.2'
|
CONTAINER_IMAGE: 'mcr.microsoft.com/oss/azcu/go-dev:v1.30.0'
|
||||||
|
|
||||||
phases:
|
phases:
|
||||||
- phase: build_vhd
|
- phase: build_vhd
|
||||||
|
|
2
Makefile
2
Makefile
|
@ -27,7 +27,7 @@ ifeq ($(GITTAG),)
|
||||||
GITTAG := $(VERSION_SHORT)
|
GITTAG := $(VERSION_SHORT)
|
||||||
endif
|
endif
|
||||||
|
|
||||||
DEV_ENV_IMAGE := mcr.microsoft.com/oss/azcu/go-dev:v1.29.2
|
DEV_ENV_IMAGE := mcr.microsoft.com/oss/azcu/go-dev:v1.30.0
|
||||||
DEV_ENV_WORK_DIR := /aks-engine
|
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_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)
|
DEV_ENV_CMD := docker run $(DEV_ENV_OPTS) $(DEV_ENV_IMAGE)
|
||||||
|
|
|
@ -17,7 +17,7 @@ $(LOCALBIN)/ginkgo:
|
||||||
GOBIN=$(LOCALBIN) $(GO) get github.com/onsi/ginkgo/ginkgo/...@v1.15.0
|
GOBIN=$(LOCALBIN) $(GO) get github.com/onsi/ginkgo/ginkgo/...@v1.15.0
|
||||||
|
|
||||||
$(LOCALBIN)/golangci-lint:
|
$(LOCALBIN)/golangci-lint:
|
||||||
curl -sSfL https://raw.githubusercontent.com/golangci/golangci-lint/master/install.sh | sh -s -- -b $(LOCALBIN) v1.31.0
|
curl -sSfL https://raw.githubusercontent.com/golangci/golangci-lint/master/install.sh | sh -s -- -b $(LOCALBIN) v1.38.0
|
||||||
|
|
||||||
$(LOCALBIN)/pub:
|
$(LOCALBIN)/pub:
|
||||||
GOBIN=$(LOCALBIN) $(GO) get github.com/devigned/pub/...@v0.2.6
|
GOBIN=$(LOCALBIN) $(GO) get github.com/devigned/pub/...@v0.2.6
|
||||||
|
|
|
@ -1,4 +1,4 @@
|
||||||
$DEV_ENV_IMAGE = "mcr.microsoft.com/oss/azcu/go-dev:v1.29.2"
|
$DEV_ENV_IMAGE = "mcr.microsoft.com/oss/azcu/go-dev:v1.30.0"
|
||||||
$DEV_ENV_WORK_DIR = "/aks-engine"
|
$DEV_ENV_WORK_DIR = "/aks-engine"
|
||||||
|
|
||||||
# Ensure docker is configured for linux containers
|
# Ensure docker is configured for linux containers
|
||||||
|
|
|
@ -25,7 +25,7 @@ spec:
|
||||||
- linux
|
- linux
|
||||||
containers:
|
containers:
|
||||||
- name: large-container
|
- name: large-container
|
||||||
image: mcr.microsoft.com/oss/azcu/go-dev:v1.29.2
|
image: mcr.microsoft.com/oss/azcu/go-dev:v1.30.0
|
||||||
imagePullPolicy: IfNotPresent
|
imagePullPolicy: IfNotPresent
|
||||||
command: ["/bin/sh"]
|
command: ["/bin/sh"]
|
||||||
args: ["-c", "while true; do sleep 1000; done"]
|
args: ["-c", "while true; do sleep 1000; done"]
|
||||||
|
|
Загрузка…
Ссылка в новой задаче