aboutsummaryrefslogtreecommitdiffstats
path: root/functest/ci/download_images.sh
AgeCommit message (Collapse)AuthorFilesLines
2017-08-29Revert cirros downloading urls to official onesLinda Wang1-5/+5
Change-Id: If8add206b2c3274adfa3eac77607fb7beaa59941 Signed-off-by: Linda Wang <wangwulin@huawei.com>
2017-08-29Refactor the vyos_vrouter to adopt VNF abstractionShuya Nakama1-0/+1
JIRA: FUNCTEST-788 1.Modifying code of vyos_vrouter to inherit vnf abstraction class. 2.Adding vyos_vrouter code from our repo to functest. 3.Adding unit test of vyos_vrouter. 4.Doing test of modified vyos_vrouter codes on our labs. Change-Id: I77e4be8b2a140ea0176c607f2be736599f893ace Signed-off-by: Shuya Nakama <shuya.nakama@okinawaopenlabs.org>
2017-08-28Temporarily download cirros from artifactsLinda Wang1-5/+5
The domain download.cirros-cloud.net expired 2017-08-27, meaning cirros image downloads fail, so change the download url to artifacts temporarily. Change-Id: I26e0723b5df1300c3869cc2f4cad138794c17e4b Signed-off-by: Linda Wang <wangwulin@huawei.com>
2017-08-25download_images.sh: add --keep option to avoid redownloading imagesMorgan Richomme1-3/+1
Change-Id: Id25f1a354ffd067ba926dc67907b6ca913999437 Signed-off-by: Morgan Richomme <morgan.richomme@orange.com>
2017-08-24bug fix download_images.shMorgan Richomme1-1/+1
when xz the downloaded file, if the uncompressed target file already exists it exits with status 1 and breaks the gate Change-Id: Ie97ff34e6522af48c799e7c8c97dc3310222e683 Signed-off-by: Morgan Richomme <morgan.richomme@orange.com>
2017-08-23Download images from marketplace.openbaton.org:8082Cédric Ollivier1-3/+1
LF admins opened port 8082. Change-Id: I57a2beff32f0a346855968c4229dae4487ccbd85 Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
2017-08-23AArch64: SNAPS: CentOS, Ubuntu image configCatalina Focsa1-0/+4
Change-Id: I8cbbfda7dd4089c122af4e0a459f4c03c1a3bb3a Signed-off-by: Catalina Focsa <catalina.focsa@enea.com>
2017-08-23Fixes image download scriptTim Rozet1-2/+8
Fixes Include: - Fix previous behavior where multiple copies of the same file would be downloaded as blah.qcow.1, blah.qcow.2 and not overwrite original file. - Fix issue where files were always downloaded, even when they were not different from server version. It temporarily stops downloading from marketplace.openbaton.org:8082 which is blocked by LF firewalls. wget options are tuned to avoid wasting jjobs time. Change-Id: I9191847a3f80045329c160e86655cc0a0e80831c Signed-off-by: Tim Rozet <trozet@redhat.com>
2017-08-21Give a list of links to wgetCédric Ollivier1-60/+15
Now download_images.sh simply relies on wget -i. It downloads all requirements as the biggest ones are mandatory or scenario independent (VNF) The offical ubuntu-16.04-server-cloudimg-amd64-disk1.img is selected instead of the one hosting by OPNFV SDNVPN. Change-Id: Ica566bb351f22dfba001678fe93b8a2b1523941a Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
2017-07-13Remove add_images.shjose.lausuch1-10/+34
The Docker images should not host any OS image. They shall be pre-downloaded and mounted as a docker volume to the functest container. Also, add scenario argument to skip images that are not needed for the scenario Change-Id: I652ec32b177ddea73c8a253359e873f13bf0c950 Signed-off-by: jose.lausuch <jose.lausuch@ericsson.com>
2017-07-02Apply restrictive file permissionsCédric Ollivier1-0/+0
It conforms with [1] by creating a new venv which checks the unix permissions. As jjobs call Functest console scripts [2], all perms can be 644. Dockerfiles are updated as well. [1] https://security.openstack.org/guidelines/dg_apply-restrictive-file-permissions.html [2] https://gerrit.opnfv.org/gerrit/#/c/36805/ Depends-On: I9209e6efa1b493e24135402a46df72aaa14115d1 Change-Id: I31bc7f12b775928845e23b6b40288b0a50b87219 Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
2017-06-27SNAPS tests now support offline testing.spisarski1-0/+7
Images by type (cirros, centos, ubuntu) can now have the download URL be overridden, told to leverage a local file, or have custom configuration when using the snaps.openstack.tests.openstack_tests.py image settings helper functions. JIRA: FUNCTEST-809 Change-Id: I790094a7a26eb5a55f53d6e875c658dc5e7ac2f9 Signed-off-by: spisarski <s.pisarski@cablelabs.com>
2017-05-29Chmod 755 functest/ci/download_images.shCédric Ollivier1-0/+0
It's designed to be called via Jenkins and was fixed by the next rule: $ find ${FUNCTEST_REPO_DIR} -name "*.sh" \ |xargs grep \#\! |cut -d\: -f 1 |xargs chmod -c 755 Change-Id: I186aa9c3227dbac4e80f9a463632efdb2512020e Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
2017-05-18Add a new directory to hold pre-downloaded imageshelenyao1-0/+31
Put all images in the new direcotry. If users want to use the local image, map the local directory to the ${HOME}/functest/images Change-Id: I0d309b93f52b3da23d6130056f1a19907313ef68 Signed-off-by: helenyao <yaohelan@huawei.com>