We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 92498ff commit 20a2e4eCopy full SHA for 20a2e4e
ci/input_files/build.yaml.tpl
@@ -53,7 +53,7 @@ check-layer-size ({{ $runtime.name }}-{{ $runtime.arch }}):
53
dependencies:
54
- build-layer ({{ $runtime.name }}-{{ $runtime.arch }})
55
script:
56
- - PYTHON_VERSION={{ $runtime.python_version }} ./scripts/check_layer_size.sh
+ - PYTHON_VERSION={{ $runtime.python_version }} ARCH={{ $runtime.arch }} ./scripts/check_layer_size.sh
57
58
lint python:
59
stage: test
scripts/check_layer_size.sh
@@ -8,6 +8,7 @@
8
# Compares layer size to threshold, and fails if below that threshold
9
10
# 7 mb size limit
11
+set -e
12
MAX_LAYER_COMPRESSED_SIZE_KB=$(expr 7 \* 1024)
13
MAX_LAYER_UNCOMPRESSED_SIZE_KB=$(expr 24 \* 1024)
14
0 commit comments