summaryrefslogtreecommitdiffstats
path: root/packer
AgeCommit message (Collapse)AuthorFilesLines
2019-04-09Update common-packerJessica Wagantall1-0/+0
Keeping this in sync. No mayor changes being pulled Change-Id: Ie0c129b087170a9d816e6aa6547664b70f2bd7d7 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-30Add local var for ubuntu-16.04-arm64Jessica Wagantall1-0/+10
Change-Id: I89eebdd948cbcddd13e084fddf4f8ace67ac7aec Issue-ID: CIMAN-33 Signed-off-by: Jessica Wagantall <jwagantall@linuxfoundation.org>
2018-10-30Upgrade common-packer to latest HEADJessica Wagantall1-0/+0
Fetch latest common-packer changes Change-Id: I7856c5fb24685a6acbfed2c0190d7d223355c1f2 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-10-25Merge "Update memcached/redis packer templates"Bengt Thuree2-2/+2
2018-10-25Update memcached/redis packer templatesJessica Wagantall2-2/+2
Update memcached and redis image information to an available one. Change-Id: Id8bd716894ea722d65650897b1bec92afade350d Issue-ID: CIMAN-33 Signed-off-by: Jessica Wagantall <jwagantall@linuxfoundation.org>
2018-10-16Update common-packer and global-jjbJessica Wagantall1-0/+0
Update common-packer to latest HEAD Update global-jjb to v0.25.2 Issue-ID: CIMAN-33 Change-Id: I4a40f3c450ab370a622f18f4f113f068dabb96f1 Signed-off-by: Jessica Wagantall <jwagantall@linuxfoundation.org>
2018-09-27Expand rendered image name to include sec and msAnil Belur3-4/+4
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. The initial change Ic1853ba7566def397b8bce389e2779fe3020c7ce was reverted, since the change had issues bringing up an instance on the OpenStack cloud provider. This was because the default `instance_name` value is taken as the `image_name`, when the instance_name is unset, the instance_name does not allow FQDN format hostname ending with a period+number. The workaround is to use separate `instance_name` parameter in your builder which does not end with period+number. Fixed upstream in common-packer [1.]. [1.] https://gerrit.linuxfoundation.org/infra/#/c/10986/ JIRA: https://jira.linuxfoundation.org/browse/RELENG-971 Issue-ID: CIMAN-168 Change-Id: I451dd8956fbd2b97a47b5064d9802108f4fc3115 Signed-off-by: Anil Belur <abelur@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-15Update common-packer to HEADJessica Wagantall1-0/+0
Update common-packer to fetch ARM related changes Change-Id: I51debb6bff0ded70103eb08817b6a30ceac6b4a8 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-08-02Update common-packer to HEADJessica Wagantall1-0/+0
Update to latest HEAD in preparation for ARM images. Change-Id: I22b687b9de949b43c332fff9cf4c94bc7df6238a Issue-ID: CIMAN-33 Signed-off-by: Jessica Wagantall <jwagantall@linuxfoundation.org>
2018-07-27Remove unused varsJessica Wagantall1-6/+0
Remove unused ubuntu-14.04.json vars from packer. Change-Id: I15c87a7955b935f6ad4ab19822f60eaee63b3e0d 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-24Upgrade common-packerJessica Wagantall1-0/+0
Upgrade common-packer to the latest HEAD Commit: 79c9861692c6e965b5e95e721857bf81290fc576 Issue-ID: CIMAN-33 Change-Id: I22be02bd98c17eca8841298349a41cfafd7e6f3f Signed-off-by: Jessica Wagantall <jwagantall@linuxfoundation.org>
2018-07-24Fix memcache/redis packerJessica Wagantall4-60/+110
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-07-20Fix packer nodeJessica Wagantall1-1/+1
Update packer/vars/centos-7 build node to an available one. Change-Id: I9edda4165c484c5d9ae0b6ca1316cb95d8bbb3b9 Issue-ID: CIMAN-33 Signed-off-by: Jessica Wagantall <jwagantall@linuxfoundation.org>
2018-07-20Upgrade common-packerJessica Wagantall1-0/+0
Change-Id: I210a21c401c33b354d348f459cb82ceae77c2aab Issue-ID: CIMAN-33 Signed-off-by: Jessica Wagantall <jwagantall@linuxfoundation.org>
2018-05-21Add helm and kubernetes build imageJeremy Phelps2-0/+103
Change-Id: I852052abd33bbcdfb0a3b5a95fbc6f02d86113e6 Issue-ID: CIMAN-155 Signed-off-by: Jeremy Phelps <jphelps@linuxfoundation.org>
2018-03-28Update common-packer to pull in Ansible GalaxyThanh Ha1-0/+0
Pull in the Ansible Galaxy scripts in packer. Issue-ID: CIMAN-33 Change-Id: I32ba1494000a1cb78cf1036f77b1a9610e3ccc96 Signed-off-by: Thanh Ha <thanh.ha@linuxfoundation.org>
2018-03-28Merge "Move packer vars file for centos"Jessica Wagantall1-0/+0
2018-03-27Move packer vars file for centosAndrew Grimberg1-0/+0
The new common-packer definitions for centos build on centos-7 and therefore need a properly named vars file Change-Id: I0e7785650b11d96658a7f09ef6b59c192095d6cb Issue-ID: CIMAN-33 Signed-off-by: Andrew Grimberg <agrimberg@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>