summaryrefslogtreecommitdiffstats
path: root/ci/build.sh
AgeCommit message (Collapse)AuthorFilesLines
2016-05-25Fixes nic template missing in spec and error catchingTim Rozet1-0/+11
Issue where jinja 2 templates were missing from spec file. Also adds error checking to make sure the nic templates were correctly generated. There was an error with dependencies missing on the build server - this patch includes a fix to make sure it is installed before trying to make. Change-Id: I7989ccf297a4e0d81326cccc06b2132018e7d8ae Signed-off-by: Tim Rozet <trozet@redhat.com>
2016-05-19Allows for specifying CPUs and RAM for VMs in virtual deploymentsTim Rozet1-1/+1
Changes Include: - All VMs (undercloud and overcloud) now default to 4 vCPUs - Allow specifying number of vCPUs per overcloud VM with --virtual-cpus <number> - Allow specifying amount of RAM per overcloud VM with --virtual-ram <size in GB> - Undercloud now uses 10GiB of RAM to avoid OOM JIRA: APEX-111 Change-Id: I541c669b869a90134bc8af25786fe3b1a557376b Signed-off-by: Tim Rozet <trozet@redhat.com>
2016-04-21Adds python IP utility libraryFeng Pan1-0/+9
Changes include: - IP utility library in python 3 that supports both IPv4 and IPv6 address generation. This library currently includes a single function of generating IP ranges or single IP for a given CIDR. More functionality will be added at a later time to support features such as IP address calculation. - Updated common-function.sh to use python library to generate IP ranges. All existing bash functions are preserved, so any callers will get identical IP ranges as before. - Add dependency to python3 for opnfv-apex-common package. - Add python dependency to build.sh No change is made to interface related functions. Change-Id: Idc6998754f9f3c7a3868ec5b5768f3bb5f78cd90 Signed-off-by: Feng Pan <fpan@redhat.com>
2016-04-05Makefile & build.sh updates for RPM BuildingDan Radez1-5/+38
- fix the undercloud dependancy chain so the tarball gets rolled now - adding rpm-check jobs for each of the rpms, this runs the build but doesn't spit out the rpm file - added conditionals for rpm-check commands, only take the time to run them if the Makefile or specs have changed Change-Id: I9731b278d06d92deb3f69066ba4468e64647582d Signed-off-by: Dan Radez <dradez@redhat.com>
2016-03-23updating vm creation for virt deploymentDan Radez1-378/+80
- replacing brbm with logical names br-netname - replacing instack-virt-setup with tripleo scripts JIRA: APEX-90, APEX-80 Change-Id: I58a15dee8de882e034c8af8a3368ca0647741b13 Signed-off-by: Dan Radez <dradez@redhat.com>
2015-11-13changing copying to linking to save time and space on the buildDan Radez1-6/+6
Change-Id: I6a0a63f04c0693b9dd2f4a137475ef00c2377455
2015-11-04adding --atime-preseve to try and fix cachingDan Radez1-2/+2
Change-Id: I6446058a5ab1dd37659e553ad41d9fd9b0f9bd25
2015-10-16cleaning up some thingsDan Radez1-4/+4
- clearing out the glance image builds, we download those from RDO - cleaning out the underlay attachment, that should happen in the deployment - no need to start the instack VM back up since the glance images are being downloaded Change-Id: I82098c9e908d58a704ce8b183d902032dd056be5 Signed-off-by: Dan Radez <dradez@redhat.com>
2015-10-16updates to the instack VMDan Radez1-2/+5
- increasing memory and vcpus for the VM - dumping yum cache - virt-sparsifying the instack disk image - remove cleaning stack dir so we actually cache its contents Change-Id: Ie35a2daeba69a1b53a749ef3423ac6356408ff97 Signed-off-by: Dan Radez <dradez@redhat.com>
2015-10-01adding master support for buildingDan Radez1-5/+15
updating build.sh to use RDO manager ensuring jenkins will build properly Change-Id: Id7660c49650a85958e5ff0153d9b5cc6255cb6ad Signed-off-by: Dan Radez <dradez@redhat.com>
2015-08-14Adding initial build scripts based on RDO managerDan Radez1-0/+398
Change-Id: Ib5f8ed4dfcaa42bcefcf2a7914c201a887beeacd Signed-off-by: Dan Radez <dradez@redhat.com>