mirror of
https://salsa.debian.org/raspi-team/image-specs
synced 2026-05-30 06:38:09 +02:00
Upgrade the existing packages before installing new ones. It's better to have a fully up-to-date system to work on and it could also fix/prevent an installation issue if a package depends on an existing, but un-upgraded one. With this change we get "and 0 not upgraded", which was not always the case before. Also add a '/' after the 'build' directory to make it clear it is a dir.
24 lines
681 B
YAML
24 lines
681 B
YAML
stages:
|
|
- build
|
|
|
|
variables:
|
|
DEBIAN_FRONTEND: "noninteractive"
|
|
# At https://salsa.debian.org/salsa-ci-team/pipeline/container_registry one can see which images are available
|
|
SALSA_CI_IMAGES: registry.salsa.debian.org/salsa-ci-team/pipeline
|
|
BASE_CI_IMAGES: ${SALSA_CI_IMAGES}/base
|
|
|
|
build-yamls:
|
|
stage: build
|
|
image: $BASE_CI_IMAGES:unstable
|
|
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
|
|
- make yaml
|
|
- mkdir build
|
|
- cp raspi*.yaml build/
|
|
artifacts:
|
|
paths:
|
|
- build/
|
|
|