aboutsummaryrefslogtreecommitdiffstats
path: root/packer
AgeCommit message (Collapse)AuthorFilesLines
2020-07-02SPEC-3408: continue to fix packer buildCorentin LABBE1-1/+1
Go is never installed, because the repository is invalid. This is due to VERSION_CODENAME bing empty. The source of /etc/os-release wasnt working. The solution is to use the POSIX way by using "." instead of the bashism source. Bug-AGL: SPEC-3408 Change-Id: I0d3939271cd57c381c4ec2ce21734e9702855645 Signed-off-by: Corentin LABBE <clabbe@baylibre.com>
2020-07-01SPEC-3408: fix a typoCorentin LABBE1-1/+1
This patch fix a typo on python3-pip BUG-AGL: SPEC-3408 Change-Id: Ic08742090ea445a3183383b0c9753e9d90c01c51 Signed-off-by: Corentin LABBE <clabbe@baylibre.com>
2020-07-01SPEC-3408: fix packer buildCorentin LABBE3-8/+2
The current packer templates use 1604.4 which does not exists anymore, so change it to 1604.6. Furthermore, jessie-backports does not exists anymore and fail the whole build. Since apt-get-update fail (due to jessie-backports), the subsequent "&& apt-get install" is never executed Jessie-backports seems needed only for lava-tool which was replaced by lavacli, so no regrets, remove it. Change-Id: Iae1333a52a2dc20e9559462b4acf9a3b71696a08 Signed-off-by: Corentin LABBE <clabbe@baylibre.com>
2020-06-25Merge "Update keys and switch debian mirror"Jan-Simon Moeller2-4/+11
2020-06-25Update keys and switch debian mirrorJan-Simon Moeller2-4/+11
URLs and keys have changed. Adapt the packer file. Signed-off-by: Jan-Simon Moeller <jsmoeller@linuxfoundation.org> Change-Id: I4c5076c0a45149fde3795817b10966f500b5e611
2020-06-22SPEC-3408: Use pip3 for jinja2Corentin LABBE2-2/+8
The debian package is too old and releng-scripts need jinja2>2.9, so lets use pip3 for installing it Change-Id: I4a392acb74e4804c230ac54035ec39f2cecda793 Bug-AGL: SPEC-3408 Signed-off-by: Corentin LABBE <clabbe@baylibre.com>
2020-06-14Merge "Revert "Fix identity endpoint change by upstream provider""Jan-Simon Moeller4-4/+4
2020-06-14Revert "Fix identity endpoint change by upstream provider"Jan-Simon Moeller4-4/+4
This reverts commit 0eb8a4bda888406de737f219a2e6f8121a4d7e4c. Change-Id: Ic143f50b66c1fd31edc801f840a1087d4e51826c
2020-06-14Update dependencies for build hostsJan-Simon Moeller2-2/+3
we are migrating to python3 for the releng-scripts. Signed-off-by: Jan-Simon Moeller <jsmoeller@linuxfoundation.org> Change-Id: If87b16c9fb0611d4abc6d983479b2b19ff39ae01
2020-05-04Fix identity endpoint change by upstream providerJan-Simon Moeller4-4/+4
This is a port of the changes done by LF Releng. Signed-off-by: Jan-Simon Moeller <jsmoeller@linuxfoundation.org> Change-Id: Ic769b2fc3a5fae94a94244383fff31e251b7a6c1
2019-08-27Add key for lavasoftware.orgbuild.automotivelinux.org1-0/+5
This enables installation of lavacli. Signed-off-by: build.automotivelinux.org <jenkins@automotivelinux.org> Change-Id: I123fcecea66fcd60a3000b3b5d57570f2e4eda5c
2019-07-11packer: change the source url of lavacliKhouloud Touil1-1/+1
As we pushed some changes to lavacli, and for now it is only in Linaro stretch-backports, so we will use their url instead of the "http://deb.debian.org/". Signed-off-by: Khouloud Touil <ktouil@baylibre.com> Change-Id: I065ec8467ee491e083b4523ab70223347ed5d320
2019-04-25Trim down the hwtest slaveJan-Simon Möller2-2/+79
Change-Id: I69e0bd20128fe41cd0953bea94e07ae5c4f86243 Signed-off-by: Jan-Simon Möller <jsmoeller@linuxfoundation.org>
2019-04-25Extend hwtest slave size to 10GJan-Simon Möller1-1/+1
Change-Id: I4310988f32bc734987d0b785cef216a9ddd1388b Signed-off-by: Jan-Simon Möller <jsmoeller@linuxfoundation.org>
2019-04-25Change to small instanceJan-Simon Möller2-2/+2
Change-Id: I553295d7809390f16616e692037630e98f291a03 Signed-off-by: Jan-Simon Möller <jsmoeller@linuxfoundation.org>
2019-04-25No preclone needed in hwtest slaveJan-Simon Möller1-1/+0
Change-Id: If639a2d179f740235104be4e98bbeda498a6100b Signed-off-by: Jan-Simon Möller <jsmoeller@linuxfoundation.org>
2019-04-25Allow backports from archiveJan-Simon Möller1-0/+1
Change-Id: Ifc8a61d2f419bc2bbad9b6cd1b6485892343a530 Signed-off-by: Jan-Simon Möller <jsmoeller@linuxfoundation.org>
2019-04-25Add smaller image template for hwtest slaveJan-Simon Möller3-3/+65
Change-Id: I80ab0095e62c48d9b9e75dfcbc3bb3cce8c75205 Signed-off-by: Jan-Simon Möller <jsmoeller@linuxfoundation.org>
2019-04-25Pull jessie-backports from archiveJan-Simon Möller1-2/+3
Needed for the build infra uprev. Change-Id: Ic329208b55d9b29c791eff42d721ec31a2f97e6f Signed-off-by: Jan-Simon Möller <jsmoeller@linuxfoundation.org>
2019-04-24Expand host sizeJan-Simon Möller1-0/+3
Change-Id: I6e4464616fe8b240de808ba493cd449bcc1471e7 Signed-off-by: Jan-Simon Möller <jsmoeller@linuxfoundation.org>
2019-04-24Add repo toolJan-Simon Möller1-0/+6
Change-Id: I1766a6fe269cf64c379d2e1f8241325e18301b1a Signed-off-by: Jan-Simon Möller <jsmoeller@linuxfoundation.org>
2019-04-24Adapt build flavours and enable blockstorage after packer updateJan-Simon Möller3-3/+6
Change-Id: If1722716e50efdf7f78e9ff0fd53353f492b9959 Signed-off-by: Jan-Simon Möller <jsmoeller@linuxfoundation.org>
2019-04-24Rebuild control slave using non-optimized version firstJan-Simon Möller3-10/+1
Change-Id: Icd916f399b2dcc1bb3877f876acbb3b89aca1caa Signed-off-by: Jan-Simon Möller <jsmoeller@linuxfoundation.org>
2019-04-24Add volume size flag as wellJan-Simon Möller3-0/+3
Change-Id: If06ca887d6afca794645382949ec75fae30c72ee Signed-off-by: Jan-Simon Möller <jsmoeller@linuxfoundation.org>
2019-04-24Redo new baseimages with packer vers 1.4.0Jan-Simon Möller4-2/+9
and use the new image_disk_format Change-Id: I17fa60f6013d5382237cdb100717cc9776945ac5 Signed-off-by: Jan-Simon Möller <jsmoeller@linuxfoundation.org>
2019-04-11Revert "Updated machine spec"Jan-Simon Moeller2-4/+2
Unsupported by builder atm. This reverts commit ab4982bce22b34d81b382d480f7a0d94bc1684ca. Change-Id: I044bab978ddb50fb5fd3c51928b5079a78d9f62d
2019-04-11Updated machine specJan-Simon Möller2-2/+4
Change-Id: I16284e1e28b621a06fd3eff93f961193faaae04b Signed-off-by: Jan-Simon Möller <jsmoeller@linuxfoundation.org>
2019-04-11Update basebuilds for iops-optimized workersJan-Simon Möller3-3/+3
Change-Id: Idc8dd9ddccdb59ab9baab0521f943f5d98d98042 Signed-off-by: Jan-Simon Möller <jsmoeller@linuxfoundation.org>
2019-01-24jjb: lava-labs-prepare: use lavacli to find devices and tagsLoys Ollivier1-1/+7
lava-tool is deprecated. There is a new "Tags" feature in lavacli that we would like to leverage to create customize tests depending on tags. Include lavacli into the script dependencies. Use it to find devices and list corresponding tags. Note, for now it is not replacing lava-tool but only ran alongside to test the behavior. Change-Id: I29546f4109ce869f7f047639f46e4a9c4499a9b2 Signed-off-by: Loys Ollivier <lollivier@baylibre.com>
2018-12-21Add iperf for debugging cloud nodesJan-Simon Möller1-1/+1
Change-Id: I7c6dc4c199879994bf2c6bcf6a63d21b6e05f314 Signed-off-by: Jan-Simon Möller <jsmoeller@linuxfoundation.org>
2018-12-10docs: new job for multiversion documentation siteStephane Desneux1-0/+2
The generated website has two subfolders and a front page to let use chose between AGL versions: * master * flounder Bug-AGL: SPEC-1993 Change-Id: Ia8edd76f5f8119c2a4f29a2e36113aa2207e6031 Signed-off-by: Stephane Desneux <stephane.desneux@iot.bzh>
2018-09-26Use known working version of jjbJan-Simon Möller1-1/+1
Change-Id: I300fd56d8ed26d78dd12a0c77822fcecc909ddac Signed-off-by: Jan-Simon Möller <jsmoeller@linuxfoundation.org>
2018-08-21Disable ipv6 in slave imagesJan-Simon Möller1-0/+2
Change-Id: I611edcdacb58bd565f14a9dac583d3c2c06cd26b Signed-off-by: Jan-Simon Möller <jsmoeller@linuxfoundation.org>
2018-07-12Remove conflict in installation of nodejsJan-Simon Möller1-1/+3
: The following packages have unmet dependencies: : nodejs : Conflicts: npm Change-Id: Ic331d758b111edd15d778c71971cbf3915678d54 Signed-off-by: Jan-Simon Möller <jsmoeller@linuxfoundation.org>
2018-07-12Fixed nodejs+npm install (noninteractive mode)Sebastien Douheret1-1/+1
Change-Id: I80380416d80541f73603ca6b41e1ec88fcc66821 Signed-off-by: Sebastien Douheret <sebastien.douheret@iot.bzh>
2018-07-11Uprev templates to apiv3Jan-Simon Möller3-20/+35
Change-Id: I7b4e12e450534d7923af10b779b12f0cbe68e52a Signed-off-by: Jan-Simon Möller <jsmoeller@linuxfoundation.org>
2018-07-11Use v3 api for vexxJan-Simon Möller1-1/+1
Change-Id: I3c1bc61f972ffec15b63ae25d3e603c124aa938c Signed-off-by: Jan-Simon Möller <jsmoeller@linuxfoundation.org>
2018-07-10Merge "Crossbuild std go libraries for MacOS and Windows"Jan-Simon Moeller1-1/+5
2018-07-09Bump nodejs 8.x and npm 5.xSebastien Douheret1-8/+6
Default nodejs & npm are very old (nodejs 4.x and npm 3.x) and don't allow to build xds dashboard. Note that one reason to bump to a recent npm version (at least npm ^5.0.0) is the support of package-lock.json that is very useful to lock dependencies of nodejs packages in a project. (for more info see https://docs.npmjs.com/files/package-lock.json) Change-Id: I639b97ee12e9d11f47a09bf5443fb2470fbf485a Signed-off-by: Sebastien Douheret <sebastien.douheret@iot.bzh>
2018-07-09Crossbuild std go libraries for MacOS and WindowsSebastien Douheret1-1/+5
Standard go librairies must be compiled at least once to be able to build go code for other OSes. Note that you must be root in order to write resulting static libraries into /usr/lib/go-X.Y/pkg/windows_amd64 and /usr/lib/go-X.Y/pkg/darwin_amd64 Change-Id: Icdf09f627ad2c5c1bbf1b42fb8c92f9d9e65469d Signed-off-by: Sebastien Douheret <sebastien.douheret@iot.bzh>
2018-04-18Fix key importJan-Simon Möller1-1/+1
Change-Id: Ia51673829bcfbbb21edb695f4240738e1186b906 Signed-off-by: Jan-Simon Möller <jsmoeller@linuxfoundation.org>
2018-04-18add key from keyserver for goJan-Simon Möller1-0/+3
Change-Id: Ic9db1e2347ab7518b7556f25613982749c1e5289 Signed-off-by: Jan-Simon Möller <jsmoeller@linuxfoundation.org>
2018-04-18Add dependencies for xds build in CIJan-Simon Möller1-1/+11
Change-Id: I5e22868ecb676006ea3e92296ded1d2d9d35f381 Signed-off-by: Jan-Simon Möller <jsmoeller@linuxfoundation.org>
2018-04-03Update Ubuntu 16.04 from revision 3 to 4Ronan Le Martret1-2/+2
Change-Id: Ida617723f8af6a55af6e41957574db4241662bb4 Signed-off-by: Ronan Le Martret <ronan.lemartret@iot.bzh>
2018-03-08Add dependency for g++-multilibJan-Simon Möller1-1/+1
Change-Id: I243214abf1505496bbc04797678a275be771b0dc Signed-off-by: Jan-Simon Möller <jsmoeller@linuxfoundation.org>
2018-03-06Change flavor of build images to v1-standard-16Jeremy Phelps3-3/+3
This will enable us to configure a performance node that will still have a 300g disk size. Change-Id: Ied77e1a6c238b3600e4a96a5d43497a1ba0fa8c1 Signed-off-by: Jeremy Phelps <jphelps@linuxfoundation.org>
2017-11-11Add python-simplejson as dependency of lava-tool 0.19Jan-Simon Möller1-1/+1
Change-Id: Icfdfc454106b14c94f05da61d5e349d22ae1fbaa Signed-off-by: Jan-Simon Möller <jsmoeller@linuxfoundation.org>
2017-11-10Disable src and sstate mirror on imageJan-Simon Möller1-8/+8
Change-Id: Ic5cbae9c7eda50110b23acc4a354528bfc02975a Signed-off-by: Jan-Simon Möller <jsmoeller@linuxfoundation.org>
2017-11-10packer/provision: agl_dependencies force lava-tool version 0.19Loys Ollivier1-1/+5
lava-tool version 0.14 from ubuntu xenial is almost deprecated. Use the jessie-backeports version 0.19. Change-Id: I4ddb6eb81757ffdb978c8d2edafc4931cf5a42a4 Signed-off-by: Loys Ollivier <lollivier@baylibre.com>
2017-10-09Enforce the reinstallation of jinja2Jan-Simon Möller1-0/+5
to make sure we get the desired version ... Change-Id: I56a8be583340b851e62773bb4d8ba5ac9dde692d Signed-off-by: Jan-Simon Möller <jsmoeller@linuxfoundation.org>