aboutsummaryrefslogtreecommitdiffstats
path: root/packer
AgeCommit message (Collapse)AuthorFilesLines
2021-10-03Fix sudo and add gitlab-runner to buildimageJan-Simon Moeller1-16/+32
Signed-off-by: Jan-Simon Moeller <jsmoeller@linuxfoundation.org> Change-Id: Ia3e1ef044cda12ec919336ba4c81295d5ef00032
2021-02-17Avoid plymouthJan-Simon Moeller1-1/+5
Signed-off-by: Jan-Simon Moeller <jsmoeller@linuxfoundation.org> Change-Id: Ia80d7fa0d1c1d99ecd00cd0468bc57bbeed27d44
2021-02-17Remove unused templateJan-Simon Moeller3-207/+3
Signed-off-by: Jan-Simon Moeller <jsmoeller@linuxfoundation.org> Change-Id: Iaf7f137af7a8e225ad6a9427cb6ea11c1d02c4f9
2021-02-17Fix typo in pyyaml installationJan-Simon Moeller2-12/+13
Signed-off-by: Jan-Simon Moeller <jsmoeller@linuxfoundation.org> Change-Id: I2173127ce33b28c36bcae60ae938aaa154b913e6
2021-02-17Force update pyamlJan-Simon Möller1-0/+1
Signed-off-by: Jan-Simon Möller <jsmoeller@linuxfoundation.org> Change-Id: I2c63ccd9b9dfd1bbb4faf2d944a2b1f7b6b4b48f
2021-02-17Remove distro install of pyyamlJan-Simon Möller1-1/+1
Signed-off-by: Jan-Simon Möller <jsmoeller@linuxfoundation.org> Change-Id: I049de3aa3b5cc0348874daccbbf481f5afb60dbd
2021-02-16Enforce version of lavacliJan-Simon Möller3-4/+8
Signed-off-by: Jan-Simon Möller <jsmoeller@linuxfoundation.org> Change-Id: I9ec73c8414ea10673b6883179297a1c1f6a923bd
2021-02-16Flip order for unzipJan-Simon Möller1-1/+1
Signed-off-by: Jan-Simon Möller <jsmoeller@linuxfoundation.org> Change-Id: I36adb92e8f03ba5526305adac54101d82d9c39ce
2021-02-16Make sure unzip is thereJan-Simon Möller1-1/+4
Signed-off-by: Jan-Simon Möller <jsmoeller@linuxfoundation.org> Change-Id: Id9a71fee495361d331cc45a62b3c0212d316fa80
2021-02-16Make sure java is installed on control slaveJan-Simon Moeller1-2/+2
Signed-off-by: Jan-Simon Moeller <jsmoeller@linuxfoundation.org> Change-Id: I7335cdadd57df117ad5fee2c353ad4cf94a57f9c
2021-02-15Update control slaveJan-Simon Möller2-1/+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-10Remove avail zoneJan-Simon Möller2-2/+0
Signed-off-by: Jan-Simon Möller <jsmoeller@linuxfoundation.org> Change-Id: Ife9276530f1545540d915285d48b48b4c7da9809
2021-02-10Adapt flavoursJan-Simon Möller2-2/+2
Signed-off-by: Jan-Simon Möller <jsmoeller@linuxfoundation.org> Change-Id: Ia460c941eb318d1654acbc587066ecb5a7bbd85a
2021-02-10Update instance typeJan-Simon Möller2-3/+3
Signed-off-by: Jan-Simon Möller <jsmoeller@linuxfoundation.org> Change-Id: I756130ce55dd3089ea4c32db74f16c9defa16d94
2021-02-10Update packer template filesJan-Simon Möller4-273/+25
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öller4-83/+72
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 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>