summaryrefslogtreecommitdiff
path: root/debian
diff options
context:
space:
mode:
authorDiederik de Haas <didi.debian@cknow.org>2022-11-03 21:47:29 +0100
committerDiederik de Haas <didi.debian@cknow.org>2022-11-04 13:52:33 +0100
commitb7df4bf849cda311467dece94c43c13a4c3e7196 (patch)
treeb0b6af8d7fadbb8adc2c5d6507dd60f74c4b795c /debian
parent758b72391c3267287964b010bc984332bdf48271 (diff)
Move .gitlab-ci.yml to debian/salsa-ci.yml
This seems to be the standard location for Salsa's CI.
Diffstat (limited to 'debian')
-rw-r--r--debian/salsa-ci.yml26
1 files changed, 26 insertions, 0 deletions
diff --git a/debian/salsa-ci.yml b/debian/salsa-ci.yml
new file mode 100644
index 0000000..d30f82c
--- /dev/null
+++ b/debian/salsa-ci.yml
@@ -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"
+