@@ -55,10 +55,11 @@
variables:
GIT_STRATEGY: none
release: bookworm
+ extension: security
before_script:
- apt update && DEBIAN_FRONTEND=noninteractive apt install -y diffoscope
script:
- - ./scripts/repro-tests.sh --release ${release} --target ${target} image1 image2
+ - ./scripts/repro-tests.sh --release ${release} --target ${target} --extension ${extension} image1 image2
artifacts:
when: always
expire_in: 1 day
@@ -31,6 +31,7 @@ GREEN='\033[0;32m'
IMAGE_BASE="cip-core-image-cip-core"
RELEASE="bullseye"
TARGET="qemu-amd64"
+EXTENSION=""
DIFFOSCOPE="diffoscope"
while [ "$1" != "" ]; do
@@ -43,6 +44,10 @@ while [ "$1" != "" ]; do
TARGET="$2"
shift 2
;;
+ -e | --extension )
+ EXTENSION="$2"
+ shift 2
+ ;;
-h | --help )
usage
exit
@@ -63,6 +68,10 @@ if [ -z "$artifacts1" ] || [ -z "$artifacts2" ]; then
exit 1
fi
+if [ "${EXTENSION}" = "security" ]; then
+ IMAGE_BASE="cip-core-image-security-cip-core"
+fi
+
# Define files in the artifacts for checking the reproducibility
set -- \
"${IMAGE_BASE}-${RELEASE}-${TARGET}.wic.p1" \