Files
image-specs/debian/salsa-ci.yml
Diederik de Haas 5e42c6360a Move some lines to other position in the file
It's common to define variables/constants in the top of a file, so do
that here too.

Move 'stage' field directly under step name as it's quite significant
and seen in other salsa-ci.yml as well.

Move 'image' line after 'stage' line as it's quite important as well.
2022-11-04 13:52:33 +01:00

27 lines
542 B
YAML

stages:
- build
variables:
DEBIAN_FRONTEND: "noninteractive"
build:
stage: build
image: debian:sid
retry:
max: 2
when: always
only:
- branches
- master # I suppose that we can work directly on master
- merge_request
dependencies: []
script:
- apt-get update && 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