summaryrefslogtreecommitdiffstats
path: root/packer
AgeCommit message (Collapse)AuthorFilesLines
2019-12-09Remove packagecloud installVanessa Rene Valderrama1-4/+0
Removing the packagecloud install becuase it's already installed on the base image. Change-Id: I2c02ced4710dee58e3443071b484728d408361cd Signed-off-by: Vanessa Rene Valderrama <vvalderrama@linuxfoundation.org>
2019-12-06Remove rake installVanessa Rene Valderrama1-8/+0
Removing the rake install because the newer version requires a newer version of Ruby. Change-Id: Ic50dec1f6a54971de3ca6a2a82b2b3e085d17029 Signed-off-by: Vanessa Rene Valderrama <vvalderrama@linuxfoundation.org>
2019-12-03Install newer version of ruby gemsVanessa Rene Valderrama1-0/+4
Install newer version of ruby gems to resolve rake dependency for the CentOS 7 image Change-Id: I6cd230a2f008e5d9da34bce1dc4c82d35edf9592 Signed-off-by: Vanessa Rene Valderrama <vvalderrama@linuxfoundation.org>
2019-11-25Upgrade common-packer to v0.3.1Vanessa Rene Valderrama1-0/+0
Change-Id: I4cb5f5ded765abfacd87d183908544f7d76b74a6 Signed-off-by: Vanessa Rene Valderrama <vvalderrama@linuxfoundation.org>
2019-11-20Upgrade common-packer to v0.3.1Vanessa Rene Valderrama1-0/+0
Change-Id: Ie4dc270066b786f7b6199edb53ad0de0647adca8 Signed-off-by: Vanessa Rene Valderrama <vvalderrama@linuxfoundation.org>
2019-10-10Remove unavailable packagesVanessa Rene Valderrama1-21/+0
Removing unavailable packages. The missing packages are installed in the build-package CICN script. Change-Id: I1882c557e9bda6000d268cc1580640060ed433c6 Signed-off-by: Vanessa Rene Valderrama <vvalderrama@linuxfoundation.org>
2019-10-10Install CICN required packagesVanessa Rene Valderrama1-0/+32
Updating Ubuntu 18.04 image to install CICN required packages Change-Id: I855f9f169a33e66fe211ab137d612b16cbd4b6b3 Signed-off-by: Vanessa Rene Valderrama <vvalderrama@linuxfoundation.org>
2019-07-31Modify Ubuntu 18.04 ARM packagesVanessa Rene Valderrama1-1/+0
Modifying Ubuntu 18.04 ARM packages to build a new common-packer image Change-Id: I23c43b26fea99b90d7500a0674c836d639cf1145 Signed-off-by: Vanessa Rene Valderrama <vvalderrama@linuxfoundation.org>
2019-05-01Remove missing packagesVanessa Rene Valderrama1-1/+0
Removing missing Bionic packages Change-Id: I847c4c088469cc0f25a757e79cd5c6250b81073a Signed-off-by: Vanessa Rene Valderrama <vvalderrama@linuxfoundation.org>
2019-04-30Configure Ubuntu 18.04 flavorVanessa Rene Valderrama1-1/+4
Configuring the Ubuntu 18.04 flavor and volume size Change-Id: I06109663045802016db9a4b4259d680da4b35878 Signed-off-by: Vanessa Rene Valderrama <vvalderrama@linuxfoundation.org>
2019-04-30Update common-packer to v0.3.0Vanessa Rene Valderrama1-0/+0
Change-Id: Ia411ad1e13bfa713eb63ba8da4326f9fa4bc3cc5 Signed-off-by: Vanessa Rene Valderrama <vvalderrama@linuxfoundation.org>
2019-04-23Configure Ubuntu 18.04 ARM varVanessa Rene Valderrama1-0/+9
The common-packer var file for Ubuntu 18.04 ARM is using a flavor that is not available or standard for building images. We'll use this var file until the common-packer var file is configured properly. Change-Id: Ic491d9177f3f295c2efc488175e6a8d8d97cd324 Signed-off-by: Vanessa Rene Valderrama <vvalderrama@linuxfoundation.org>
2019-03-01Remove FD.io var filesVanessa Rene Valderrama2-12/+0
Removing var files that are already covered by common-packer to ensure we're using the latest images available Change-Id: Ib6b9f5348dea8d4177bba2d7499da7f02e48e053 Signed-off-by: Vanessa Rene Valderrama <vvalderrama@linuxfoundation.org>
2019-03-01Remove 18.04 var fileThanh Ha1-6/+0
Should already be covered by common-packer. Change-Id: I724e3b30920463463631f5f40d60a6c1ad991d25 Signed-off-by: Thanh Ha <thanh.ha@linuxfoundation.org>
2019-02-14Configure packer installVanessa Rene Valderrama1-3/+59
Configuring packer to install based on distribution version Change-Id: I4696971de718ec246d1d1b08545644ca18016ba8 Signed-off-by: Vanessa Rene Valderrama <vvalderrama@linuxfoundation.org>
2019-02-13Upgrade common-packerVanessa Rene Valderrama1-0/+0
Upgrading common-packer to v0.2.0 Change-Id: I487f76a43f083a3c5cafbd334019c0c8cc39eb10 Signed-off-by: Vanessa Rene Valderrama <vvalderrama@linuxfoundation.org>
2018-12-14Fix CentOS 7 image nameVanessa Rene Valderrama1-1/+1
Change-Id: I29d7fea5dd9c20dd8b278a9d5f6790dfbbe78bdd Signed-off-by: Vanessa Rene Valderrama <vvalderrama@linuxfoundation.org>
2018-12-14Modify CentOS 7 imageVanessa Rene Valderrama1-1/+1
Modifying CentOS 7 image to build in the new FD.io CI environment Change-Id: Id6e52e61afcc8e528e6a6406563528d9bd010a7a Signed-off-by: Vanessa Rene Valderrama <vvalderrama@linuxfoundation.org>
2018-12-13Configure Ubuntu 1804 imageVanessa Rene Valderrama1-0/+6
Configure common-packer image for Ubuntu 18.04 Change-Id: I8e7a58d49e483052d429cf5a3a104b6e8f219d7f Signed-off-by: Vanessa Rene Valderrama <vvalderrama@linuxfoundation.org>
2018-12-10Configure the builder for Ubuntu 1604Vanessa Rene Valderrama1-0/+104
Configure the builder to install required packages for Ubuntu 1604 Change-Id: I5bac9d9d3342a8ef8aa99421d90739113ddfb059 Signed-off-by: Vanessa Rene Valderrama <vvalderrama@linuxfoundation.org> Signed-off-by: Eric Ball <eball@linuxfoundation.org>
2018-11-14Rename ubuntu-1604.json vars fileEric Ball1-0/+0
The packer-merge-ubuntu-16.04 job is expecting this format in order to trigger the job automatically. Change-Id: I9033c7b8863c1033f2deb1038d8506e009c7e3a4 Signed-off-by: Eric Ball <eball@linuxfoundation.org>
2018-11-14Add Ubuntu 16.04 builderVanessa Rene Valderrama1-0/+6
Change-Id: I9cbc1eef7c68df5772b3961b3db926d7c015da1d Signed-off-by: Vanessa Rene Valderrama <vvalderrama@linuxfoundation.org>
2018-11-14Add docker template and builderVanessa Rene Valderrama2-0/+3
Change-Id: I2b88cc176be74482be283711a86cbf688f51e469 Signed-off-by: Vanessa Rene Valderrama <vvalderrama@linuxfoundation.org>
2018-11-13Configure common-packer CentOS 7Vanessa Rene Valderrama6-81/+6
Configuring CentOS 7 image Removing non common-packer .json files to force verify job to use centos-7.json Change-Id: I74898324aeeaf9a057958c4645f627327b6ca4bc Signed-off-by: Vanessa Rene Valderrama <vvalderrama@linuxfoundation.org>
2018-11-07Add common-packer templatesVanessa Rene Valderrama2-0/+3
Change-Id: I8f048626d2fbd68be84b4e3cb0dbb3e3da95672c Signed-off-by: Vanessa Rene Valderrama <vvalderrama@linuxfoundation.org>
2018-11-05Install common-packer v0.1.0Vanessa Rene Valderrama1-0/+0
Change-Id: I4040dcc6dbc11419fd5092aa3f29c31d5a527711 Signed-off-by: Vanessa Rene Valderrama <vvalderrama@linuxfoundation.org>
2018-06-13Expand rendered image name to include sec and msAnil Belur1-1/+2
Expand rendered image name to include seconds and milliseconds. This reduces the probability of image name collisions on the cloud from 1/60 to 1/60000. Fixed upstream in common-packer [1.]. [1.] https://gerrit.linuxfoundation.org/infra/#/c/10986/ Change-Id: If006aaafa5aaf427ef034fbca479bb4b71194109 Signed-off-by: Anil Belur <abelur@linuxfoundation.org>
2018-04-11Indent package for opensuse Leap 42.3Marco Varlese1-0/+8
openSUSE Leap 42.3 has an older version of the indent package compared to other distributions in Jenkins. In order to avoid misalignment, let's install version 2.2.11 to align with others. Change-Id: I1473425d2cb3d503bb98e008d8fa896fdd9173eb Signed-off-by: Marco Varlese <marco.varlese@suse.com>
2018-04-09Add Ubuntu packageVanessa Rene Valderrama1-1/+2
Adding libibverbs-dev package for DEB_DPDK project Change-Id: If4d1c7bb7cbd5db9e612b4950589c9c783b3853a Signed-off-by: Vanessa Rene Valderrama <vvalderrama@linuxfoundation.org>
2017-12-05Add missing package: rpm-buildMarco Varlese1-1/+1
Change-Id: I4d1c9e0410df0262e8c2a4a23869c9cc4ac3d3b9 Signed-off-by: Marco Varlese <marco.varlese@suse.com>
2017-11-08Add missing packagesVanessa Rene Valderrama1-4/+7
DEB_DPDK has new package dependencies with the 17.08 release. This change to add the missing packages to the Ubuntu image. Change-Id: Iefb3de3757c4d7548c150f9e12bdf03f540cc9b2 Signed-off-by: Vanessa Rene Valderrama <vvalderrama@linuxfoundation.org>
2017-10-31Configure Packer to install openSuSE packagesVanessa Rene Valderrama2-61/+90
Configure Packer to install packages required by FD.io projects Change-Id: Ie045ae6921d690fbfedc0344617d2d493e77b1b6 Signed-off-by: Vanessa Rene Valderrama <vvalderrama@linuxfoundation.org> Signed-off-by: Anton Baranov <abaranov@linuxfoundation.org>
2017-08-10Add openSuSE imageVanessa Rene Valderrama3-2/+102
Configure baseline and basebuild scripts to build openSuSE packer images Configure Jenkins keys for openSuSE Add openSuSE as a Jenkins system type Change-Id: I69bdd265773fa9c50753179b0b3f0d214490b28e Signed-off-by: Vanessa Rene Valderrama <vvalderrama@linuxfoundation.org>
2017-03-31Increase lock check verbosityC.J. Collier1-5/+7
* print FILE/USER/PID/ACCESS/COMMAND for each lock * use ${i} instead of ${WASLOCKED} to determine whether file lock was taken * add a 1s back-off if lock had been taken * use TERM=dumb to avoid tput noise when there is no tty * add /var/cache/apt/archives/lock to list of lock files Change-Id: Ib04f67892581a7bf33125d485fcc69044d3d1c5d Signed-off-by: Vanessa Rene Valderrama <vvalderrama@linuxfoundation.org> Signed-off-by: C.J. Collier <cjcollier@linuxfoundation.org>
2017-03-30Correct lock check failuresC.J. Collier1-2/+10
* fuser can take multiple filenames and return the lock status atomically - This eliminates a race condition we were experiencing * if the file was locked, run the lock check again. Otherwise, just run apt-get directly Change-Id: I00eb6e0fa6bdf223eadfcade05f4a4f00745750f Signed-off-by: C.J. Collier <cjcollier@linuxfoundation.org>
2017-03-27Merge "Python API: Missing python-all package needed by .deb packaging."Ed Warnicke1-2/+3
2017-03-22Install pypcap package for CentOSVanessa Rene Valderrama1-0/+2
The pypcap package required a newer version of pip to install. This change upgrades the version of pip and installs the pypcap package which is required for CSIT jobs. Change-Id: Iaa23da629396225c27f0ecd3b64615fe105ce9e2 Signed-off-by: Vanessa Rene Valderrama <vvalderrama@linuxfoundation.org>
2017-03-22Python API: Missing python-all package needed by .deb packaging.Ole Troan1-2/+3
Change-Id: I02f6d541e0171bc680119fa0da26fac2db76de73 Signed-off-by: Ole Troan <ot@cisco.com>
2017-03-11Python: Add support for RPM Python macros.Ole Troan1-1/+1
Change-Id: I3c43199a081bee515b7103a1f2a5db3b84e2500c Signed-off-by: Ole Troan <ot@cisco.com>
2017-03-09Install packagecloudVanessa Rene Valderrama1-0/+3
Updating images to install packagecloud for FD.io to use packagecloud as an alternative to Nexus for staging repos because Nexus does not create package metadata for yum/apt staging repos which is required for testing. Change-Id: I2396b78f5f8b1c72c569e8c230c28ee720b33936 Signed-off-by: Vanessa Rene Valderrama <vvalderrama@linuxfoundation.org>
2017-03-08Python API: Add dependencies on CFFI / libffi.Ole Troan1-1/+1
Change-Id: Id0a87ef7599f49d6d553bb1199f0f19518ba7c82 Signed-off-by: Ole Troan <ot@cisco.com>
2017-02-28Add CentOS packagesVanessa Rene Valderrama1-12/+22
TLDK and CSIT teams requested additional packages be added to the CentOS image. TLDK - scapy CSIT - libffi-devel CSIT request was due to errors when upgrading cryptography. I added python-cffi & libxml2 as well. Change-Id: I04c2f4f4fcd390a1d5b2877b5ec99894bd65a98e Signed-off-by: Vanessa Rene Valderrama <vvalderrama@linuxfoundation.org>
2017-02-23Enable HugepagesVanessa Rene Valderrama1-0/+7
TLDK project requires Hugepages to be enabled. This change enables Hugepages and sets the size to 128. Change-Id: Ie582cdf5ab2c766da268c0a39ed47bc45f31058c Signed-off-by: Vanessa Rene Valderrama <vvalderrama@linuxfoundation.org>
2017-02-16Merge "Add hashicorp's packer 0.12.2 to basebuild"Vanessa Rene Valderrama1-0/+8
2017-02-15Add hashicorp's packer 0.12.2 to basebuildAnil Belur1-0/+8
Change-Id: I3bc41f53d5e36fab5fe475aac67f1406d12d4075 Signed-off-by: Anil Belur <abelur@linuxfoundation.org>
2017-02-14Also wait for apt-get update list lockRudy Grigar1-1/+1
Change-Id: I56c644e4862736271ac1c991d3a9d60bfbdf5505 Signed-off-by: Rudy Grigar <rgrigar@linuxfoundation.org>
2017-02-14Quotes required to avoid interpretationRudy Grigar1-1/+1
Change-Id: I8bbbf6e9d23841c58bd0acf4c4b36c9ef8baaa85 Signed-off-by: Rudy Grigar <rgrigar@linuxfoundation.org>
2017-02-13Additional fixes for dpkg lock issuesRudy Grigar1-0/+25
This adds a wrapper around apt-get to loop until the lock is available for dpkg operations. Change-Id: I85d3b1f1e6992a046d021a192997f307c7ca4785 Signed-off-by: Rudy Grigar <rgrigar@linuxfoundation.org>
2017-02-13Add dot separator for systemctl unitsAndrew Grimberg1-1/+1
Change-Id: Ide382ac6d6e7fe2b041aeca6222380183c8bbff1 Signed-off-by: Andrew Grimberg <agrimberg@linuxfoundation.org>
2017-02-13Bring in fail build and stomp on Ubuntu auto-upAndrew Grimberg1-27/+66
Bring in changes to fail the build if something does not properly install or has an error during the build. Also, forcibly disable and mask out the apt-daily service and timer on Ubuntu 16.04 and hopefully destroy any cron related to it for 14.04 Change-Id: I301d9c696c3d166ecece8060d415dd931d446335 Signed-off-by: Andrew Grimberg <agrimberg@linuxfoundation.org>