From 754942ff8876efdb86fcd892bea3c34a0078c294 Mon Sep 17 00:00:00 2001 From: Mark Mandel Date: Thu, 11 Oct 2018 11:08:06 -0700 Subject: [PATCH] Mount point for helm config This allows repository information to be saved between invocations of the build image. --- build/Makefile | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/build/Makefile b/build/Makefile index 1e3f534b03..b7cfc01ac2 100644 --- a/build/Makefile +++ b/build/Makefile @@ -58,10 +58,13 @@ agones_path := $(realpath $(build_path)/..) kubeconfig_path := $(dir $(KUBECONFIG)) kubeconfig_file := $(notdir $(KUBECONFIG)) +helm_path := ~/.helm + agones_package = agones.dev/agones mount_path = /go/src/$(agones_package) common_mounts = -v $(build_path)/.config/gcloud:/root/.config/gcloud \ -v $(kubeconfig_path):/root/.kube \ + -v $(helm_path):/root/.helm \ -v $(agones_path):$(mount_path) build_tag = agones-build:$(build_version) @@ -271,6 +274,7 @@ clean-build-image: ensure-build-config: -mkdir -p $(kubeconfig_path) -mkdir -p $(build_path)/.config/gcloud + -mkdir -p $(helm_path) # create the build image if it doesn't exist ensure-build-image: ensure-build-config