summaryrefslogtreecommitdiffstats
path: root/packer/provision
AgeCommit message (Collapse)AuthorFilesLines
2019-09-05Add python3-tk to packerMilin1-0/+1
Added python3-tk to packer for VV project in ONAP. Signed-off-by: Milin <mjaiswal@contractor.linuxfoundation.org> Issue-ID: CIMAN-33 Change-Id: I2e6bbb164448a1389519c79e991517b50f1de414
2019-06-28Modify Elang installVanessa Rene Valderrama1-1/+1
The Ubuntu 16.04 docker image builds are failing because the path to the Erlang package is incorrect. This change is to update the path. Issue-ID: CIMAN-33 Signed-off-by: Vanessa Rene Valderrama <vvalderrama@linuxfoundation.org> Change-Id: Id22d677f08eed116baea7ab0d56c375aeac279e4
2019-06-27Update Ubuntu base imageVanessa Rene Valderrama1-0/+7
Updating the Ubuntu base image to install Jinja2 Issue-ID: CIMAN-33 Signed-off-by: Vanessa Rene Valderrama <vvalderrama@linuxfoundation.org> Change-Id: I39d82166aed3c897690f82558dc7d5bf406dd030
2019-06-10Remove invalid local-docker attributeJessica Wagantall1-1/+0
'install_recommends' is not a valid attribute for a Task. Change-Id: I70903be70b98c216a0e4797c73c24279892b52fc Issue-ID: CIMAN-34 Signed-off-by: Jessica Wagantall <jwagantall@linuxfoundation.org>
2019-05-07Update local-docker.yaml to support CentosJessica Wagantall1-15/+21
-Few packages do not need to run on a Centos packer build. Leave them exclusively for Ubuntu. -Update install tox step. -Simplify already exisitng Ubuntu rules as we only have Ubuntu flavor for Debian OS. Change-Id: If27f26f195c6beadb9c3ee03c1f5a7e3c3efb0a0 Issue-ID: CIMAN-33 Signed-off-by: Jessica Wagantall <jwagantall@linuxfoundation.org>
2019-05-06Install libxml2-utils only on UbuntuJessica Wagantall1-0/+1
Change-Id: I3a9a9019de44adc7d4c4802053af1b3c7d4d30f1 Issue-ID: CIMAN-33 Signed-off-by: Jessica Wagantall <jwagantall@linuxfoundation.org>
2019-03-28Packer local-docker support for ARM64Martin Klozik1-5/+16
Ansible playbook local-docker.yaml was fixed to install arm64 specific binaries of docker-compose and golang into arm64 images created by packer. Change-Id: Ief9fbbeed5847bb2c7842d906dcf9cb4a4f34453 Issue-ID: CIMAN-229 Signed-off-by: Martin Klozik <martin.klozik@tieto.com>
2019-02-18Remove unused basebuild filesThanh Ha1-0/+0
Issue-ID: CIMAN-1 Change-Id: I7bab1f7829d1d059060679d8298ebae39cd7bee4 Signed-off-by: Thanh Ha <thanh.ha@linuxfoundation.org>
2018-11-29Change from baseline to dockerBengt Thuree1-3/+3
Small configuration change to use docker.yaml instead of baseline.yaml, as well as bumping version requirements on kubectl and helm. kubectl_version: 1.8.6 --> 1.11.2 helm_version: 2.6.1 --> 2.9.1 Issue-ID: CIMAN-1 Signed-off-by: Bengt Thuree <bthuree@linuxfoundation.org> Change-Id: I11e67d326f53f8f87627b058943eb882e29f76f9
2018-10-30Disable local-docker packages for ARMJessica Wagantall1-0/+12
Only Install Chrome, Erlang, Rebar, Geckodriver and Firefox for non ARM architectures builds. Change-Id: Id02c767fa59623a0d99578ff39491911af44a2e0 Issue-ID: CIMAN-33 Signed-off-by: Jessica Wagantall <jwagantall@linuxfoundation.org>
2018-10-25Install memcached with sudoJessica Wagantall1-0/+1
Change-Id: I941730dedd6ee8cc67901ee30ddf8afae69183d6 Issue-ID: CIMAN-33 Signed-off-by: Jessica Wagantall <jwagantall@linuxfoundation.org>
2018-09-25Fix installation path for FirefoxJessica Wagantall1-2/+2
Update installation path for Firefox Change-Id: Ic0d730660bc5d14121366a6d4f1e7228c30dca2f Issue-ID: CIMAN-33 Signed-off-by: Jessica Wagantall <jwagantall@linuxfoundation.org>
2018-09-05Add symbolic link to Go binJessica Wagantall1-2/+5
Add symbolic link in /usr/bin instead of updating PATH since this one gets lost once packer finishes building and does not gets preserved after. Change-Id: Ic523a19351de0eb7f440153a51acd98920135202 Issue-ID: CIMAN-33 Signed-off-by: Jessica Wagantall <jwagantall@linuxfoundation.org>
2018-09-04Install Firefox 55.0.3Jessica Wagantall1-1/+15
CSIT tests fail on the latest version of Firefox. Looks like this is caused due to new dependency libraries. Downgrade to 55.0.3. Change-Id: I52d6b67472131e48ebcae52ab5e7825dad9be991 Issue-ID: CIMAN-33 Signed-off-by: Jessica Wagantall <jwagantall@linuxfoundation.org>
2018-08-24Fix rebar3, geckodriver modeJessica Wagantall1-2/+2
Wrongly using 0644 which was not executable. Change to 0755 Change-Id: I8a1fc8e44e0fa300aee842152a1ef124d86aead1 Issue-ID: CIMAN-33 Signed-off-by: Jessica Wagantall <jwagantall@linuxfoundation.org>
2018-08-23Add geckodriver for dockerJessica Wagantall1-0/+8
Install geckodriver for docker images. Change-Id: I625fa148051ca260a7d1d89d7f7e118026458c8a Issue-ID: CIMAN-33 Signed-off-by: Jessica Wagantall <jwagantall@linuxfoundation.org>
2018-08-22Make rebar3 executableJessica Wagantall1-0/+1
Change-Id: Ib9cc2124498970ca9cb82364baced9fadcf41bbf Issue-ID: CIMAN-33 Signed-off-by: Jessica Wagantall <jwagantall@linuxfoundation.org>
2018-08-21Use root to copy rebar3Jessica Wagantall1-0/+1
Copy rebar3 to /usr/bin as root Change-Id: Ia40a067000ae08583dd1678be798905b59834547 Issue-ID: CIMAN-33 Signed-off-by: Jessica Wagantall <jwagantall@linuxfoundation.org>
2018-08-21Install Erlang and dependenciesJessica Wagantall1-0/+14
Rebar3 depends on Erlang. Install Erlang and its dependency packages. Change-Id: Iac21a88d0c7d9f8f01dbcc9740a6f6fa2e5b141c Issue-ID: CIMAN-33 Signed-off-by: Jessica Wagantall <jwagantall@linuxfoundation.org>
2018-08-21Copy rebar3 instead of moveJessica Wagantall1-3/+5
Copy rebar3 to /usr/bin instead of moving to be able to set the proper attributes. Change-Id: I1a873410c90250fb11702e3d45883a474176ebb2 Issue-ID: CIMAN-33 Signed-off-by: Jessica Wagantall <jwagantall@linuxfoundation.org>
2018-08-21Add rebar3 tool for DCAEGENJessica Wagantall1-0/+19
Clone and bootstrap rebar3. Move rebar3 bin to /usr/bin. Change-Id: I339bec85eb1ed884ae55d840dd8f145e323641b2 Issue-ID: CIMAN-33 Signed-off-by: Jessica Wagantall <jwagantall@linuxfoundation.org>
2018-08-17Install Chrome on docker imagesJessica Wagantall1-0/+21
Add Chrome install role for docker images. Used by CSIT jobs. Change-Id: I7c891e6338c546c851d222786a9a4a5c232398b4 Issue-ID: CIMAN-33 Signed-off-by: Jessica Wagantall <jwagantall@linuxfoundation.org>
2018-08-15Fix docker-compose URLJessica Wagantall1-1/+1
The previous URL downloads the HTML and not the executable. Need to translate 'uname -s' and 'uname -m'. Change-Id: I95c4c993bee1a9f12d20004c4b09934bd8620e54 Issue-ID: CIMAN-33 Signed-off-by: Jessica Wagantall <jwagantall@linuxfoundation.org>
2018-08-13Use sudo for docker-composeJessica Wagantall1-0/+1
Use sudo while trying to change permisisons on docker-compose. Change-Id: Ia52bfcd375a041b6ec3faac30faac2f243db5e6f Issue-ID: CIMAN-33 Signed-off-by: Jessica Wagantall <jwagantall@linuxfoundation.org>
2018-08-11Make docker-compose executableJessica Wagantall1-0/+4
Change-Id: I68c69c2473ab6175ecb9e4d9804a6d2086e97efc Issue-ID: CIMAN-33 Signed-off-by: Jessica Wagantall <jwagantall@linuxfoundation.org>
2018-08-10Remove python-ncclient packagesJessica Wagantall1-11/+0
Change-Id: Ic60ebcde3bc8346b02f699430111e7e20eb22b13 Issue-ID: CIMAN-33 Signed-off-by: Jessica Wagantall <jwagantall@linuxfoundation.org>
2018-08-10Run apt-get update for python libsJessica Wagantall1-0/+1
Fetch cache to be able to install python-ncclient support packages. Change-Id: I4af2f830963c3269e511a640be89cc5dba6baead Issue-ID: CIMAN-33 Signed-off-by: Jessica Wagantall <jwagantall@linuxfoundation.org>
2018-08-10Add node support packagesJessica Wagantall1-0/+36
Add support packages for projects building docker images and maven autoreleases. These packages are brought up from the old packer scripts. Change-Id: Id3383b81b17a161b7604ba953b7eaf2b5cd4d1f8 Issue-ID: CIMAN-33 Signed-off-by: Jessica Wagantall <jwagantall@linuxfoundation.org>
2018-08-09Install Python3.6 and depsJessica Wagantall1-0/+21
Install python-3.6 and dependency packages needed for docker images Change-Id: Ic54346243ebfd8aad75ea9dbf6d695cdc2f580d8 Issue-ID: CIMAN-33 Signed-off-by: Jessica Wagantall <jwagantall@linuxfoundation.org>
2018-08-09Install python-tox for dockerJessica Wagantall1-0/+6
Change-Id: Ia05719ee7994b858a4c29ffc63d60fdafa600b42 Issue-ID: CIMAN-33 Signed-off-by: Jessica Wagantall <jwagantall@linuxfoundation.org>
2018-08-10Revert "Install Chrome on docker images"Jessica Wagantall1-22/+0
This reverts commit 22c11531ef1bc07c7e84088e1a595cd5c26fb3a6. Issue-ID: CIMAN-33 Change-Id: I824e29e064c716104d4d17c3cac63c2e2db17552 Signed-off-by: Jessica Wagantall <jwagantall@linuxfoundation.org>
2018-08-08Install Chrome on docker imagesJessica Wagantall1-0/+22
Add Chrome install role for docker images. Used by CSIT jobs. Change-Id: I79643d05bb2c72db5e6b54c93699c6befb499984 Issue-ID: CIMAN-33 Signed-off-by: Jessica Wagantall <jwagantall@linuxfoundation.org>
2018-08-08Install libxml2-utils for dockerJessica Wagantall1-0/+6
Add libxml2-utils used by OOF team for docker images Change-Id: Ib28e415107b02bef9d329c2ba6ff7284d15391c2 Issue-ID: CIMAN-33 Signed-off-by: Jessica Wagantall <jwagantall@linuxfoundation.org>
2018-07-25Merge "Remove provision scripts"Thanh Ha5-473/+0
2018-07-25Start redis serviceJessica Wagantall1-1/+7
Enable redis and then start redis Change-Id: I632972b589fd6e1dd20e2e0a19e0ab2660276756 Issue-ID: CIMAN-33 Signed-off-by: Jessica Wagantall <jwagantall@linuxfoundation.org>
2018-07-24Remove provision scriptsJessica Wagantall5-473/+0
Remove provision scripts no longer needed in common-packer. Change-Id: I1f807a744e22cba282fe66d511a35be41b15a313 Issue-ID: CIMAN-33 Signed-off-by: Jessica Wagantall <jwagantall@linuxfoundation.org>
2018-07-24Install redis as rootJessica Wagantall1-0/+2
Install and enable redis using root privileges. Change-Id: Icd6117de41f9dd477aefc48441002544862e7d03 Issue-ID: CIMAN-33 Signed-off-by: Jessica Wagantall <jwagantall@linuxfoundation.org>
2018-07-24Fix memcache/redis packerJessica Wagantall2-0/+29
Update common packer - Remove centos unused distros - Add memcache and redis yaml file - Update json templates Change-Id: I1092d4a7ce957c8c31780045639b0819933af588 Issue-ID: CIMAN-33 Signed-off-by: Jessica Wagantall <jwagantall@linuxfoundation.org>
2018-05-21Add helm and kubernetes build imageJeremy Phelps1-0/+39
Change-Id: I852052abd33bbcdfb0a3b5a95fbc6f02d86113e6 Issue-ID: CIMAN-155 Signed-off-by: Jeremy Phelps <jphelps@linuxfoundation.org>
2018-03-27Update local builder and docker filesJessica Wagantall2-30/+26
Update local-builder to just import baseline Update local-docker to install docker-compose Change-Id: I7b5511abac317bb5969b5e4a2207e9973874cf94 Issue-ID: CIMAN-33 Signed-off-by: Jessica Wagantall <jwagantall@linuxfoundation.org>
2018-03-27Upgrade to common-packerJessica Wagantall3-119/+40
- Enable builder.json - Relove unused provision scripts - Update ci-management-packer-jobs - Update builder.yaml Change-Id: I0c9abcd33fd3acb84690863dca966a01731dc64c Issue-ID: CIMAN-33 Signed-off-by: Jessica Wagantall <jwagantall@linuxfoundation.org>
2017-11-07Fix ubuntu_docker_mtu_fix() functionJessica Wagantall1-1/+1
Do not translate vaiables. Pass the text as is Change-Id: I05b5c33ec79191dd4959ac10b0ac1d13c2973078 Issue-ID: CIMAN-118 Signed-off-by: Jessica Wagantall <jwagantall@linuxfoundation.org>
2017-11-06Fix docker MTU settingsJessica Wagantall1-0/+44
Set MTU settings to 1454 to accept https connection requests. This issue seems to be present since Docker 1.10.0 Change-Id: Ia113ffdb889fa86e91075ef4f36b3e1872c699f6 Issue-ID: CIMAN-118 Signed-off-by: Jessica Wagantall <jwagantall@linuxfoundation.org>
2017-11-02Merge "Update chrome installation instructions"Jessica Wagantall1-3/+3
2017-11-01Update chrome installation instructionsJessica Wagantall1-3/+3
Update installation instructions based on github instructions. Change-Id: I0ddb3b80f4d1cf915345e10353ec64f3f8b28e16 Issue-ID: INT-212 Signed-off-by: Jessica Wagantall <jwagantall@linuxfoundation.org>
2017-11-01Merge "Install npm in all instances"Jessica Wagantall1-2/+2
2017-11-01Install npm in all instancesJessica Wagantall1-2/+2
Change-Id: Ic8a147de05dce8427d5ed722624de09058847f95 Issue-ID: CIMAN-117 Signed-off-by: Jessica Wagantall <jwagantall@linuxfoundation.org>
2017-10-25Add maven package for basebuild instancesJessica Wagantall1-2/+2
Change-Id: I6c3917c48b05ea7bad73cbb35d1a0307617006a2 Issue-ID: CIMAN-65 Signed-off-by: Jessica Wagantall <jwagantall@linuxfoundation.org>
2017-10-19Install python3.6-dev package in packerJessica Wagantall2-2/+2
Add python3.6-dev package which is needed by pyCrypto. Change-Id: Iaaa3fb8ca8d464e02af71ae50656861a5d104076 Issue-ID: CIMAN-108 Signed-off-by: Jessica Wagantall <jwagantall@linuxfoundation.org>
2017-10-17Update crudini packageJessica Wagantall1-2/+2
Install crudini package which was introduced by global-jjb Change-Id: Ifa9166994f8b6e5a8902bdb722b03a24d017c8a7 Issue-ID: CIMAN-111 Signed-off-by: Jessica Wagantall <jwagantall@linuxfoundation.org>