DOCKER_REGISTRY_HOST, DOCKER_REGISTRY_HOST these field are our local repository address it's used by $CCI_SRC/sbin/docker-pull
Signed-off-by: Xiao Shenwei xiaoshenwei96@163.com --- sparrow/3-code/dev-env | 4 ++++ 1 file changed, 4 insertions(+)
diff --git a/sparrow/3-code/dev-env b/sparrow/3-code/dev-env index 80ee2cf..11c7fb0 100755 --- a/sparrow/3-code/dev-env +++ b/sparrow/3-code/dev-env @@ -10,6 +10,8 @@ server_ip=$(ip route get 1.2.3.4 | awk '{print $7; exit}') : ${gitcache_port:=5000} : ${FLUENTD_SERVER_HOST:=$server_ip} : ${FLUENTD_SERVER_PORT:=24224} +: ${DOCKER_REGISTRY_HOST:=$server_ip} +: ${DOCKER_REGISTRY_PORT:=5001}
mkdir -p /etc/compass-ci/defaults cat > /etc/compass-ci/defaults/$server_name.yaml <<EOF @@ -22,6 +24,8 @@ GITCACHE_HOST: $gitcache_host GITCACHE_PORT: $gitcache_port FLUENTD_SERVER_HOST: $FLUENTD_SERVER_HOST FLUENTD_SERVER_PORT: $FLUENTD_SERVER_PORT +DOCKER_REGISTRY_HOST: $DOCKER_REGISTRY_HOST +DOCKER_REGISTRY_PORT: $DOCKER_REGISTRY_PORT EOF
cat > /etc/profile.d/compass.sh <<'EOF'