Merge branch 'improve-salsa-ci' into 'master'

Various salsa CI improvements

See merge request raspi-team/image-specs!64
This commit is contained in:
Diederik de Haas 2022-11-04 13:00:52 +00:00
commit 11382958c5
1 changed files with 9 additions and 9 deletions

View File

@ -1,16 +1,19 @@
stages:
- build
build:
retry:
max: 2
when: always
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
only:
- branches
- master # I suppose that we can work directly on master
- merge_request
stage: build
image: debian:sid
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
@ -21,6 +24,3 @@ build:
paths:
- build
variables:
DEBIAN_FRONTEND: "noninteractive"