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.
This commit is contained in:
parent
b7df4bf849
commit
5e42c6360a
|
@ -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"
|
||||
|
||||
|
|
Loading…
Reference in New Issue