From 449831306526be71d1fe7ded76eb3057f78bf541 Mon Sep 17 00:00:00 2001 From: Sergey Smolnikov Date: Fri, 3 May 2024 15:53:48 +0200 Subject: [PATCH] Removed commit id fetch due to failure on git.lock --- build_acr.sh | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/build_acr.sh b/build_acr.sh index 10783ab..02eb52c 100755 --- a/build_acr.sh +++ b/build_acr.sh @@ -62,9 +62,9 @@ if [[ -z "${SP_SECRET}" ]]; then SP_SECRET=$(cat ${AZURE_CREDENTIALS} | jq -r '.password') fi -if [[ -n "${RADIX_GIT_COMMIT_HASH}" ]]; then - git --git-dir=/workspace/.git --work-tree=/workspace/ reset --hard $RADIX_GIT_COMMIT_HASH || exit 1 -fi +#if [[ -n "${RADIX_GIT_COMMIT_HASH}" ]]; then +# git --git-dir=/workspace/.git --work-tree=/workspace/ reset --hard $RADIX_GIT_COMMIT_HASH || exit 1 +#fi TEMPFILE="$(mktemp -u).sh" # We need a random filename since emptyDir /tmp is mounted to multiple build containers GetBuildCommand > "$TEMPFILE"