diff --git a/ci/prow-entrypoint.sh b/ci/prow-entrypoint.sh index fd2e7034..62ce382a 100755 --- a/ci/prow-entrypoint.sh +++ b/ci/prow-entrypoint.sh @@ -126,12 +126,12 @@ kola_test_qemu() { variant="$(jq --raw-output '."coreos-assembler.config-variant"' 'src/config.json')" manifest="src/config/manifest-${variant}.yaml" fi - if cosa kola list --json | jq -r '.[].Name' | grep -q "basic.nvme"; then - if rpm-ostree compose tree --print-only "${manifest}" | jq -r '.packages[]' | grep -q "centos-stream-release"; then + if cosa kola list --json | jq -r '.[].Name' | grep "basic.nvme"; then + if rpm-ostree compose tree --print-only "${manifest}" | jq -r '.packages[]' | grep "centos-stream-release"; then args+="--denylist-test *.uefi-secure" fi else - if ! rpm-ostree compose tree --print-only "${manifest}" | jq -r '.packages[]' | grep -q "centos-stream-release"; then + if ! rpm-ostree compose tree --print-only "${manifest}" | jq -r '.packages[]' | grep "centos-stream-release"; then cosa kola --basic-qemu-scenarios --output-dir ${ARTIFACT_DIR:-/tmp}/kola-basic else cosa kola --basic-qemu-scenarios --skip-secure-boot --output-dir ${ARTIFACT_DIR:-/tmp}/kola-basic