diff --git a/ci/build-test-qemu.sh b/ci/build-test-qemu.sh index abb7a080d..e3b7ab747 100755 --- a/ci/build-test-qemu.sh +++ b/ci/build-test-qemu.sh @@ -1,12 +1,12 @@ #!/bin/bash set -xeuo pipefail # This script is the entrypoint for PRs to this repo via OpenShift Prow. -dn=$(dirname $0) +dn=$(dirname "${0}") # Prow jobs don't support adding emptydir today export COSA_SKIP_OVERLAY=1 # Create a temporary cosa workdir if COSA_DIR is not set. cosa_dir="${COSA_DIR:-$(mktemp -d)}" -echo "Using $cosa_dir for build" -cd "$cosa_dir" +echo "Using ${cosa_dir} for build" +cd "${cosa_dir}" cosa init /src exec ${dn}/prow-build-test-qemu.sh diff --git a/ci/prow-build-test-qemu.sh b/ci/prow-build-test-qemu.sh index 95e6c0b27..89385017c 100755 --- a/ci/prow-build-test-qemu.sh +++ b/ci/prow-build-test-qemu.sh @@ -35,7 +35,7 @@ prev_build_url=${REDIRECTOR_URL}/rhcos-${ocpver}/ curl -L http://base-"${ocpver_mut}"-rhel86.ocp.svc.cluster.local > src/config/ocp.repo curl -L http://base-"${ocpver_mut}"-rhel85.ocp.svc.cluster.local > src/config/ocp85.repo sed -i -e 's,\[rhel-8-,\[rhel-85-,' src/config/ocp85.repo -cosa buildfetch --url=${prev_build_url} +cosa buildfetch --url="${prev_build_url}" cosa fetch cosa build cosa buildextend-extensions