From 5e42c6360ad7dd26d028557432c08c92a46de230 Mon Sep 17 00:00:00 2001 From: Diederik de Haas Date: Thu, 3 Nov 2022 21:54:38 +0100 Subject: [PATCH] Move some lines to other position in the file It's common to define variables/constants in the top of a file, so do that here too. Move 'stage' field directly under step name as it's quite significant and seen in other salsa-ci.yml as well. Move 'image' line after 'stage' line as it's quite important as well. --- debian/salsa-ci.yml | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/debian/salsa-ci.yml b/debian/salsa-ci.yml index d30f82c..cd07cb5 100644 --- a/debian/salsa-ci.yml +++ b/debian/salsa-ci.yml @@ -1,7 +1,12 @@ stages: - build +variables: + DEBIAN_FRONTEND: "noninteractive" + build: + stage: build + image: debian:sid retry: max: 2 when: always @@ -9,8 +14,6 @@ build: - 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" -