From cedfb6642361cc84fe7a667729541649fcc0d4ca Mon Sep 17 00:00:00 2001 From: jalr Date: Wed, 21 Mar 2018 23:21:09 +0100 Subject: [PATCH] Use different compression levels for master and feature-branches --- .gitlab-ci.yml | 16 +++++++++++++++- 1 file changed, 15 insertions(+), 1 deletion(-) diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index 30c3e66..b6a2991 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -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