summaryrefslogtreecommitdiffstats
path: root/test/ete/labs
diff options
context:
space:
mode:
authorGary Wu <gary.i.wu@huawei.com>2018-01-12 01:17:32 -0800
committerGary Wu <gary.i.wu@huawei.com>2018-01-12 01:26:00 -0800
commitea1a5b7ade95eeda13b9ef97708040cc8f69e69c (patch)
tree6bbbc3b899acfc5c68b2afaca8075acd3b1b32fb /test/ete/labs
parent4fc947f51190baf02435b02a3fd70bd2da40ec62 (diff)
Don't use insecure docker cache for dcae-bootstrap
Change-Id: Iadcbc5798f16dd79cc39fc2b852d2f4440afb24c Issue-ID: INT-278 Signed-off-by: Gary Wu <gary.i.wu@huawei.com>
Diffstat (limited to 'test/ete/labs')
-rwxr-xr-xtest/ete/labs/gwu/apt-proxy.sh3
-rwxr-xr-xtest/ete/labs/huawei/apt-proxy.sh3
-rwxr-xr-xtest/ete/labs/windriver/apt-proxy.sh3
3 files changed, 9 insertions, 0 deletions
diff --git a/test/ete/labs/gwu/apt-proxy.sh b/test/ete/labs/gwu/apt-proxy.sh
index 858c48be7..59ba676a3 100755
--- a/test/ete/labs/gwu/apt-proxy.sh
+++ b/test/ete/labs/gwu/apt-proxy.sh
@@ -13,3 +13,6 @@ sed -i '/#!\/bin\/bash/a\
Acquire::https::Proxy "DIRECT";\
EOF\
apt-get -y update' $1
+
+# don't use insecure docker proxy in dcae
+perl -i -0pe 's/(?<=dcae_c_vm:)(.*?)\{ get_param: nexus_docker_repo \}/$1"nexus3.onap.org:10001"/s' $1
diff --git a/test/ete/labs/huawei/apt-proxy.sh b/test/ete/labs/huawei/apt-proxy.sh
index 45c8ae09b..82cc4f7de 100755
--- a/test/ete/labs/huawei/apt-proxy.sh
+++ b/test/ete/labs/huawei/apt-proxy.sh
@@ -11,3 +11,6 @@ sed -i '/#!\/bin\/bash/a\
Acquire::https::Proxy "DIRECT";\
EOF\
apt-get -y update' $1
+
+# don't use insecure docker proxy in dcae
+perl -i -0pe 's/(?<=dcae_c_vm:)(.*?)\{ get_param: nexus_docker_repo \}/$1"nexus3.onap.org:10001"/s' $1
diff --git a/test/ete/labs/windriver/apt-proxy.sh b/test/ete/labs/windriver/apt-proxy.sh
index a492c5a30..f8bb32ff0 100755
--- a/test/ete/labs/windriver/apt-proxy.sh
+++ b/test/ete/labs/windriver/apt-proxy.sh
@@ -11,3 +11,6 @@ sed -i '/#!\/bin\/bash/a\
Acquire::https::Proxy "DIRECT";\
EOF\
apt-get -y update' $1
+
+# don't use insecure docker proxy in dcae
+perl -i -0pe 's/(?<=dcae_c_vm:)(.*?)\{ get_param: nexus_docker_repo \}/$1"nexus3.onap.org:10001"/s' $1