Use different compression levels for master and feature-branches

This commit is contained in:
jalr 2018-03-21 23:21:09 +01:00
parent 822e083ee0
commit cedfb66423

View file

@ -28,7 +28,7 @@ dockerimage:
tags:
- fablab
squashfs:
.squashfs_template: &squashfs_template
stage: build
script:
- make images/debian-stretch.squashfs
@ -41,3 +41,17 @@ squashfs:
expire_in: 2 weeks
tags:
- fablab
squashfs_featurebranch:
<<: *squashfs_template
variables:
COMPRESSION_LEVEL: 5
except:
- master
squashfs_master:
<<: *squashfs_template
variables:
COMPRESSION_LEVEL: 7
only:
- master