summaryrefslogtreecommitdiffstats
path: root/ci/kolla-build-vm.sh
AgeCommit message (Collapse)AuthorFilesLines
2018-01-05Add upstream patchesZhijiang Hu1-9/+7
When we building kolla images in OPNFV jenkins job, we need to clone code directly from openstack/kolla project and patch it with necessary patches needed by OPNFV. This is the first patch focus on ODL and DPDK integration. To use it, please clone openstack/kolla's stable/pike branch first then apply patch by using git apply command. This PS also solved git clone risk found by Anteater by deleting url variable in git clone command. Change-Id: I9d02f0d4919b53fb33233399ed4efd57d27b21a1 Signed-off-by: Zhijiang Hu <hu.zhijiang@zte.com.cn>
2018-01-04Fix tmp dir security risks in image build codeZhijiang Hu1-4/+9
Change-Id: I2b909101ead10e26d2ec00a0ba3eb4ca63dc226a Signed-off-by: Zhijiang Hu <hu.zhijiang@zte.com.cn>
2017-11-16ceilometer needs gnocchi from pikeZhijiang Hu1-1/+1
Change-Id: I793a31e42eb5dd9f9af34489c599624b8c83e11a Signed-off-by: Zhijiang Hu <hu.zhijiang@zte.com.cn>
2017-11-13Exit if kolla image build failedZhijiang Hu1-10/+5
Previously, image build failure was ignored since the failure is caused by images that we do not need. Then, we only build what we really need. So now, image build failure should not be ginored any more. This PS also do clean up task after failure occured, althrough this is not really necessary when running in a temporary VM. But it is helpful when running manually. Change-Id: Ica8771e80bc313795598e18dc0175177ccb6c11a Signed-off-by: Zhijiang Hu <hu.zhijiang@zte.com.cn>
2017-11-02Increase retries and decrease threads to make build more stableZhijiang Hu1-1/+3
Change-Id: Idb8d4f64a1799cfdf80401e4dc5b3f24caa7a04b Signed-off-by: Zhijiang Hu <hu.zhijiang@zte.com.cn>
2017-10-30Support build OVS+DPDK imagesZhijiang Hu1-2/+32
Change-Id: Ife79062ff702ba281777f3741a56ac188e98ebec Signed-off-by: Zhijiang Hu <hu.zhijiang@zte.com.cn>
2017-10-27Build kolla image in VMZhijiang Hu1-0/+334
This PS: 1. Build kolla image in VM 2. Use sha512sum to check kolla image 3. Delete suffix dot when there is no ext_tag Change-Id: I94d99e3ff69c47cc247051fae812bfdb29ff0246 Signed-off-by: Zhijiang Hu <hu.zhijiang@zte.com.cn>