aboutsummaryrefslogtreecommitdiffstats
path: root/packer/provision
AgeCommit message (Collapse)AuthorFilesLines
2021-02-15Update control slaveJan-Simon Möller1-0/+69
Signed-off-by: Jan-Simon Möller <jsmoeller@linuxfoundation.org> Change-Id: I64ab8479436f8bc020cd2032a3d5a4f390ba1f5d
2021-02-15Deploy jenkins userJan-Simon Möller2-6/+67
Signed-off-by: Jan-Simon Möller <jsmoeller@linuxfoundation.org> Change-Id: I66b19d8a0d65c4a79c5a3446cab78eb0287fbf77
2021-02-15Update baselineJan-Simon Möller3-1/+11
Signed-off-by: Jan-Simon Möller <jsmoeller@linuxfoundation.org> Change-Id: Iabebe98b2be9699630791aacb9e404ab8b588a93
2021-02-15Adapt cloud init dependencies with pipJan-Simon Möller2-4/+13
Change-Id: I16894abf3bf888e2ee8af802af05b652af15a4a8 Signed-off-by: Jan-Simon Möller <jsmoeller@linuxfoundation.org>
2021-02-15Update cloud-init dependenciesJan-Simon Möller2-0/+8
Change-Id: I7cbd50d41e4686848cab6a4a1cd9ea528600b333 Signed-off-by: Jan-Simon Möller <jsmoeller@linuxfoundation.org>
2021-02-10Update packer template filesJan-Simon Möller3-271/+23
Signed-off-by: Jan-Simon Möller <jsmoeller@linuxfoundation.org> Change-Id: I54e0d6700fe34fa67868328fb9a150d7ca5c3802
2020-12-02Update hwtest dependenciesJan-Simon Möller1-4/+6
Signed-off-by: Jan-Simon Möller <jsmoeller@linuxfoundation.org> Change-Id: I908a275715401de4d660b34c84185ad1611dd5e5
2020-12-02Uprev builder configuration to 18.04Jan-Simon Möller2-19/+16
Change-Id: I93101d81827d9751797a96b130db979f05da86d0 Signed-off-by: Jan-Simon Möller <jsmoeller@linuxfoundation.org>
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 LABBE2-6/+0
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-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
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öller1-0/+77
Change-Id: I69e0bd20128fe41cd0953bea94e07ae5c4f86243 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-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-24Add repo toolJan-Simon Möller1-0/+6
Change-Id: I1766a6fe269cf64c379d2e1f8241325e18301b1a Signed-off-by: Jan-Simon Möller <jsmoeller@linuxfoundation.org>
2019-04-24Redo new baseimages with packer vers 1.4.0Jan-Simon Möller1-2/+3
and use the new image_disk_format Change-Id: I17fa60f6013d5382237cdb100717cc9776945ac5 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-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-03-08Add dependency for g++-multilibJan-Simon Möller1-1/+1
Change-Id: I243214abf1505496bbc04797678a275be771b0dc Signed-off-by: Jan-Simon Möller <jsmoeller@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>
2017-10-04packer: agl_dependencies: need latest python jinja2 libKevin Hilman1-0/+3
releng-scripts templating depends on the current stable (v2.9) version of jinja2. Change-Id: I0cde55c53567755edf3f2d1e8b009d0b0b7cc8ec Signed-off-by: Kevin Hilman <khilman@baylibre.com>
2017-07-25Add linters for doc generationJan-Simon Möller1-0/+4
Change-Id: I0edee9740a6766acc5bc2020b4a758830ed4ee53 Signed-off-by: Jan-Simon Möller <jsmoeller@linuxfoundation.org>
2017-06-15Add hashicorp's packer 1.0.0Anil Belur2-9/+9
The previous change: 9515, does not pull in the packer binaries into basebuild, so moving this to baseline is more appropriate. Change-Id: I149e83635cce5e9ce62d06fccb4d30099ecd3906 Signed-off-by: Anil Belur <abelur@linuxfoundation.org>
2017-05-25Add hashicorp's packer 1.0.0 to basebuildAnil Belur1-0/+9
Change-Id: Id939111ccbfdf5ab0ca3aef0d33f6c88d9c30172 Signed-off-by: Anil Belur <abelur@linuxfoundation.org>
2017-05-19Fix webdoc dependencies to match containerJan-Simon Möller1-2/+18
Change-Id: I696e833ed63f624410359e6b57b2fa6ec3bac094 Signed-off-by: Jan-Simon Möller <jsmoeller@linuxfoundation.org>
2017-05-19Change download-new to download for the download serverJan-Simon Möller2-5/+5
Change-Id: I4ef925c7bf1ea80a2bb8d7fffcdc5d3f050ef843 Signed-off-by: Jan-Simon Möller <jsmoeller@linuxfoundation.org>
2017-05-04Install more recent versions of jekyll and kramdownJan-Simon Möller1-2/+5
This should fix the rendering issues from SPEC-574. Change-Id: Ib536a1aaf8ed29d613e33b238751e1a6b67afc3b Bug-AGL: SPEC-574 Signed-off-by: Jan-Simon Möller <jsmoeller@linuxfoundation.org>
2017-01-25Merge "New small baseimage for control node."Jan-Simon Moeller1-0/+6
2017-01-25New small baseimage for control node.Jan-Simon Möller1-0/+6
Change-Id: Iec3e26163caad81cd12c6cce6a35431403dc285d Signed-off-by: Jan-Simon Möller <jsmoeller@linuxfoundation.org>
2017-01-24Update dependencies and add jekyll-plantumlJan-Simon Möller2-266/+262
jekyll-plantuml was requested by Jens. Change-Id: Ic6e1d32b57dd3c5b36b8388e1ac985a80f4381dc Signed-off-by: Jan-Simon Möller <jsmoeller@linuxfoundation.org>