summaryrefslogtreecommitdiffstats
path: root/ci/kolla-build-vm.sh
AgeCommit message (Collapse)AuthorFilesLines
2018-04-01kolla-build-vm.sh is ready for QueensZhijiang Hu1-27/+25
This PS does: 1. Set default build target to stable/queens, but still fix to pike for OPNFV master branch, please see line:83 2. Create mappings between branch name and version number in code, since upstream kolla does not do it automatically using git tag for us start from Queens relese. Therefore, we do not need to let the user to define the version code and then check it with git tag command return value any more. So -t argument is deleted. 3. Support building Queens images. 4. Arrange patches in sub-directories name by version code so that user can use this one script to patch and build any version they want. But for OPNFV Jenkins, only the version for the current branch can be built according to the -j argument. 5. Upgrade DPDK version from 16.11 to 17.02. 6. Call cleanup_registry_server before pack_registry_data, this is resonable for keeping registry data stable. Change-Id: Ic5a7e2da261d456a2a1481ad0e765a7ce28b8121 Signed-off-by: Zhijiang Hu <hu.zhijiang@zte.com.cn>
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>