summaryrefslogtreecommitdiffstats
path: root/build/variables.sh
AgeCommit message (Collapse)AuthorFilesLines
2017-09-23Adding unittests for buildDan Radez1-1/+1
- covers build.py - covers build_utils.py - moved build_utils out of build module, it wasn't possible to import build.py while build_utils was in a module Change-Id: I42f08a475d9ca219a62c421d4bdd2d1d3c49691a Signed-off-by: Dan Radez <dradez@redhat.com>
2017-09-21Revert "Adds Calipso scenario"Tim Rozet1-3/+0
This reverts commit 433961f8c0b816f19aa858654261fa87d2f02a19. Change-Id: Ic8a14d2e0ad8d1006625af401fde2f365890650b Signed-off-by: Tim Rozet <trozet@redhat.com>
2017-09-20Adds Calipso scenarioTim Rozet1-0/+3
Calipso uses docker containers and is post deployment feature that can be used to monitor pieces of the stack. This patch installs it to the undercloud rather than the jumphost as it is easier to manage for cleanup and dependencies. Change-Id: Ie2dacc4f14b391a864fafb2e75ebcd15facb19f1 Signed-off-by: Tim Rozet <trozet@redhat.com>
2017-09-19Freezes RDO images for EuphratesTim Rozet1-1/+1
Change-Id: Ie20e7d0c52efc2497c7c9975f88be0a9bfa7aa07 Signed-off-by: Tim Rozet <trozet@redhat.com>
2017-08-23Migrates Apex to PythonTim Rozet1-2/+2
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-29Add support for fdio scenariosFeng Pan1-5/+5
Add support for the following scenarios: - os-odl-fdio-ha - os-odl-fdio-noha - os-nosdn-fdio-noha - os-nosdn-fdio-ha apex-tripleo-heat-templates: If11092e6581445a70e63c8f6c48518698b3cc8fc apex-puppet-tripleo: If498c41d706c8f14a5b0bbee64cb4d26cd78c2d0 apex-os-net-config: If7a2c6119bf613f1fc8846237b077cd8f0e26015 Change-Id: Id3fdd09f6e0d2b7666d08c0dc7802165797eefdc Signed-off-by: Feng Pan <fpan@redhat.com>
2017-05-30Moving to forks on gerrit.opnfv.orgDan Radez1-0/+2
Migrating off of github onto opnfv.org to host our forked projects that are side loaded into our builds apex-tripleo-heat-templates: Ic65cfeee4a55e993629f831c8c9d9addf6f3dff4 apex-puppet-tripleo: If498c41d706c8f14a5b0bbee64cb4d26cd78c2d0 apex-os-net-config: I5281a57640f388e984b061702362f9c82d08da78 Change-Id: Ieb5cf293ad06d90fce7a9467e32ac0f2d8731a0a Signed-off-by: Dan Radez <dradez@redhat.com> Signed-off-by: Feng Pan <fpan@redhat.com>
2017-05-25Fixes missing permissions on configure-vmTim Rozet1-1/+1
Also updates dpdk package location Change-Id: I123c3d8593b623f45273845726870224ff9f7ca8 Signed-off-by: Tim Rozet <trozet@redhat.com>
2017-05-18Updates the real time kvm kerneldavidjchou1-1/+1
Reduce the real time kvm kernel by stripping debug info. Change-Id: I33335b8a9bd241ee83bc6f30bb2e819403bad491 Signed-off-by: davidjchou <david.j.chou@intel.com>
2017-05-09Updating Apex to OpenStack OcataDan Radez1-18/+2
- 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-05-08Moves RDO images URI to working serverTim Rozet1-2/+4
CBS has been broken and the overcloud and undercloud artifacts are not getting updated there. The new URI is a workaround because it is a single file server acting as a backup until the CBS repo is fixed. JIRA: APEX-458 Change-Id: I743747015d69b17d75aa7b231bc07c935788ea20 Signed-off-by: Tim Rozet <trozet@redhat.com>
2017-05-08Merge "add onos deployment steps"Dan Radez1-2/+2
2017-04-28Merge "Updates the real time kvm kernel from 4.4.6-rt14 to 4.4.50-rt62."Tim Rozet1-2/+2
2017-04-27Updates the real time kvm kernel from 4.4.6-rt14 to 4.4.50-rt62.davidjchou1-2/+2
Change-Id: Iee42eb2533fe8c8336113613ab578aa56abb37fb Signed-off-by: davidjchou <david.j.chou@intel.com>
2017-04-27Update VPP/ODL versions for FDIO scenariosFeng Pan1-22/+6
Pin the same set of FDIO and OpenDaylight versions for all fdio scenarios. Note that fdio_netvirt-fdio still uses a customized ODL version. os-net-config-pr: 7 JIRA: APEX-451 Change-Id: Ic5ac5aeead9967fe383447e23653276cde2dfe60 Signed-off-by: Feng Pan <fpan@redhat.com>
2017-04-13add onos deployment stepsbobzhou1-2/+2
opnfv-tht-pr: 128 opnfv-puppet-tripleo-pr: 23 Change-Id: Ib99f7e3968ed03bd86ca0de9c6c37c9871921486 Signed-off-by: bobzhou <bob.zh@huawei.com>
2017-04-06nosdn fdio scenario fixesTim Rozet1-0/+8
- pins nosdn fdio packages that work - disable l3 agent ha mode opnfv-tht-pr: 130 Change-Id: I9470565768611f83cbd6e34f567a0aec58fa65ef Signed-off-by: Tim Rozet <trozet@redhat.com> Signed-off-by: Feng Pan <fpan@redhat.com>
2017-03-29Pins ODL L3 VPP/HC packagesTim Rozet1-0/+9
JIRA: APEX-421 Change-Id: I18a1624af96be772820938e3138666c51b10301c Signed-off-by: Tim Rozet <trozet@redhat.com>
2017-03-24Fixes OVS DPDK scenariosTim Rozet1-6/+5
This fixes nosdn OVS DPDK scenarios to work with OVS 2.6. It also adds support for the ODL DPDK scenario. OVS DPDK configuration is done during preconfig on compute nodes. All nodes make use of first boot script to get kernel params like hugepages. The network settings are modified to use real nic names for the virtual network settings file. This is required due to a timing bug with os-net-config and using first-boot script. The network settings file also contains the UIO driver to use with DPDK. JIRA: APEX-314 opnfv-tht-pr: 117 Change-Id: I46b6fca71ecec38981968133ba2411f64d7c6445 Signed-off-by: Tim Rozet <trozet@redhat.com>
2017-03-16Removes vpp-devel from package installTim Rozet1-1/+0
Change-Id: I16f5defdd47f19095f97414f46cd9e12d3c53b19 Signed-off-by: Tim Rozet <trozet@redhat.com>
2017-03-15Final bump of Gluon to upstream release v1.0.1Georg Kunz1-1/+2
Change-Id: I7b220a332a8738054bcb569c3fa01b5d401a167e Signed-off-by: Georg Kunz <georg.kunz@ericsson.com>
2017-03-10Fixes mismatch for Java APIs between HC and VPP and L2 pkgsTim Rozet1-0/+8
This copies the same API jars used for VPP to the Honeycomb to help workaround the issues we are facing of incompatible Java APIs between HC and VPP versions. It also locks vpp/honeycomb/odl to known working packages for L2 scenarios. Also increases overcloud disk +400MB to accomodate more vpp pkgs. opnfv-tht-pr: 122 Change-Id: Id803834e1f1fa352778784da9ac246ab9c58a3b1 Signed-off-by: Tim Rozet <trozet@redhat.com>
2017-03-09Adding "Real Time KVM" supportdavidjchou1-0/+3
Adding the support to run the "Real Time KVM" kernel in the compute node(s) to reduce the network latency caused by the virtualization of the network functions. Since the current "Real Time KVM" kernel doesn't support physical to logical network interface mapping yet, we need to use the real physical interface name rather than the logical interface name for all compute interfaces in network_settings.yaml. Also updates tests for the network settings changes and fixes a bug where interface was being queried on the controller nics before it interfaces were validated. JIRA: APEX-128 Change-Id: Iccb6c9fbdcf7e3b482f4283039ef17c38e0a6df7 Signed-off-by: davidjchou <david.j.chou@intel.com> Signed-off-by: Tim Rozet <trozet@redhat.com> Signed-off-by: Dan Radez <dradez@redhat.com>
2017-03-08Adding to build cache and removing jolokia tarballDan Radez1-0/+2
Change-Id: I23bf0ebda3a75a348383c1b5372698bf0e1d47b1 Signed-off-by: Dan Radez <dradez@redhat.com>
2017-03-03Allow RDO_IMAGE_URI env var to override RDO images sourceDan Radez1-1/+1
JIRA: APEX-381 Change-Id: If740f376fefc325d54c7477f8c97af0b51201354 Signed-off-by: Dan Radez <dradez@redhat.com>
2017-02-18Merge "Adding Quagga to build"Tim Rozet1-0/+2
2017-02-17Adding Quagga to buildRomanos Skiadas1-0/+2
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-17onos 1.8 upgradationrssaravana1-1/+1
Change-Id: I5e9b8dd51be347f08e8ab8205a70121b903347fd Signed-off-by: rssaravana <saravanakumar.somaskandan@huawei.com>
2016-12-22Updating Congress version to NewtonDan Radez1-3/+2
- 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-1/+1
- 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-11Fixes broken git tag variablesTim Rozet1-4/+4
Change-Id: Ie935dd6ddad5866e208a470765030e6d1246a0e9 Signed-off-by: Tim Rozet <trozet@redhat.com>
2016-12-08Fixes and cleans up build/cache directory usageTim Rozet1-0/+5
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-02updating the tacker build to use upstreamDan Radez1-3/+8
Change-Id: Ice900ffa840d6aac4fe31459432cbf95ff945d84 Signed-off-by: Dan Radez <dradez@redhat.com>
2016-11-29Adding git commit to RPM releasesDan Radez1-1/+15
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-29Updates VPP packages to latest master versionTim Rozet1-9/+0
JIRA: APEX-344 Change-Id: Ib1bf1ac6b76af3a4cbbc2b7a20753c232ff5fa16 Signed-off-by: Tim Rozet <trozet@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-21Moving custom rpm packages to dev_dep_checkDan Radez1-12/+0
These only need to be installed once so no need to check them every run. Change-Id: I288fb52625cad1f11b3b3ca7f0f29a30095646f9 Signed-off-by: Dan Radez <dradez@redhat.com>
2016-10-18Merge "Consolidate ODL SFC RPM into ODL RPM"Tim Rozet1-4/+0
2016-10-13Fix openstack-congress package namezshi1-0/+1
JIRA: APEX-287 openstack-congress rpm-spec use '%dist' macro as name suffix, '%dist' macro is different over various distros which may cause name mismatch when uploading package to overcloud images; fix it by using '%dist' macro in package name to avoid possible mismatch. Change-Id: Iaa7068d7da3e5fe3728baf2fa3c67eb45355c74a Signed-off-by: zshi <zshi@redhat.com>
2016-10-12Consolidate ODL SFC RPM into ODL RPMDan Radez1-4/+0
OVS NSH can be installed at deploy time. Change-Id: Ie875ada99053df95c6534e269f4dd627396489bc JIRA: APEX-324 Signed-off-by: Dan Radez <dradez@redhat.com>
2016-10-04VPP version updateFeng Pan1-5/+5
- 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-21Fixes SFC OVS to be built in ApexTim Rozet1-0/+12
Our kernel version is always updated in our build, causing static kmod builds for OVS to fail. This adds OVS NSH to Apex build process. JIRA: APEX-214 Change-Id: Ib071565d71c3471c2a03345b999adcad5af1962f Signed-off-by: Tim Rozet <trozet@redhat.com>
2016-09-12Update honeycomb rpm versionFeng Pan1-1/+1
Change-Id: I1583cc5af95c8ce4e51794e2ea1a9e4827722a63 Signed-off-by: Feng Pan <fpan@redhat.com>
2016-08-29Update file names for ovs with DPDK. These file names are the same for the ↵Thomas F Herbert1-7/+9
colorado branch. Use GS_PATHNAME to make url to retrieve ovsnfv artifacts release independent. JIRA: APEX-242 JIRA: APEX-119 Change-Id: I1a5b99ac6c8e60b49e7437b3f35d2833e71e050e Signed-off-by: Thomas F Herbert <therbert@redhat.com>
2016-08-26Freezes FDIO/Honeycomb artifactsTim Rozet1-0/+10
JIRA: APEX-243 Change-Id: I1ed843c316b840aa9c0f85ef250fcecc59197188 Signed-off-by: Tim Rozet <trozet@redhat.com>
2016-08-25Fixes URL paths to stable artifactsTim Rozet1-2/+2
Change-Id: I177066f2bd7be77feaa5618d2f09c1aac26cc953 Signed-off-by: Tim Rozet <trozet@redhat.com>
2016-08-23Freezing TripleO undercloud/overcloud artifactsTim Rozet1-1/+1
JIRA: APEX-240 Change-Id: Icd69c76b624182042aea67fd23ecd33241325e26 Signed-off-by: Tim Rozet <trozet@redhat.com>
2016-08-22DPDK package fixesFeng Pan1-5/+5
- Update DPDK and ovs-dpdk rpm links - Change curl to wget to get proper error return code when failure occurs. JIRA: APEX-119 Change-Id: Icdd8e11f1fff9e20695780215dee357b0aca45a5 Signed-off-by: Feng Pan <fpan@redhat.com>
2016-08-11Fixes NSH OVS 2.5.90Tim Rozet1-1/+2
A bump in overcloud kernel caused NSH OVS to break. This patch upgrades the OVS RPMs. JIRA: APEX-214 Change-Id: I03179b47c4456decfa869e2e5065c1a5a1de579e Signed-off-by: Tim Rozet <trozet@redhat.com>