From 3d9acc17d1187d742ce8605ae7f46f1d32d0f3f5 Mon Sep 17 00:00:00 2001 From: Anton Gladky Date: Thu, 3 Nov 2022 20:43:17 +0000 Subject: [PATCH] Add basic .gitlab-ci.yml --- .gitlab-ci.yml | 26 ++++++++++++++++++++++++++ 1 file changed, 26 insertions(+) create mode 100644 .gitlab-ci.yml diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml new file mode 100644 index 0000000..d30f82c --- /dev/null +++ b/.gitlab-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" +