mirror of
https://github.com/flatcar/scripts.git
synced 2026-05-04 19:56:32 +02:00
ci-automation: check for zstd in environment
This replaces pigz, so remove the related variables (PIGZ). Signed-off-by: Jeremi Piotrowski <jpiotrowski@microsoft.com>
This commit is contained in:
parent
c19f0edbff
commit
862f253518
@ -19,9 +19,9 @@ GC_BUCKET="flatcar-linux"
|
||||
|
||||
DEFAULT_HTTP_IMAGE_URL_TEMPLATE="@PROTO@://${BUILDCACHE_SERVER}/images/@ARCH@/@VERNUM@"
|
||||
|
||||
if ! command -v pigz > /dev/null; then
|
||||
# No PIGZ on Flatcar
|
||||
PIGZ="docker run --rm -i ghcr.io/flatcar/pigz --fast"
|
||||
if ! command -v zstd > /dev/null; then
|
||||
# we require zstd and it is included by default on flatcar
|
||||
echo >&2 "zstd could not be found. unpacking container image may fail."
|
||||
fi
|
||||
|
||||
CI_GIT_AUTHOR="flatcar-ci"
|
||||
|
||||
@ -7,7 +7,6 @@
|
||||
# CI automation common functions.
|
||||
|
||||
source ci-automation/ci-config.env
|
||||
: ${PIGZ:=pigz}
|
||||
: ${docker:=docker}
|
||||
|
||||
: ${TEST_WORK_DIR:='__TESTS__'}
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user