ci: update dev image to deis/docker-go-dev v1.29.0 (#4195)
This commit is contained in:
Родитель
74bbda20c4
Коммит
4e7542be1e
|
@ -1,6 +1,6 @@
|
|||
{
|
||||
"name": "Go for aks-engine",
|
||||
"image": "quay.io/deis/go-dev:v1.28.4",
|
||||
"image": "mcr.microsoft.com/oss/azcu/go-dev:v1.29.0",
|
||||
"extensions": [
|
||||
"ms-vscode.go"
|
||||
],
|
||||
|
|
|
@ -21,7 +21,7 @@ jobs:
|
|||
docker run --rm \
|
||||
-v ${GITHUB_WORKSPACE}:/go/src/github.com/Azure/aks-engine \
|
||||
-w /go/src/github.com/Azure/aks-engine \
|
||||
quay.io/deis/go-dev:v1.27.3 make dist
|
||||
mcr.microsoft.com/oss/azcu/go-dev:v1.29.0 make dist
|
||||
|
||||
- name: Rename outputs
|
||||
run: |
|
||||
|
@ -34,4 +34,4 @@ jobs:
|
|||
token: ${{ secrets.GITHUB_TOKEN }}
|
||||
tag: nightly
|
||||
files: |
|
||||
outputs/*
|
||||
outputs/*
|
||||
|
|
|
@ -17,7 +17,7 @@ pr:
|
|||
resources:
|
||||
containers:
|
||||
- container: dev1
|
||||
image: quay.io/deis/go-dev:v1.28.4
|
||||
image: mcr.microsoft.com/oss/azcu/go-dev:v1.29.0
|
||||
|
||||
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.28.4'
|
||||
CONTAINER_IMAGE: 'mcr.microsoft.com/oss/azcu/go-dev:v1.29.0'
|
||||
|
||||
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.28.4'
|
||||
CONTAINER_IMAGE: 'mcr.microsoft.com/oss/azcu/go-dev:v1.29.0'
|
||||
|
||||
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.28.4
|
||||
DEV_ENV_IMAGE := mcr.microsoft.com/oss/azcu/go-dev:v1.29.0
|
||||
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)
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
$DEV_ENV_IMAGE = "quay.io/deis/go-dev:v1.28.4"
|
||||
$DEV_ENV_IMAGE = "mcr.microsoft.com/oss/azcu/go-dev:v1.29.0"
|
||||
$DEV_ENV_WORK_DIR = "/aks-engine"
|
||||
|
||||
# Ensure docker is configured for linux containers
|
||||
|
|
|
@ -25,7 +25,7 @@ spec:
|
|||
- linux
|
||||
containers:
|
||||
- name: large-container
|
||||
image: quay.io/deis/go-dev:v1.27.3
|
||||
image: mcr.microsoft.com/oss/azcu/go-dev:v1.29.0
|
||||
imagePullPolicy: IfNotPresent
|
||||
command: ["/bin/sh"]
|
||||
args: ["-c", "while true; do sleep 1000; done"]
|
||||
|
|
Загрузка…
Ссылка в новой задаче