compass: Build Docker images with jjb 29/47329/7
authorwutianwei <wutianwei1@huawei.com>
Thu, 16 Nov 2017 09:27:59 +0000 (17:27 +0800)
committerwutianwei <wutianwei1@huawei.com>
Tue, 21 Nov 2017 02:07:33 +0000 (10:07 +0800)
commitf8314a3e76bd4aac1ada4a174b7468f3604f86ea
treefa6539a917e33a8a6e9151b01089aecab4c9a406
parent4245897311f394b2d4805337d85f28c0988320ae
compass: Build Docker images with jjb

JIRA: COMPASS-567

Add compass4nfv-docker.yml
compass-tasks-k8s and compass-tasks-osa are dependent on compass-compass-tasks.
So we have to phase to build docker images
phase 1. execute the multijob 'build compass-tasks images'
Only the phase 1 is successful then excute the phase 2
phase 2. execute the multijob 'build all compass images'

Modify the opnfv-docker.sh
1. Add a function remove_containers_images
2. call the remove_containers_images when beginning and finishing build
   to solve the problem of rmove of images due to dependancy

Change-Id: I66fb27260cf114da96417361e80c8183db3233bd
Signed-off-by: wutianwei <wutianwei1@huawei.com>
jjb/releng/compass4nfv-docker.yml [new file with mode: 0644]
jjb/releng/opnfv-docker.sh