summaryrefslogtreecommitdiffstats
path: root/jjb/functest/functest-cleanup.sh
AgeCommit message (Collapse)AuthorFilesLines
2017-02-13No action when no container is therehelenyao1-1/+4
Docker complained about no container is there when calling the container removal step without checking the existence of container. In this change, action will be taken only if there is any container. Change-Id: I32efc98bb4e2c2f5a47bffa88fc5c5b4c8e5d821 Signed-off-by: helenyao <yaohelan@huawei.com>
2017-02-10Use the aarch64 image for functestCristina Pauna1-1/+6
An aarch64 image was created for functest in https://gerrit.opnfv.org/gerrit/#/c/27801/ This image is build and pushed with https://gerrit.opnfv.org/gerrit/#/c/28291/ In this commit, the aarch64 image is pulled when an aarch64 jenkins slave is used for running functest. JIRA: ARMBAND-180 Change-Id: Idfe7115275a056ef5137cff0a963910c2707457c Signed-off-by: Cristina Pauna <cristina.pauna@enea.com>
2016-12-21Bugfix: fix the wrong extraction of image_idhelenyao1-1/+1
Change-Id: If1678725a1b417cf0a94265557a6d88aa7c416cb Signed-off-by: helenyao <yaohelan@huawei.com>
2016-12-21opnfv/functest:<none> and its containers are removedhelenyao1-11/+26
JIRA: FUNCTEST-653 opnfv/functest images with <none> tag are generated after functest images are pull many times. These images can be queried with filter "dangling". Logics are added to remove dangling images and their containers. Change-Id: I271f4d95c5fb62fdebe690d82330f6b25ac1e2f8 Signed-off-by: helenyao <yaohelan@huawei.com>
2016-12-18Bug-Fix: Fix clean_image flag does not take effecthelenyao1-1/+1
JIRA: FUNCTEST-665 In patch https://gerrit.opnfv.org/gerrit/#/c/25775/, it set CLEAN_DOCKER_IMAGES=false to save time. On CI job, the cleaning step is still undertaken. Change-Id: Iaca64d3a347dafa9c87975c756ea8bcb30ae2f93 Signed-off-by: helenyao <yaohelan@huawei.com>
2016-12-07functest,doctor: CLEAN_DOCKER_IMAGESRyota MIBU1-1/+1
The builder/script 'functest-cleanup' will delete docker images for functest, so that we can make sure the latest functest will be used during the tests. But, it also makes a pod downloads image every time CI triggered functest-suite. This patch adds option 'CLEAN_DOCKER_IMAGES' (default=true), so that the job owner can choose whether he/she wants to drop the docker images or not depends on frequency or charactaristics of the job. Change-Id: I0b7affccb404fb8c4f0939b00d65e363ec62f7c3 Signed-off-by: Ryota MIBU <r-mibu@cq.jp.nec.com>
2016-05-24functest: Take builders out of jjbFatih Degirmenci1-0/+21
Change-Id: I546b1b323db2d1839335a34e8293b27f368b0626 Signed-off-by: Fatih Degirmenci <fatih.degirmenci@ericsson.com>