aboutsummaryrefslogtreecommitdiffstats
path: root/build.sh
AgeCommit message (Collapse)AuthorFilesLines
2017-11-21Merge "fix locale setting: Cannot set LC_ALL to default locale"Justin chi1-0/+3
2017-11-20fix locale setting: Cannot set LC_ALL to default localeDi Xu1-0/+3
Change-Id: I050a17d5f61a31f8690b41bb70b2ea312aa50ab1 Signed-off-by: Di Xu <di.xu@arm.com>
2017-11-09build: support aarch64 deployment imagesYibo Cai1-1/+6
- Use per architecture build-ARCH.yaml if available - Repos for aarch64 OS and docker images are passed by env Change-Id: Id7f9ca6dad690b8d375a3d8f488c7bf955a128ad Signed-off-by: Yibo Cai <yibo.cai@arm.com>
2017-11-09build: add docker-ce apt repo for aarch64Yibo Cai1-1/+8
Change-Id: I5b3c30e6202c4db45d02221d3e4b7e7250b1fd01 Signed-off-by: Yibo Cai <yibo.cai@arm.com>
2017-09-25fix yaml installHarry Huang1-2/+2
move yaml install out of if block to install pyyaml whenever apt packages is installed Change-Id: Icbad66e0d8070afcb183c31af4759443bf0cf7f1 Signed-off-by: Harry Huang <huangxiangyu5@huawei.com>
2017-06-29Fix python pkg issueHarry Huang1-1/+3
1 add install pyyaml in build process 2 fix python pkg version Change-Id: Icb40bd52aa6cd22874894047561acb9211abfa22 Signed-off-by: Harry Huang <huangxiangyu5@huawei.com>
2017-06-25replace build.conf with yamlchigang1-84/+3
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-157/+87
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-1/+1
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-27change the package urlwutianwei1-1/+7
We moved the master package repository from <http://205.177.226.237:9999> to <http://205.177.226.237:9999/master>. When we build the master ISO, we need download the package from new URL. Add md5 checksum after downloading package. Change-Id: Ia6d8a217569e6e8dc676b1290e583348a7b9c347 Signed-off-by: wutianwei <wutianwei1@huawei.com>
2017-01-25Ansible Module substitute for Shell Commandsliyuenan1-2/+1
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-23Adjust make repoHarry Huang1-1/+1
Demand: 1.Compass4nfv master code only support one OPNFV version now, no need to keep previous version's repo scripts 2.Currently java packages are in /var/www/package/onos directory which is unreasonable 3.repo.conf has a lot of download URL which can turn into pip requirements Modification: 1.Remove previous version's directory in compass4nfv/repo 2.Only leave java and odl in compass4nfv/repo/features. Other features can be added when they are ready 3.Seperate URLs in repo.conf into compass-core and openstack pip requirements. Therefore pip.tar.gz only contains pip packages for compass-core and pip-openstack.tar.gz only contains pip packages for openstack 3.Move java packages into /var/www/package/java directory 4.Add make pip wheel package function to support congress 5.Use ODL package distribution-karaf-0.5.0-Boron.tar.gz 6.Use python package netwoking-odl-3.2.0 Change-Id: Ifa818e7630ac4435e3bdb7756b83f80f50c24a76 Signed-off-by: Harry Huang <huangxiangyu5@huawei.com>
2017-01-14Deploy OpenStack Newton on CentOS hostsliyuenan1-3/+3
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-46/+4
JIRA: COMPASS-513 Remove other roles and ppa, master only support newton. Change-Id: I47ddb16baa25902c3e05cc7f9d0d6430f5dc7e00 Signed-off-by: liyuenan <liyuenan@huawei.com>
2016-11-25add compass-core conf/ into compass4nfvHarry Huang1-0/+1
JIRA: COMPASS-507 1.create deploy/compass_conf/ directory to keep local compass-core conf/ files. build.sh will add it into compass.iso 2.adjust conf files to support congress Change-Id: I91dde6f62f2385d1289a5cf9a39eafce945a1bc7 Signed-off-by: Harry Huang <huangxiangyu5@huawei.com>
2016-11-17Create make_repo directory and optimize the current repo making related scriptYifei Xue1-7/+56
JIRA: COMPASS-496 Change-Id: I662d996382d38a3e9d0de6598dabe403b9d51665 Signed-off-by: Yifei Xue <xueyifei@huawei.com>
2016-11-10Rename pip-ops to pip-openstackliyuenan1-3/+3
Change-Id: Ie806f15b75ce409fc9283d5c0c0bc6691b430b27 Signed-off-by: liyuenan <liyuenan@huawei.com>
2016-11-08Split the Openstack's pip from pipliyuenan1-2/+3
JIRA: COMPASS-491 Change-Id: Ief6df7da1b3729beb2ac56ff1cfd14a44c71ef21 Signed-off-by: liyuenan <liyuenan@huawei.com>
2016-10-27support rhel7.2 with osp9 iso buildQiLiang1-2/+10
Change-Id: Icbe64f57d936ace63419a0a359a163a822dc5e9c Signed-off-by: QiLiang <liangqi1@huawei.com>
2016-10-13Make the openstack-newton packageliyuenan1-4/+9
JIRA: COMPASS-491 Change-Id: I27ca70b02c947e3c6a2467ad250ff81461c5de6f Signed-off-by: liyuenan <liyuenan@huawei.com>
2016-08-19Revert "Prepare the jump host offline"Yifei Xue1-3/+1
This reverts commit b7058b4b3f823cf4c95c38741dddc68b59b733cc. Change-Id: I77437a15a0a0c47f768de30eaf7f37cf73f028fb Signed-off-by: Yifei Xue <xueyifei@huawei.com>
2016-08-17Prepare the jump host offlineYifei Xue1-1/+3
JIRA: COMPASS-456 Change-Id: Ieced8e30bde3d19623b5d2486a52f81c1cf295a3 Signed-off-by: Yifei Xue <xueyifei@huawei.com>
2016-07-14Support Ubuntu 14.04 and Ubuntu 16.04 in one ISOchenshuai@huawei.com1-2/+7
JIRA: COMPASS-431 Change-Id: I3134b558835081e04d29a666f5d3d79486b2c7a9 Signed-off-by: chenshuai@huawei.com <chenshuai@huawei.com>
2016-07-11Improvement: add xenial into make_repo.shchenshuai@huawei.com1-1/+5
JIRA: COMPASS-431 Change-Id: I46253881a4578737b905e65bc7ed566a71326536 Signed-off-by: chenshuai@huawei.com <chenshuai@huawei.com>
2016-05-26Add centos7_mitaka_ppa and update the "build" scriptYifei Xue1-4/+4
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-4/+4
JIRA: COMPASS-396 Change-Id: I62ee005d16374daadc74de18d01c724eaa44be26 Signed-off-by: Yifei Xue <xueyifei@huawei.com>
2016-05-16Add Mitaka package for Ubuntu 14.04Yifei Xue1-0/+8
JIRA: COMPASS-387 Change-Id: I62da78a6aa252259265640b3ff84ad77c28fdece Signed-off-by: Yifei Xue <xueyifei@huawei.com>
2016-02-15support to make liberty ppa of centosbaigk1-1/+5
JIRA: COMPASS-310 Change-Id: I9689ffed010a39c4a9dee6895e834f3ad58ab964 Signed-off-by: baigk <baiguoku@huawei.com>
2016-01-30add apache2 headers for shell scripts and ansible scriptscarey.xu1-0/+8
Change-Id: I34b66d76f59f4300c7ce4e7bd9dc7c1eaddfb384 Signed-off-by: carey.xu <carey.xuhan@huawei.com>
2015-12-31modify the network and indentity passwordbaigk1-4/+10
Change-Id: I000b580de67f01ea2b2a68ed0bfdefd09de610e8 Signed-off-by: baigk <baiguoku@huawei.com>
2015-12-22install compass-core in centos7baigk1-2/+0
JIRA: COMPASS-208 Change-Id: Ie98615df37115beaa0ad8f744cc87162452af751 Signed-off-by: baigk <baiguoku@huawei.com>
2015-12-01support libverty on ubuntucarey.xu1-1/+5
JIRA: COMPASS-169 Change-Id: I4656cf43eb3db0ba61fae4b03416b9c0239bb50b Signed-off-by: carey.xu <carey.xuhan@huawei.com>
2015-11-16suport installing openstack kilo on centos 7baigk1-1/+6
JIRA: COMPASS-141 Change-Id: I8b4eeacd802124cd05d17c7c24682254f0c567f7 Signed-off-by: baigk <baiguoku@huawei.com>
2015-10-27support optional isos and ppas in the compass iso filebaigk1-10/+32
JIRA: COMPASS-120 Change-Id: Icd61b0b7f448e38b5bef8aa7d8166e5e968a4f16 Signed-off-by: baigk <baiguoku@huawei.com>
2015-10-10bugfix: libvirt_type should be kvm when host is barebetal modebaigk1-5/+1
JIRA: COMPASS-81 Change-Id: Iba3cb182a3e461ab89eb40fdba7800b8b2a1fc3e Signed-off-by: baigk <baiguoku@huawei.com>
2015-09-12Ensure the fuser related package exists for buildingcarey.xu1-4/+4
Change-Id: I7b2cb14d0ea02e504f9cc83213b5e29d3cc9695b JIRA: COMPASS-47
2015-09-11modify build scripts on behalf of an unprivileged usercarey.xu1-54/+47
Change-Id: I1aee5a0ff1171c7bfc039841178ab5c4f3b3f19c JIRA: COMPASS-43
2015-09-10Merge "adjust iso and ppa path in compass.iso"shuai chen1-4/+6
2015-09-10adjust iso and ppa path in compass.isobaigk1-4/+6
JIRA: COMPASS-40 Change-Id: If10ec4be9613303584d5ca8bfdfe9b4790ac1d46 Signed-off-by: baigk <baiguoku@huawei.com>
2015-09-10Disable confirm when package installingcarey.xu1-1/+1
Change-Id: I7d4ebfa96c3d30f839b68cd9b6de6967e763db13 JIRA: COMPASS-39
2015-09-08Build improvement for speedup and using public repobaigk1-0/+194
JIRA: COMPASS-19 Change-Id: Iba101807e1bd2f843f1253791b7e87e1acb7934b Signed-off-by: baigk <baiguoku@huawei.com>