Fix qcow files fetch
* Check md5summ before download
* migrate to apt.mcp.mirantis.net
http://ci.mcp.mirantis.net:8085/images
=> https://apt.mcp.mirantis.net/images
Change-Id: I00271d9ca1cd89655247c806d38718de6e62a1ab
Related-Bug: PROD-20792 (PROD:20792)
diff --git a/init.yml b/init.yml
index f3e7e4a..e88b3fe 100644
--- a/init.yml
+++ b/init.yml
@@ -35,8 +35,8 @@
docker_registry_http_secret: 'Thoh0unuaeSeeT9i'
# Upstream mirrors:
#docker_artifactory_mirror: 'docker-prod-local.artifactory.mirantis.com'
- #vcp_images_mirror: 'http://images.mirantis.com/'
- vcp_images_mirror: 'http://ci.mcp.mirantis.net:8085/images/'
+ #vcp_images_mirror: 'http://images.mirantis.com'
+ vcp_images_mirror: 'https://apt.mcp.mirantis.net/images'
docker_artifactory_mirror: 'docker-prod-local.docker.mirantis.net'
docker_image_aptly:
api: ${_param:docker_artifactory_mirror}/mirantis/cicd/aptly-api:${_param:apt_mk_version}
@@ -351,12 +351,14 @@
ubuntu-16-04-x64.qcow2:
name: /srv/http/images/ubuntu-16-04-x64-mcp${_param:apt_mk_version}.qcow2
source: ${_param:vcp_images_mirror}/ubuntu-16-04-x64-mcp${_param:apt_mk_version}.qcow2
+ hash: ${_param:vcp_images_mirror}/ubuntu-16-04-x64-mcp${_param:apt_mk_version}.qcow2.md5
ubuntu-16-04-x64.qcow2.md5:
name: /srv/http/images/ubuntu-16-04-x64-mcp${_param:apt_mk_version}.qcow2.md5
source: ${_param:vcp_images_mirror}/ubuntu-16-04-x64-mcp${_param:apt_mk_version}.qcow2.md5
ubuntu-14-04-x64.qcow2:
name: /srv/http/images/ubuntu-14-04-x64-mcp${_param:apt_mk_version}.qcow2
source: ${_param:vcp_images_mirror}/ubuntu-14-04-x64-mcp${_param:apt_mk_version}.qcow2
+ hash: ${_param:vcp_images_mirror}/ubuntu-14-04-x64-mcp${_param:apt_mk_version}.qcow2.md5
ubuntu-14-04-x64.qcow2.md5:
name: /srv/http/images/ubuntu-14-04-x64-mcp${_param:apt_mk_version}.qcow2.md5
source: ${_param:vcp_images_mirror}/ubuntu-14-04-x64-mcp${_param:apt_mk_version}.qcow2.md5