Merge branch 'add_basic_ci' into 'master'

Add basic .gitlab-ci.yml

See merge request raspi-team/image-specs!55
This commit is contained in:
Diederik de Haas 2022-11-03 20:43:19 +00:00
commit 189a145e0e
1 changed files with 26 additions and 0 deletions

26
.gitlab-ci.yml Normal file
View File

@ -0,0 +1,26 @@
stages:
- build
build:
retry:
max: 2
when: always
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
- make yaml
- mkdir build
- cp raspi*.yaml build
artifacts:
paths:
- build
variables:
DEBIAN_FRONTEND: "noninteractive"