Skip to content

Commit

Permalink
ci: Minor quoting fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
travier committed Apr 8, 2022
1 parent af7db56 commit 988881b
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
6 changes: 3 additions & 3 deletions ci/build-test-qemu.sh
Original file line number Diff line number Diff line change
@@ -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
2 changes: 1 addition & 1 deletion ci/prow-build-test-qemu.sh
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 988881b

Please sign in to comment.