зеркало из https://github.com/Azure/aks-engine.git
chore: switch dev image to go 1.13 version (#2976)
This commit is contained in:
Родитель
6f1c911f84
Коммит
12cca7fbf5
|
@ -1,6 +1,6 @@
|
|||
{
|
||||
"name": "Go for aks-engine",
|
||||
"image": "quay.io/deis/go-dev:v1.25.0",
|
||||
"image": "quay.io/deis/go-dev:v1.25.0-go113",
|
||||
"extensions": [
|
||||
"ms-vscode.go"
|
||||
],
|
||||
|
|
|
@ -0,0 +1 @@
|
|||
1.13.0
|
|
@ -17,7 +17,7 @@ pr:
|
|||
resources:
|
||||
containers:
|
||||
- container: dev1
|
||||
image: quay.io/deis/go-dev:v1.25.0
|
||||
image: quay.io/deis/go-dev:v1.25.0-go113
|
||||
|
||||
jobs:
|
||||
- job: unit_tests
|
||||
|
|
|
@ -7,7 +7,7 @@ trigger: none
|
|||
# - POST a new SKU to azure marketplace
|
||||
|
||||
variables:
|
||||
CONTAINER_IMAGE: 'quay.io/deis/go-dev:v1.25.0'
|
||||
CONTAINER_IMAGE: 'quay.io/deis/go-dev:v1.25.0-go113'
|
||||
|
||||
phases:
|
||||
- phase: build_vhd
|
||||
|
|
|
@ -7,7 +7,7 @@ trigger: none
|
|||
# - POST a new SKU to azure marketplace
|
||||
|
||||
variables:
|
||||
CONTAINER_IMAGE: 'quay.io/deis/go-dev:v1.25.0'
|
||||
CONTAINER_IMAGE: 'quay.io/deis/go-dev:v1.25.0-go113'
|
||||
|
||||
phases:
|
||||
- phase: build_vhd
|
||||
|
|
2
Makefile
2
Makefile
|
@ -27,7 +27,7 @@ ifeq ($(GITTAG),)
|
|||
GITTAG := $(VERSION_SHORT)
|
||||
endif
|
||||
|
||||
DEV_ENV_IMAGE := quay.io/deis/go-dev:v1.25.0
|
||||
DEV_ENV_IMAGE := quay.io/deis/go-dev:v1.25.0-go113
|
||||
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)
|
||||
|
|
|
@ -5,7 +5,7 @@ This guide explains how to set up your environment for development on AKS Engine
|
|||
## Prerequisites
|
||||
|
||||
- [`git`](https://git-scm.com/)
|
||||
- [`go`](https://golang.org/dl) 1.12 or later
|
||||
- [`go`](https://golang.org/dl) 1.13
|
||||
- [`dep`](https://github.com/golang/dep) 0.5.1 or later
|
||||
- An [Azure](https://azure.microsoft.com/en-us/) subscription
|
||||
- [`kubectl`](https://kubernetes.io/docs/tasks/tools/install-kubectl/)
|
||||
|
|
2
go.mod
2
go.mod
|
@ -1,6 +1,6 @@
|
|||
module github.com/Azure/aks-engine
|
||||
|
||||
go 1.14
|
||||
go 1.13
|
||||
|
||||
require (
|
||||
github.com/Azure/aks-engine/test/e2e v0.0.0-20200318043210-65f753070203 // indirect
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
$DEV_ENV_IMAGE = "quay.io/deis/go-dev:v1.25.0"
|
||||
$DEV_ENV_IMAGE = "quay.io/deis/go-dev:v1.25.0-go113"
|
||||
$DEV_ENV_WORK_DIR = "/aks-engine"
|
||||
|
||||
# Ensure docker is configured for linux containers
|
||||
|
|
Загрузка…
Ссылка в новой задаче