Use different compression levels for master and feature-branches
This commit is contained in:
parent
822e083ee0
commit
cedfb66423
1 changed files with 15 additions and 1 deletions
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue