summaryrefslogtreecommitdiffstats
path: root/vagrant/basebuild
AgeCommit message (Collapse)AuthorFilesLines
2016-07-20prefetch mavenC.J. Collier1-0/+1
* call maven install function * maven install function installs from file in /vagrant Jenkins will be modified to point to this pre-installed maven. This will eliminate many problems caused by an inability to fetch common files. Another solution would be to host a caching proxy within Vexxhost and set the http_proxy and https_proxy environment variables to use this host. Change-Id: I76d1f3c2526b45dbe0fa4b2a17d3e30d434092ce Signed-off-by: C.J. Collier <cjcollier@linuxfoundation.org>
2016-06-15Simplify READMEC.J. Collier1-45/+126
* configurable options have been moved to environment variables * processes have been simplified * Added a script to bootstrap openstack vagrant environment * Added an example openstack dummy box Vagrantfile Change-Id: I5dd850e9456ad205fe3a655ca9e16a9bb14f32e2 Signed-off-by: C.J. Collier <cjcollier@linuxfoundation.org>
2016-05-20Document the process of re-spinning an imageC.J. Collier3-3/+142
* Document the process of respinning jcloud images in README.txt * Create /scripts/respin-jcloud-images.sh * Create /vagrant/lib/respin-functions.sh * Automate the process of fetching latest base images * Automate the process of creating new "LF upload" snapshots * Automate process of creating jcloud image - Boot fresh VM - run bootstrap.sh - run system_reseal.sh - snapshot re-sealed system * Unable to automate updating jcloud image regex for staging nodes * Correct shasum to sha1sum * Add cloud-initramfs-* to PACKAGES list * Install cloud-init during system reseal Change-Id: Ie70d5f1fdee0e9f06810da6f37bfc710e3e06b8e Signed-off-by: C.J. Collier <cjcollier@linuxfoundation.org>
2016-05-16Instrument Jenkins images/builds (take2)Ed Warnicke1-0/+1
Change-Id: I167cb259fce64f96d385294268a78bf6d161c8de Signed-off-by: Ed Warnicke <eaw@cisco.com>
2016-05-16Instrument Jenkins images/buildsEd Warnicke1-0/+3
This patch instruments so we can be certain *what* bootstrap.sh was used to build the running image and what include-raw-vpp-build.sh was run for the Job Change-Id: I69782c3bca71f24d24133205130be059a14a114c Signed-off-by: Ed Warnicke <eaw@cisco.com>
2016-05-16Add build dependencies for documentationChris Luke1-0/+4
Add doxygen and graphviz to the dependency list. Change-Id: I546b41a7613d8492f4054b3674905f05c504fad3 Signed-off-by: Chris Luke <chrisy@flirble.org> Signed-off-by: C.J. Collier <cjcollier@linuxfoundation.org>
2016-05-16Disable things which may lock /var/lib/dpkg/lockEd Warnicke1-0/+2
The ubuntu1604 verify job has been failing due to locking of /var/lib/dpkg/lock: https://lists.fd.io/pipermail/vpp-dev/2016-May/000992.html This appears to only happen with the first job run against a particular Jenkins slave, and upon using: https://gerrit.fd.io/r/#/c/1121/ to probe it, two candidates emerge: apt.systemd.daily and unattended-upgrades So this patch removes unattended-upgrades and stops/disables apt.systemd.daily via systemd Change-Id: Ic2bc9e4ec54ef1f2d0ab35813c4623a67a43f00a Signed-off-by: Ed Warnicke <eaw@cisco.com>
2016-05-12Enable Serial ConsoleC.J. Collier1-0/+1
This patch will allow access to the bootloader and kernel boot messages for debugging and maintenance * add function deb_enable_serial_console to bootstrap-functions.sh * call deb_enable_serial_console from bootstrap.sh Change-Id: Ia79881a91ab4d10b1f5ed6deb3a43a7a4d037fa5 Signed-off-by: C.J. Collier <cjcollier@linuxfoundation.org>
2016-05-05Re-factor vagrant bootstrapC.J. Adams-Collier2-171/+27
* created new file to hold functions * moved sections of bootstrap in to functions * called functions from case statement block * integrate changes from Andrew Grimberg <agrimberg@linuxfoundation.org> (change 994) * integrate changes from Ed Warnicke <eaw@cisco.com> (change 996) * update debian package list after installing PPA * synchronized redhat package list with VPP Makefile Change-Id: I3d005c0fe01211c78c8b120b266964d873ee25b7 Signed-off-by: C.J. Adams-Collier <cjac@colliertech.org>
2016-05-04Sync bootstrap.sh with build.shEd Warnicke1-7/+9
Change-Id: I82fd236337ef939fd28b0495b8fa0e1516a754ac Signed-off-by: Ed Warnicke <eaw@cisco.com>
2016-05-04Cleanup vagrantAndrew Grimberg2-34/+33
* Cleanup the Vagrantfile of unneeded cruft * Cleanup the boostrap to be a bit more quiet and also give context as to what it's doing * Make sure that the reseal has a sync / sleep Change-Id: Ia1aa4e30b7a6342689c6fce30a18db1f52d27182 Signed-off-by: Andrew Grimberg <agrimberg@linuxfoundation.org>
2016-05-03re-index system certificatesC.J. Collier1-9/+13
* corrected truncation of PACKAGES file * using headless variant of JDK * removed -qq from apt-get commands to provide better accounting * run update-ca-certificates -f to ensure that nexus.fd.io is trusted Change-Id: I57f7267d6c70e40d63c86234e4e1723983170c3a Signed-off-by: C.J. Collier <cjcollier@linuxfoundation.org>
2016-05-02Clean up apt package listC.J. Collier2-21/+103
* Combine all packages in to a single call to apt-get install * Modify /etc/apt/apt.conf * corrected a comment * not doing redundant edit of /etc/sysctl.conf * adding emacs files to .gitignore * Exercised this code while producing a new base image for each targetted platform * install java8 from official openjdk PPA if platform is 14.04 * detect correct python package to install in CentOS * open (and later close) stdout and stderr logs for later review Change-Id: I669c0c3043f0c90df7af5033b8e180b0e6dc696a Signed-off-by: C.J. Collier <cjcollier@linuxfoundation.org>
2016-04-29VPP-8: use jdk8 for VPP buildsMarek Gradzki1-1/+8
Change-Id: Ieec25be815128e53328493700d9a3d228bceba2b Signed-off-by: Marek Gradzki <mgradzki@cisco.com>
2016-04-20Added python3-dev dependency to support Python API bindings.Ole Troan1-1/+4
Change-Id: Ie7eb3d22e81fe718d688fbd1f5ffebb282e06e17 Signed-off-by: Ole Troan <ot@cisco.com>
2016-04-15Add dependency on dh-systemdEd Warnicke1-1/+1
Change-Id: I9a10dd107150ba31f13a00f7faabd0cc9fe2503f Signed-off-by: Ed Warnicke <eaw@cisco.com>
2016-04-13Add 'mock' to allow cleaner rpmbuildEd Warnicke1-0/+1
Change-Id: I800ae2b6be86ac54c259f952da9fb9b423a338f3 Signed-off-by: Ed Warnicke <eaw@cisco.com>
2016-03-25Fix rh_systems shell functionAndrew Grimberg1-2/+2
The rh_systems shell function was not properly defined. This corrects it so that the bootstrapping can work Change-Id: Ic5f03feac7deb5c8da54f3db4b0fb6a599ff0d85 Signed-off-by: Andrew Grimberg <agrimberg@linuxfoundation.org>
2016-03-24Add basebuild for centosEd Warnicke1-28/+72
Change-Id: I8a8ba3fe1fd3fb12ed3f3004bbc863cb7b2c9872 Signed-off-by: Ed Warnicke <eaw@cisco.com>
2016-03-24Refactor basebuild in prep to add Centos imageEd Warnicke2-62/+78
Change-Id: I9583a1e3a64c40460d5196ce28261230234ff80b Signed-off-by: Ed Warnicke <eaw@cisco.com>
2016-02-11Add virtualenv and pip to jenkins executor image.Stefan Kobza1-0/+3
Change-Id: I4315eeacff98fa4c9a41a53e608b90a68024d92f Signed-off-by: Stefan Kobza <skobza@cisco.com>
2016-02-02Update build-bot toolchain to match the vpp ubuntu Vagrantfile.Dave Barach1-1/+1
Change-Id: I03c63afdd02f0082bf0bd800e0d2f3b01b151415 Signed-off-by: Dave Barach <dave@barachs.net>
2015-12-14Some additional items needed for testing in basebuildEd Warnicke1-1/+1
Change-Id: I4730136b45d79f081d9bc649025bc34af62c21a5 Signed-off-by: Ed Warnicke <eaw@cisco.com>
2015-12-08Fixes for vpp JJB and vagrant fileEd Warnicke1-0/+3
Change-Id: Iffc3076ffa2c69913fa3473d9debbe753d680883 Signed-off-by: Ed Warnicke <eaw@cisco.com>
2015-11-24Initial build environment vagrant configurationAndrew Grimberg1-0/+78
This is the initial load in of the Vagrantfile used to create the build environment for Jenkins. More work should be done to break apart the current inline shell script with external scripts so that it will be easier to pick and choose what is to be run and that way the community can share a single script Change-Id: Ied7f9e29c4f20628aff3eae29335ad13f385139f Signed-off-by: Andrew Grimberg <agrimberg@linuxfoundation.org>