load helpers_referrers function setup() { # Verify prerequisites are available if ! verify_prerequisites; then exit 1 fi # Download test data to folder common for the entire suite, not just this file skopeo --insecure-policy copy --format=oci docker://alpine:latest oci:${TEST_DATA_DIR}alpine:latest # Setup zot server ZOT_ROOT_DIR=${BATS_FILE_TMPDIR}/zot echo ${ZOT_ROOT_DIR} ZOT_LOG_FILE=${ZOT_ROOT_DIR}/zot-log.json ZOT_CONFIG_FILE=${BATS_FILE_TMPDIR}/zot_config.json mkdir -p ${ZOT_ROOT_DIR} touch ${ZOT_LOG_FILE} cat >${ZOT_CONFIG_FILE} <${IMAGE_MANIFEST_REFERRER} <${ARTIFACT_MANIFEST_REFERRER} <