Age | Commit message (Collapse) | Author | Files | Lines |
|
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>
|
|
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>
|
|
- 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>
|
|
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>
|
|
|
|
JIRA: APEX-351
Change-Id: I9b8b74073287005221a7a3f6dfe2d52a7d1cf667
Signed-off-by: Dan Radez <dradez@redhat.com>
|
|
- updates cache to use the cache dir as a linked representation
of the build dir
- fixing cache build/extract
JIRA: APEX-325
Change-Id: I80bf67e5d55ca2e069ca72e6b47303368bda0433
Signed-off-by: Dan Radez <dradez@redhat.com>
|
|
OVS NSH can be installed at deploy time.
Change-Id: Ie875ada99053df95c6534e269f4dd627396489bc
JIRA: APEX-324
Signed-off-by: Dan Radez <dradez@redhat.com>
|
|
Change-Id: I10eebc955cae5006155e045accf2924c393ab522
Signed-off-by: Dan Radez <dradez@redhat.com>
|
|
Change-Id: I88514fe95121ecc7e6e4cbb41f529404c815bf06
Signed-off-by: Dan Radez <dradez@redhat.com>
|
|
force-build-rpms
Change-Id: I70d101b78608414ad5ffb745e6d8a64f59850f61
Signed-off-by: Dan Radez <dradez@redhat.com>
|
|
Change-Id: I54205d217807fd5499a71571ef8bed7c684fe944
Signed-off-by: Dan Radez <dradez@redhat.com>
|
|
Change-Id: Ife0f4b0d3c59512ce378f7e2b7bf1f5d98e9cada
Signed-off-by: Tim Rozet <trozet@redhat.com>
|
|
Change-Id: Iececedb03a60dd0bfc1ad6ef1275f6a0427350eb
Signed-off-by: Dan Radez <dradez@redhat.com>
|
|
- Fix common rpm spec syntax error
- Fix build.sh check for spec file changes.
Change-Id: I84b54c87356a092af480957ad4b2e93ec577539b
Signed-off-by: Feng Pan <fpan@redhat.com>
|
|
JIRA: APEX-167
Change-Id: Ibb9d69eb4326911a5c62fc9f10b02ccf191a3046
Signed-off-by: Tim Rozet <trozet@redhat.com>
|
|
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>
|
|
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>
|
|
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>
|
|
- 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>
|
|
- 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>
|
|
Change-Id: I6a0a63f04c0693b9dd2f4a137475ef00c2377455
|
|
Change-Id: I6446058a5ab1dd37659e553ad41d9fd9b0f9bd25
|
|
- 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>
|
|
- 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>
|
|
updating build.sh to use RDO manager
ensuring jenkins will build properly
Change-Id: Id7660c49650a85958e5ff0153d9b5cc6255cb6ad
Signed-off-by: Dan Radez <dradez@redhat.com>
|
|
Change-Id: Ib5f8ed4dfcaa42bcefcf2a7914c201a887beeacd
Signed-off-by: Dan Radez <dradez@redhat.com>
|