File tree Expand file tree Collapse file tree 3 files changed +7
-3
lines changed Expand file tree Collapse file tree 3 files changed +7
-3
lines changed Original file line number Diff line number Diff line change 1
- c652fc10a113014c3755778e971603fcbfefb0fa
1
+ b7e9c0ef62f5ed2794d894cd086a016d6b141955
Original file line number Diff line number Diff line change @@ -93,9 +93,11 @@ mirror-licenses: mod-download-go
93
93
TMP := $(shell mktemp -d -u)
94
94
UPDATE_BRANCH ?= "master"
95
95
96
+ BUILD_TOOLS_ORG ?= "istio"
97
+
96
98
update-common :
97
99
@mkdir -p $(TMP )
98
- @git clone -q --depth 1 --single-branch --branch $(UPDATE_BRANCH ) https://github.com/istio /common-files $(TMP ) /common-files
100
+ @git clone -q --depth 1 --single-branch --branch $(UPDATE_BRANCH ) https://github.com/$( BUILD_TOOLS_ORG ) /common-files $(TMP ) /common-files
99
101
@cd $(TMP ) /common-files ; git rev-parse HEAD > files/common/.commonfiles.sha
100
102
@rm -fr common
101
103
@CONTRIB_OVERRIDE=$(shell grep -l "istio/community/blob/master/CONTRIBUTING.md" CONTRIBUTING.md)
Original file line number Diff line number Diff line change 72
72
fi
73
73
74
74
# Build image to use
75
+ TOOLS_REGISTRY_PROVIDER=${TOOLS_REGISTRY_PROVIDER:- gcr.io}
76
+ PROJECT_ID=${PROJECT_ID:- istio-testing}
75
77
if [[ " ${IMAGE_VERSION:- } " == " " ]]; then
76
78
IMAGE_VERSION=master-04cfef4d3b89cbc1a32f2983460724ac4f450154
77
79
fi
@@ -89,7 +91,7 @@ TARGET_OUT_LINUX="${TARGET_OUT_LINUX:-$(pwd)/out/linux_${TARGET_ARCH}}"
89
91
CONTAINER_TARGET_OUT=" ${CONTAINER_TARGET_OUT:-/ work/ out/ ${TARGET_OS} _${TARGET_ARCH} } "
90
92
CONTAINER_TARGET_OUT_LINUX=" ${CONTAINER_TARGET_OUT_LINUX:-/ work/ out/ linux_${TARGET_ARCH} } "
91
93
92
- IMG=" ${IMG:- gcr.io / istio-testing / ${IMAGE_NAME} : ${IMAGE_VERSION} } "
94
+ IMG=" ${IMG:- ${TOOLS_REGISTRY_PROVIDER} / ${PROJECT_ID} / ${IMAGE_NAME} : ${IMAGE_VERSION} } "
93
95
94
96
CONTAINER_CLI=" ${CONTAINER_CLI:- docker} "
95
97
You can’t perform that action at this time.
0 commit comments