summaryrefslogtreecommitdiffstats
path: root/packer/provision
AgeCommit message (Collapse)AuthorFilesLines
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>
2017-10-13Install Python3.6 for Ubuntu basebuild imagesJessica Wagantall1-0/+5
Add Python3.6 version to be used by dcaegen2 project. Change-Id: I7bd5f28958144cbf16e22c1328f5683ee30d737a Issue-ID: CIMAN-108 Signed-off-by: Jessica Wagantall <jwagantall@linuxfoundation.org>
2017-10-13Install Python3.6 for Ubuntu imagesJessica Wagantall1-0/+5
Add Python3.6 version to be used by dcaegen2 project. Change-Id: Ie6a1afde8a4697f094a862bfd0870fc5a844bf47 Issue-ID: CIMAN-108 Signed-off-by: Jessica Wagantall <jwagantall@linuxfoundation.org>
2017-09-22Install chrome to support ChromeDriver in CSITGary Wu1-0/+19
Change-Id: Ib3ff4663c07d8eb90c9cb3f06660fbad93fa0b57 Issue-ID: INT-212 Signed-off-by: Gary Wu <gary.i.wu@huawei.com>
2017-08-31Add Erlang and Rebar packages needed for DCAEGEN2Jessica Wagantall1-0/+11
Install package versions: -Erlang 19.3 -Rebar3 Issue-id: CIMAN-41 Change-Id: I375b32ce6ce4655d77ff529b0390a4ff1d72d7a4 Signed-off-by: Jessica Wagantall <jwagantall@linuxfoundation.org>
2017-08-31Add gecko driver for robotframeworkJessica Wagantall1-0/+3
Add gecko driver for docker based builds that will run Selerium UI tests Issue-id: CLAMP-28 Change-Id: Ib0fdb21165a5814dc7cb6599fc5226d35db813ee Signed-off-by: Jessica Wagantall <jwagantall@linuxfoundation.org>
2017-08-30Add firefox package as part of basebuildJessica Wagantall1-2/+2
Firefox package is needed as part of Selerium UI tests. Change-Id: If194ee100f8949e36bf00c5fb790f914762a5a3d Issue-id: CIMAN-36 Signed-off-by: Jessica Wagantall <jwagantall@linuxfoundation.org>
2017-08-28Install xvfb for UI tests with Selenium.Jessica Wagantall1-2/+2
Change-Id: I5ed18e1c13870036601d13e7ac80d9ab89eb3be8 Issue-id: CIMAN-36 Signed-off-by: Jessica Wagantall <jwagantall@linuxfoundation.org>