load helpers_cloud function setup() { # Verify prerequisites are available if ! verify_prerequisites; then exit 1 fi # Setup zot server local zot_root_dir=${BATS_FILE_TMPDIR}/zot local zot_config_file=${BATS_FILE_TMPDIR}/zot_config.json echo ${zot_root_dir} >&3 mkdir -p ${zot_root_dir} cat > ${zot_config_file}<&3 [[ "$line" =~ .*metadata.* || "$line" =~ .*trivy.* ]] done }