Skip to content

Commit

Permalink
NO-JIRA: fix(gha): ensure that build_mont_path exists even if `podm…
Browse files Browse the repository at this point in the history
…an` is not initialized yet
  • Loading branch information
jiridanek committed Oct 14, 2024
1 parent e97cebb commit 25a1921
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions ci/cached-builds/gha_lvm_overlay.sh
Original file line number Diff line number Diff line change
Expand Up @@ -64,6 +64,7 @@ if [[ ${overprovision_lvm} == 'true' ]]; then
else
sudo mkfs.ext4 -Enodiscard -m0 "/dev/mapper/${VG_NAME}-buildlv"
fi
mkdir -p "${build_mount_path}"
sudo mount "/dev/mapper/${VG_NAME}-buildlv" "${build_mount_path}"
sudo chown -R "${build_mount_path_ownership}" "${build_mount_path}"

Expand Down

0 comments on commit 25a1921

Please sign in to comment.