Simplify and fix 'build yamls' job

To build the yaml files, we only need python3 and make.
All the other/old packages that got installed are needed for building
actual images, so get rid of them.
This should also significantly speed up the job.

While checking the 'artifacts' I noticed that git operations didn't
produce the output as expected, both in top comment as at the end where
build information is written to /etc/raspi-image-id.
That was caused by git not working as it wasn't installed.
This commit is contained in:
Diederik de Haas 2022-11-14 17:52:51 +01:00
parent 58a3ee3f68
commit cf2eb655d9
No known key found for this signature in database
GPG Key ID: D76E5BCE787EDB6E
1 changed files with 1 additions and 1 deletions

2
debian/salsa-ci.yml vendored
View File

@ -34,7 +34,7 @@ build yamls:
dependencies: []
script:
- apt-get update && apt-get upgrade -y
- eatmydata apt-get install -y vmdb2 dosfstools qemu-utils qemu-user-static debootstrap binfmt-support time kpartx bmap-tools python3 fakemachine make
- apt-get install -y python3 make git
- make yaml
- mkdir build
- cp raspi*.yaml build/