2022-11-03 20:43:17 +00:00
|
|
|
stages:
|
|
|
|
- build
|
|
|
|
|
2022-11-03 20:54:38 +00:00
|
|
|
variables:
|
|
|
|
DEBIAN_FRONTEND: "noninteractive"
|
2022-11-03 20:55:32 +00:00
|
|
|
# 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
|
2022-11-03 20:54:38 +00:00
|
|
|
|
2022-11-03 20:43:17 +00:00
|
|
|
build:
|
2022-11-03 20:54:38 +00:00
|
|
|
stage: build
|
2022-11-03 20:55:32 +00:00
|
|
|
image: $BASE_CI_IMAGES:unstable
|
2022-11-03 20:43:17 +00:00
|
|
|
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
|
|
|
|
|