Skip to content

Commit

Permalink
chore: Revert "Check working copy is clean before extract-repo (#5851)"
Browse files Browse the repository at this point in the history
This reverts commit 8ff9767.
  • Loading branch information
spalladino committed Apr 18, 2024
1 parent 8ff9767 commit ec21fb8
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 26 deletions.
21 changes: 0 additions & 21 deletions build-system/scripts/check_working_copy_clean

This file was deleted.

5 changes: 0 additions & 5 deletions build-system/scripts/extract_repo
Original file line number Diff line number Diff line change
Expand Up @@ -7,11 +7,6 @@ set -eu
REPOSITORY=$1
shift

if ! check_working_copy_clean $REPOSITORY; then
echo "The working copy for $REPOSITORY or one of its dependencies as listed in build manifest is not clean. Aborting extract_repo."
exit 1
fi

IMAGE_COMMIT_URI=$(calculate_image_uri $REPOSITORY)
if docker image ls --format "{{.Repository}}:{{.Tag}}" | grep -q -w "$IMAGE_COMMIT_URI$"; then
echo -e "Image exists locally. No need to pull."
Expand Down

0 comments on commit ec21fb8

Please sign in to comment.