summaryrefslogtreecommitdiffstats
path: root/build/Makefile
AgeCommit message (Collapse)AuthorFilesLines
2017-09-19Fixes missing libvirt-client in ISOTim Rozet1-1/+1
This was causing ISO install to fail because the libvirt modules were missing for python-libvirt. JIRA: APEX-517 Change-Id: Iaf127340864da58b2bace720293e515c8e9db426 Signed-off-by: Tim Rozet <trozet@redhat.com>
2017-08-29Fixes missing iso packages and idempotency of virt resourcesTim Rozet1-1/+5
Python packages for ansible (py2.x) were missing causing ansible to fail. This patch adds those packages to the ISO and deploy dependencies playbook. Also includes fixes for deploy_dependencies playbook for virt resources to make them idempotent by removing using 'command' and instead just declaring 'state'. Change-Id: I9311184a6f3c40ead0a8ba16fa0b61667876cf12 Signed-off-by: Tim Rozet <trozet@redhat.com>
2017-08-26Add missing iso build dependenciesFeng Pan1-1/+1
Change-Id: Ie7c07d34819ea29575f94ecac3da046758415da6 Signed-off-by: Feng Pan <fpan@redhat.com>
2017-08-24Updates RPM specs and buildingTim Rozet1-5/+14
Changes Include: - Disables ONOS from rpm and image building - Fixes opnfv-apex package dependency for python34-opnfv-apex - Updates requirements for python34-opnfv-apex - Updates docs - Removes temporary build qcow2 for odl which was being bundled into our dev tars unnecessarily Change-Id: Ief668067181fc35a54553ae118b7950bddce1940 Signed-off-by: Tim Rozet <trozet@redhat.com>
2017-08-23Migrates Apex to PythonTim Rozet1-11/+3
Removes all bash libraries and converts almost all of the code to a mixture of Python and Ansible. utils.sh and clean.sh still exist. clean.sh will be migrated fully to clean.py in another patch. The Apex Python package is now built into the opnfv-apex-common RPM. To install locally do 'pip3 install .'. To deploy: opnfv-deploy -d <file> -n <file> --image-dir /root/apex/.build -v --debug Non-python files (THT yaml, settings files, ansible playbooks) are all installed into /usr/share/opnfv-apex/. The RPM will copy settings files into /etc/opnfv-apex/. JIRA: APEX-317 Change-Id: I3232f0329bcd13bce5a28da6a8c9c84d0b048024 Signed-off-by: Tim Rozet <trozet@redhat.com>
2017-07-05adding libvirt-python to isoDan Radez1-1/+1
JIRA: APEX-462 Change-Id: Ic38d174f92cd19fddd852888047d4b08ef69acab Signed-off-by: Dan Radez <dradez@redhat.com>
2017-06-07Merge "Adding rpmlint to the build"Tim Rozet1-10/+18
2017-06-06Fixes missing ramdisk and kernel in rpmTim Rozet1-2/+2
Change-Id: I970c79dc2a558af3c904d3b19218da53c98378d1 Signed-off-by: Tim Rozet <trozet@redhat.com>
2017-06-06Adding rpmlint to the buildDan Radez1-10/+18
- updating syntax to meet rpmlint standards Change-Id: I056b7600df0f4383b97c67e705bc0b749b4c1633 Signed-off-by: Dan Radez <dradez@redhat.com>
2017-05-21Fix dependencies errors in iso verifyFeng Pan1-1/+1
Change-Id: I6f169d6d89a0468c6c9208ba448c4da0a6f776ee Signed-off-by: Feng Pan <fpan@redhat.com>
2017-05-18Merge "dep updates related to removing openstack-tripleo"Tim Rozet1-33/+1
2017-05-17dep updates related to removing openstack-tripleoDan Radez1-33/+1
- configure-vm requires libvirt-python - removing some references to openstack-tripleo - updating dep urls to artifacts.opnfv.org JIRA: APEX-462 Change-Id: I5ed7f7ad2f2c016fcbc1157b29c2c0e4c5d9b4a7 Signed-off-by: Dan Radez <dradez@redhat.com>
2017-05-17Refactors build script for ApexTim Rozet1-1/+1
Changes Include: - Build has been refactored into python - Caching now packs into multiple unique tar files which are logged into a journal file - Multiple files and journal allow for multiple apex builds to run simultaenously while minimizing risk of collision between cache reading and writing - Build dependency packages updated and will install when missing via ansible - If more than 2 caches exist then prune the oldest cache Change-Id: Iae703253eb6034aee42bf33153bb6e434d3cec48 Signed-off-by: Tim Rozet <trozet@redhat.com>
2017-05-10Adding yamllint to build checksDan Radez1-0/+9
- making formatting changes to yaml files to meet yamllint checks Change-Id: Id48a8446512943e908e61dc00bbe6c033af27775 Signed-off-by: Dan Radez <dradez@redhat.com>
2017-05-09Updating Apex to OpenStack OcataDan Radez1-72/+5
- power management updated to virtualbmc, pxe_ssh is deprecated - removing custom tacker build - removing custom congress build - disabling yum update in undercloud on the cli instead of in a patch - Undercloud is direct kernel booted now, there are no kernel and initrd in the disk image from upstream - remove OpenDaylight previous to Carbon JIRA: APEX-433 JIRA: APEX-432 JIRA: APEX-431 Change-Id: I6963f16e65eacade5607a3082b58b6150331406c Signed-off-by: Dan Radez <dradez@redhat.com>
2017-04-13add onos deployment stepsbobzhou1-6/+3
opnfv-tht-pr: 128 opnfv-puppet-tripleo-pr: 23 Change-Id: Ib99f7e3968ed03bd86ca0de9c6c37c9871921486 Signed-off-by: bobzhou <bob.zh@huawei.com>
2017-03-17Remove ONOS package reference in MakefileFeng Pan1-1/+0
Change-Id: I81c6a2f6e8dacc3835e6abe1b674bbf25255d1da Signed-off-by: Feng Pan <fpan@redhat.com>
2017-03-16Removes building quagga/zrpcTim Rozet1-1/+1
Since building this takes 10 minutes or so and it has intermittent failures, we are moving it to artifacts. If we need timely changes we can implement a job to build it, using the apex makefile. JIRA: APEX-403 Change-Id: Ie26106062143c968492dce52149459a8dc7a47ba Signed-off-by: Tim Rozet <trozet@redhat.com>
2017-03-08Disabling ONOS from DanubeDan Radez1-3/+6
Integration work for ONOS in Danube was not completed. Disabling this scenario for this release. Disabling completed mostly by commenting out sections enabling easy re-enabling next release once integration work is completed. Change-Id: I1d7b457e8234bf6bb299b9908b356040e68370e5 Signed-off-by: Dan Radez <dradez@redhat.com>
2017-02-22Adding congress support back into DanubeDan Radez1-1/+1
opnfv-tht-pr: 97 opnfv-puppet-tripleo-pr: 10 Change-Id: Idfc109fc984f20b096a23d12864a027146a9c74c Signed-off-by: Dan Radez <dradez@redhat.com>
2017-02-17Adding Quagga to buildRomanos Skiadas1-1/+59
Builds 6Wind ZRPC, Quagga, and dependencies required for OpenDaylight with BGPVPN scenario. Packages are built into RPMs, and left on the overcloud disk in /root/quagga. They are then installed at deploy time if VPN feature flag is enabled. Note, for proper upstream we should create a zrpc OOO service, but that can be a follow up patch. For that we would also need official packaging/build system upstream somewhere. JIRA: APEX-357 Changes Include: - Build thrift rpm - Build c-capnproto rpm - Build quagga rpm - Build zrpcd rpm - Configure bgpd - Detect deploy with VPN and install pkgs - Enable zrpcd with systemd Change-Id: I9825694f46aaab48a3d1cd5fc4d9a24c7370e8fa Signed-off-by: Tim Rozet <trozet@redhat.com> Signed-off-by: Nikolas Hermanns <nikolas.hermanns@ericsson.com> Signed-off-by: Romanos Skiadas <rski@intracom-telecom.com>
2017-02-13Adding tacker support back into DanubeDan Radez1-0/+1
opnfv-tht-pr: 98 opnfv-puppet-tripleo-pr: 11 Change-Id: I971bb2c94eb9500c81b25adf5019fd02f8e90053 Signed-off-by: Dan Radez <dradez@redhat.com>
2017-02-07Fixing apex build system CentOS-7-1511 not foundNikolas Hermanns1-1/+1
The build system is broken since CentOS-7-1511 is not found on the mirror http://mirrors.cat.pdx.edu. 1511 is deprecated as written in: http://mirror.pregi.net/centos/7.2.1511/readme Fixes: https://build.opnfv.org/ci/job/apex-build-master/340/console Change-Id: I20d5cfddebb4be338f8b712bbe4d02dcbab30e5d Signed-off-by: Nikolas Hermanns <nikolas.hermanns@ericsson.com>
2016-12-22Updating Congress version to NewtonDan Radez1-6/+10
- Congress is not in THT now so this will not install yet - Removing doctor driver sideload in build The doctor driver is upstream in Newton. No need to side load the driver into the congress codebase anymore. - moving to upstream puppet module Change-Id: Ia60d7d33039dddda634cb5485a3c40ce6ec2b261 Signed-off-by: Dan Radez <dradez@redhat.com>
2016-12-12Update networking-vpp packagingFeng Pan1-5/+5
- Change package to python-networking-vpp - Turn off autoreq for /bin/python - Update vpp to 17.01 - Disables undercloud package updating Change-Id: I9743e73ca9c36cc5162076580dc0a6b8861c7149 Signed-off-by: Feng Pan <fpan@redhat.com>
2016-12-10Fixes and refactors failing ISO buildTim Rozet1-30/+25
The ISO was looking in the old location for the RPMs to install during the ISO build. Also updates the ISO build to build in .build/ like the other artifacts. JIRA: APEX_370 Change-Id: Ic4e802f096bac12e8c343960321fa0a554fde8a4 Signed-off-by: Tim Rozet <trozet@redhat.com> Signed-off-by: Feng Pan <fpan@redhat.com>
2016-12-08Fixes and cleans up build/cache directory usageTim Rozet1-180/+98
Changes include: - Building is isolated to a .build directory that is git ignored - Caching is isolated to a .cache directory that is git ignored - Build scripts have been variablized, and relative paths have been removed - Unused files removed - build.sh, make file cleaned up - Fixed broken building of markupsafe and jinja2 packages - make clean-cache will remove the cache now - per item cleans are removed in place of simple clean .build now - includes fix for OSC issue with LP# 1642301 Change-Id: I42b8e4eb694bf0a2c398858814f8b73785931896 Signed-off-by: Tim Rozet <trozet@redhat.com>
2016-12-02Merge "Adding a release RPM"Tim Rozet1-2/+24
2016-12-02updating the tacker build to use upstreamDan Radez1-15/+16
Change-Id: Ice900ffa840d6aac4fe31459432cbf95ff945d84 Signed-off-by: Dan Radez <dradez@redhat.com>
2016-12-01Adding a release RPMDan Radez1-2/+24
JIRA: APEX-351 Change-Id: I9b8b74073287005221a7a3f6dfe2d52a7d1cf667 Signed-off-by: Dan Radez <dradez@redhat.com>
2016-11-29Adding git commit to RPM releasesDan Radez1-65/+52
Preparing for better caching by adding the git hash to the rpm release We can skip building the RPMs if they are cached and would be built off the same hash JIRA: APEX-325 Change-Id: I9b0e26f123667673d126362a2501abb13830e44b Signed-off-by: Dan Radez <dradez@redhat.com>
2016-11-29Remove networking-vpp version fixFeng Pan1-1/+0
Change-Id: Icc4bc5a053e658f758a9dc7d22647348769a64ba Signed-off-by: Feng Pan <fpan@redhat.com>
2016-11-29Merge "Adding more cleanups for Apex RPMS"Dan Radez1-0/+10
2016-11-27Build failure fixesFeng Pan1-0/+1
- Remove puppet debug from overcloud image - file /var/lib/heat-config/hooks/puppet no longer exist in overcloud image. - Revert networking-vpp to known working version until fix is committed upstream. Change-Id: I9add838a60014a43774d4001ccd84ccad21a3343 Signed-off-by: Feng Pan <fpan@redhat.com>
2016-11-23Adding more cleanups for Apex RPMSDan Radez1-0/+10
Change-Id: Ief9b017a290816c941fd8c15e5877cda81bb67cf Signed-off-by: Dan Radez <dradez@redhat.com>
2016-11-11Merge "Migrate to stable/newton"Tim Rozet1-1/+1
2016-11-11Migrate to stable/newtonTim Rozet1-1/+1
os-odl_l2_nofeature is now deprecated since new netvirt only supports odl_l3. JIRA: APEX-299 Change-Id: I3557ecb85fa4cd11bba96aa9410e56a8e8cceb00 Signed-off-by: Tim Rozet <trozet@redhat.com>
2016-10-18giving some love to make cleanDan Radez1-11/+27
it wasn't working, so adding a few things so it will work and clean up better JIRA: APEX-327 Change-Id: I428309f4e0f7ad837d24a7b0cc4659172f7f2bc7 Signed-off-by: Dan Radez <dradez@redhat.com>
2016-10-12Consolidate ODL SFC RPM into ODL RPMDan Radez1-36/+5
OVS NSH can be installed at deploy time. Change-Id: Ie875ada99053df95c6534e269f4dd627396489bc JIRA: APEX-324 Signed-off-by: Dan Radez <dradez@redhat.com>
2016-10-06Merge "VPP version update"Tim Rozet1-3/+3
2016-10-04VPP version updateFeng Pan1-3/+3
- Update VPP version to latest on 16.09 branch - Change networking-vpp repo to point to openstack. - Update VPP python API rpm location - Configure etcd for networking-vpp ML2 plugin opnfv-tht-pr: 85 JIRA: APEX-283 Change-Id: I4e69de3c51b1f4221995cc8568cdfa18aacbc55c Signed-off-by: Feng Pan <fpan@redhat.com>
2016-09-27Add python ipmi library to isoMichael Chapman1-0/+1
JIRA: APEX-282 Change-Id: Ib63735049689eb9e2778d71f803f2bdb7a55c9eb Signed-off-by: Michael Chapman <woppin@gmail.com>
2016-09-22migrating to proposed common network settings fileDan Radez1-3/+0
- proposed in genesis https://wiki.opnfv.org/display/genesis/Common+Network+Settings - This patch updates the network_settings files in the config/network dir and updates the associated bash, python and python tests relative to the new yaml structure and nomenclature used in the proposed settings file JIRA: APEX-262 Change-Id: Ib0dc9d0f21465b38f2a53cff20f71fb9230bfc48 Signed-off-by: Dan Radez <dradez@redhat.com>
2016-09-15Networking-vpp fixesFeng Pan1-1/+1
- Update TenantNIC and PublicNIC in numa.yaml - Use OVS rather than linux bridge for virtual deployment on jump host - Fix controller and compute IP arrays in T-H-T - Move networking-vpp repo for vlan rewrite patch JIRA: APEX-261 opnfv-tht-pr: 79 Change-Id: I4b3b6b09613e7c47869617e15aafec8e7b59d18f Signed-off-by: Feng Pan <fpan@redhat.com>
2016-08-28Add networking-vpp ML2 mechanism driver to overcloud imageFeng Pan1-1/+11
Change-Id: Icfeb02f73b18aa6dbcca449b83d2c8c8bf0f6dab Signed-off-by: Feng Pan <fpan@redhat.com>
2016-08-26Freezes FDIO/Honeycomb artifactsTim Rozet1-1/+1
JIRA: APEX-243 Change-Id: I1ed843c316b840aa9c0f85ef250fcecc59197188 Signed-off-by: Tim Rozet <trozet@redhat.com>
2016-08-25Add JVpp to local maven repository during honeycomb/vpp buildFeng Pan1-0/+2
Change-Id: I1002eb3d2a6e58621582dd61348ffa2745c77655 Signed-off-by: Feng Pan <fpan@redhat.com>
2016-08-24adding more network_environment.py testsDan Radez1-1/+1
- increasing required test coverage to 90% - also consolidating some repeated code into functions Change-Id: I6b582478c509c24fce43224a516414e1ead6c8e4 Signed-off-by: Dan Radez <dradez@redhat.com>
2016-08-24Add honeycomb to build processFeng Pan1-1/+17
JIRA: APEX-133 Change-Id: I96b278996edc6897408111d31b9effe472fb0d10 Signed-off-by: Feng Pan <fpan@redhat.com>
2016-08-17Moving rpm spec files to a sub directoryDan Radez1-17/+17
Change-Id: I10eebc955cae5006155e045accf2924c393ab522 Signed-off-by: Dan Radez <dradez@redhat.com>