Raspi-image-spec/debian/salsa-ci.yml

35 lines
966 B
YAML
Raw Normal View History

---
2022-11-03 20:43:17 +00:00
stages:
# Garbage in is garbage out, so verify our input
- check input
2022-11-03 20:43:17 +00:00
- 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
check yamls:
stage: check input
image: $BASE_CI_IMAGES:unstable
dependencies: []
script:
- apt-get update && apt-get upgrade -y
- apt-get install -y yamllint
- yamllint -c debian/yamllint.yml .
build yamls:
stage: build
image: $BASE_CI_IMAGES:unstable
2022-11-03 20:43:17 +00:00
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
2022-11-03 20:43:17 +00:00
- make yaml
- mkdir build
- cp raspi*.yaml build/
2022-11-03 20:43:17 +00:00
artifacts:
paths:
- build/