aboutsummaryrefslogtreecommitdiffstats
path: root/build
AgeCommit message (Collapse)AuthorFilesLines
2017-07-17To judge download is successful or notwutianwei1-4/+12
if download fialed then exit Change-Id: I40d847523ac5448c51d0788f79e4af9737bb5944 Signed-off-by: wutianwei <wutianwei1@huawei.com>
2017-07-11Utilize yaml.safe_loadlhinds1-1/+1
The patch changes instances of yaml.load with yaml.safe_load which is more secure at blocking arbitrary code execution. The following blog has a decent explaination: https://www.kevinlondon.com/2015/08/15/dangerous-python-functions-pt2.html Change-Id: I8201baab6cb31ab31228eca83134f87a57c2f5d2 Signed-off-by: lhinds <lhinds@redhat.com>
2017-07-06Change docker repo in buildHarry Huang1-6/+6
1. change docker repo to compass4nfv 2. change compass-docker-compose github to Compass4NFV Change-Id: I81803ec3123c681e023f6e38456f431c6fc2e346 Signed-off-by: Harry Huang <huangxiangyu5@huawei.com>
2017-06-25replace build.conf with yamlchigang3-42/+145
JIRA: - use build.yaml as config file from Euphrates openstack deb/rpm/pip packages download from compass repo containers, not from compass.iso. so delete these packages from build.cfg Change-Id: Id254852ece0d738b3ec543efe68216206bd7daf2 Signed-off-by: chigang <chigang@huawei.com>
2017-06-09support Containerized compass-corehuangxiangyu1-12/+25
JIRA: COMPASS-534 1. rm compass vm and add ansible to bring up 5 compass containers 2. use tar package instead of compass.iso which contains compass docker images, OS ISO, PPA, pip packages. 3. modify client.py to communicate with containerized compass-core 4. modify cobbler files and ansible callback files to adapt with containerized compass-core 5. upgrade openstack version to ocata 6. use the openstack-ansible to deploy openstack 7. virtual deploy external use nat Change-Id: Ifa2a3f5b8c7c32224ac4276fd3d4cc2b0d270a26 Signed-off-by: huangxiangyu <huangxiangyu5@huawei.com>
2017-04-12Change the default packages url from compass http server to opnfv artifactsYifei Xue1-3/+0
JIRA: COMPASS-544 Currently compass4nfv uses compass http server to store those packages used in building ISO. This is not propriate in OPNFV community. So we push all the packages into opnfv artifacts repo and change the package url used in compass to opnfv artifacts repo url. Change-Id: I9661f2d893767e18c037ba9de5f54933f48ce466 Signed-off-by: Yifei Xue <xueyifei@huawei.com>
2017-03-08Upgrade tacker from mitaka to newtonYifei Xue1-1/+1
JIRA: COMPASS-528 Add tacker package making scripts into repo/pip/ directory. Compass will install tacker using pip in this release. Upgrade tacker role including tasks, templates and vars. Modify the installation method from using source code to using whl package. Change-Id: Iead323c7b46d8d1df084ed868d0e01bc1b0f7e55 Signed-off-by: Yifei Xue <xueyifei@huawei.com>
2017-01-25Ansible Module substitute for Shell Commandsliyuenan1-1/+0
JIRA: COMPASS-520 After update ansible version to v3, keystone_user module only support v2 API. So we use Shell Commands now, but it will failed with high probability. Those Shell Commands should be instead by ansible modules to manage Identity users, projects or some other work like crate networks. Change-Id: I63d38b4a811a9c063ac4404da72787f594411b53 Signed-off-by: liyuenan <liyuenan@huawei.com>
2017-01-14Deploy OpenStack Newton on CentOS hostsliyuenan1-12/+2
JIRA: COMPASS-518 Make Centos Newton ppa. Update host Centos version to 7.3. Support Centos Newton Deploy. Support Ceph Deploy. Change-Id: I6dd110cc10d425a9d590e1dcb5777ade5cce96aa Signed-off-by: liyuenan <liyuenan@huawei.com>
2016-12-20master only support newtonliyuenan1-8/+8
JIRA: COMPASS-513 Remove other roles and ppa, master only support newton. Change-Id: I47ddb16baa25902c3e05cc7f9d0d6430f5dc7e00 Signed-off-by: liyuenan <liyuenan@huawei.com>
2016-11-17Create make_repo directory and optimize the current repo making related scriptYifei Xue43-19443/+3
JIRA: COMPASS-496 Change-Id: I662d996382d38a3e9d0de6598dabe403b9d51665 Signed-off-by: Yifei Xue <xueyifei@huawei.com>
2016-11-15Repair Flake8's warnings & errorsKingPoo1-4/+4
Change-Id: I67e71bc37c0464a0714e1e59b3402973786e4aa6 Signed-off-by: KingPoo <haojingbo@huawei.com>
2016-11-11Merge "autopep8 make py files more standard"Justin chi1-15/+25
2016-11-09autopep8 make py files more standardKingPoo1-15/+25
Change-Id: Ibaa74a1f508b28548668e764d1860393caa356d4 Signed-off-by: KingPoo <haojingbo@huawei.com>
2016-11-10Rename pip-ops to pip-openstackliyuenan1-1/+1
Change-Id: Ie806f15b75ce409fc9283d5c0c0bc6691b430b27 Signed-off-by: liyuenan <liyuenan@huawei.com>
2016-11-08Split the Openstack's pip from pipliyuenan1-0/+1
JIRA: COMPASS-491 Change-Id: Ief6df7da1b3729beb2ac56ff1cfd14a44c71ef21 Signed-off-by: liyuenan <liyuenan@huawei.com>
2016-10-28Merge "support rhel7.2 with osp9 iso build"Justin chi1-0/+2
2016-10-27support rhel7.2 with osp9 iso buildQiLiang1-0/+2
Change-Id: Icbe64f57d936ace63419a0a359a163a822dc5e9c Signed-off-by: QiLiang <liangqi1@huawei.com>
2016-10-27add osp9 ppa create scriptsQiLiang5-0/+8779
JIRA: - Change-Id: I404f2ddb652d9b166a6162de14cb1d2a166d226b Signed-off-by: QiLiang <liangqi1@huawei.com>
2016-10-24Edit the docker file and adjust HA ymlliyuenan1-1/+2
JIRA: COMPASS-491 Change-Id: Ibca46dca0ca614b9a6e7eb3fe5b9d5c8ca26c006 Signed-off-by: liyuenan <liyuenan@huawei.com>
2016-10-16Merge "Support for policy2tosca python module installation"Justin chi1-1/+2
2016-10-13Make the openstack-newton packageliyuenan4-6/+113
JIRA: COMPASS-491 Change-Id: I27ca70b02c947e3c6a2467ad250ff81461c5de6f Signed-off-by: liyuenan <liyuenan@huawei.com>
2016-10-12Support for policy2tosca python module installationYifei Xue1-1/+2
JIRA: COMPASS-356 Change-Id: I5a5f68600545456d3d645b9042a5603d65e9b648 Signed-off-by: Yifei Xue <xueyifei@huawei.com>
2016-09-06Prepare the jump host offlineYifei Xue4-1/+212
JIRA: COMPASS-456 Change-Id: Iffc877a0fa4b361daa966cdcdca38c76e35d81ad Signed-off-by: Yifei Xue <xueyifei@huawei.com>
2016-08-19Revert "Prepare the jump host offline"Yifei Xue5-179/+1
This reverts commit b7058b4b3f823cf4c95c38741dddc68b59b733cc. Change-Id: I77437a15a0a0c47f768de30eaf7f37cf73f028fb Signed-off-by: Yifei Xue <xueyifei@huawei.com>
2016-08-17Prepare the jump host offlineYifei Xue5-1/+179
JIRA: COMPASS-456 Change-Id: Ieced8e30bde3d19623b5d2486a52f81c1cf295a3 Signed-off-by: Yifei Xue <xueyifei@huawei.com>
2016-08-12FIX centos7 ppa create failureQiLiang2-24/+5
ceph repo update, related upstream link: http://tracker.ceph.com/issues/16916 centos ceph-deploy rpm download failure workaround Error info: Package python-setuptools is obsoleted by python2-setuptools, but obsoleting package does not provide for requirements --> Finished Dependency Resolution Error: Package: ceph-deploy-1.5.31-1.el7.noarch (centos-ceph-hammer) Requires: python-distribute Available: python-setuptools-0.9.8-4.el7.noarch (base) python-distribute = 0.9.8-4.el7 You could try using --skip-broken to work around the problem You could try running: rpm -Va --nofiles --nodigest JIRA: COMPASS-455 Change-Id: Ibebc8b25786b12308d5963e77b0f7959d700113a Signed-off-by: QiLiang <liangqi1@huawei.com>
2016-08-06make_pip_repo bug fixQiLiang1-3/+3
Because of `set -ex` shell setup, if function return no zero the whole scripts will exit. JIRA: COMPASS-427 Change-Id: I153e2f18d367741f41a9840d8a98a39a4b2d055f Signed-off-by: QiLiang <liangqi1@huawei.com>
2016-07-14Support Ubuntu 14.04 and Ubuntu 16.04 in one ISOchenshuai@huawei.com1-1/+2
JIRA: COMPASS-431 Change-Id: I3134b558835081e04d29a666f5d3d79486b2c7a9 Signed-off-by: chenshuai@huawei.com <chenshuai@huawei.com>
2016-07-12Merge "Improvement: add xenial into make_repo.sh"shuai chen1-2/+8
2016-07-12Improvement: add xenial into make_repo.shQiLiang1-2/+8
JIRA: COMPASS-431 Change-Id: I95d46d4a92923df4f00a0ca48d18ba2e2cd9ed55 Signed-off-by: QiLiang <liangqi1@huawei.com>
2016-07-11Improvement: add xenial into make_repo.shchenshuai@huawei.com2-0/+27
JIRA: COMPASS-431 Change-Id: I46253881a4578737b905e65bc7ed566a71326536 Signed-off-by: chenshuai@huawei.com <chenshuai@huawei.com>
2016-07-08Improvement: add xenial into make_repo.shchenshuai@huawei.com2-2/+81
JIRA: COMPASS-431 Change-Id: Ic03bdd4d4c70d77912f0c1c96ccf63ee97aadf74 Signed-off-by: chenshuai@huawei.com <chenshuai@huawei.com>
2016-07-06make_pip_repo auto download package dependencyQiLiang2-7/+85
JIRA: COMPASS-427 Change-Id: If62736cc9ee7ad3d44be6b688cc52d84cf94cd5d Signed-off-by: QiLiang <liangqi1@huawei.com>
2016-07-02Upgrade networking-odl and its related pip packagesYifei Xue1-1/+5
JIRA: COMPASS-425 Change-Id: I9a09540fe5e295485f843e66c937f8fa2ad4dad0 Signed-off-by: Yifei Xue <xueyifei@huawei.com>
2016-07-01Update tacker related packagesYifei Xue1-1/+4
JIRA: COMPASS-423 Change-Id: I3efa0868c0147cc43b1df096ae89a6bdc42f4204 Signed-off-by: Yifei Xue <xueyifei@huawei.com>
2016-06-20onosfw: openvswitch support sfcchenshuai@huawei.com1-8/+16
JIRA: COMPASS-424 Change-Id: I3242219d1fff7f3a3919c5edd6dfab0c3557c454 Signed-off-by: chenshuai@huawei.com <chenshuai@huawei.com>
2016-06-16openvswitch: upgrade to 2.5.0chenshuai@huawei.com1-4/+4
JIRA: COMPASS-421 Change-Id: I80d0b482c093fd00b4ae0fa8a24b399c918e0beb Signed-off-by: chenshuai@huawei.com <chenshuai@huawei.com>
2016-06-07Fix make_repo.sh args passingQiLiang1-2/+2
JIRA: COMPASS-418 Change-Id: I7be1cd58632d0cdda70a954db6dc53ecff581f22 Signed-off-by: QiLiang <liangqi1@huawei.com>
2016-06-06Update build.shYifei Xue1-1/+2
JIRA: COMPASS-417 Change-Id: I7bb791b2c148cf29a5b8c45ef63204f1eac9e83a Signed-off-by: Yifei Xue <xueyifei@huawei.com>
2016-05-30These changes are the initial support for kvmfornfv using compass.José Pekkarinen2-0/+66
Change-Id: I5ab2d7ad2f639d6673e0debd8f07f4f95c8bb476 Signed-off-by: José Pekkarinen <jose.pekkarinen@nokia.com>
2016-05-26Add centos7_mitaka_ppa and update the "build" scriptYifei Xue1-1/+1
JIRA: COMPASS-402 Change-Id: Ibaa186a36c4c4f05b6dad96d447bb52bfadee9a2 Signed-off-by: Yifei Xue <xueyifei@huawei.com>
2016-05-24Update build and make_repo script for Mitaka_trustyYifei Xue1-3/+3
JIRA: COMPASS-396 Change-Id: I62ee005d16374daadc74de18d01c724eaa44be26 Signed-off-by: Yifei Xue <xueyifei@huawei.com>
2016-05-16Add Mitaka package for Ubuntu 14.04Yifei Xue6-13/+237
JIRA: COMPASS-387 Change-Id: I62da78a6aa252259265640b3ff84ad77c28fdece Signed-off-by: Yifei Xue <xueyifei@huawei.com>
2016-05-03FIX:make repo fail due to incorrect cheetah templategrakiss1-3/+3
JIRA:COMPASS-383 - failed to parse template file Change-Id: I8d20795025a18770c654acea7933a9c5e97152bb Signed-off-by: grakiss <grakiss.wanglei@huawei.com>
2016-04-28FIX:make repo fail due to incorrect cheetah templategrakiss4-1/+15
JIRA:COMPASS-378 Change-Id: I7cb9243b8fe5dc6d134b2323db0d33f0abf92ed3 Signed-off-by: grakiss <grakiss.wanglei@huawei.com>
2016-04-26FIX:upgrade epel to 7-6 and ceph to infernalisgrakiss1-3/+3
JIRA:COMPASS-379 Change-Id: I678a4ca2a17dac842624d1deda5576e9feeac622 Signed-off-by: grakiss <grakiss.wanglei@huawei.com>
2016-04-18Use variable instead of hardcode the openstack version namegrakiss7-95/+94
JIRA:COMPASS-369 - Use variable instead of hardcode the openstack version name Change-Id: I710bbd58f3c1921301cc11bd7ed430c85a791ea8 Signed-off-by: grakiss <grakiss.wanglei@huawei.com>
2016-03-11Add pip packages for TackerYifei Xue1-1/+4
JIRA: COMPASS-338 Change-Id: I6fa194ff7dbd5d211584e0ff9d24ab44a5226264 Signed-off-by: Yifei Xue <xueyifei@huawei.com>
2016-02-26Add physical pod config for cigrakiss1-1/+1
JIRA:COMPASS-324 - add new physical pod2 for centos7 Change-Id: Icb1e0eb264e855087330b2db571b65af9bb408c2 Signed-off-by: grakiss <grakiss.wanglei@huawei.com>