Skip to content

Commit

Permalink
Fix get_ci_vm test ownership over-sensitivity
Browse files Browse the repository at this point in the history
Signed-off-by: Chris Evich <[email protected]>
  • Loading branch information
cevich committed Jul 14, 2022
1 parent 63d0f78 commit 5a59173
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions get_ci_vm/test.sh
Original file line number Diff line number Diff line change
Expand Up @@ -231,6 +231,8 @@ mock_gcevm_workflow() {
}
# Don't confuse the actual repo. by nesting another repo inside
tar -xzf "$GOOD_TEST_REPO/dot_git.tar.gz" -C "$GOOD_TEST_REPO" .git
# Ignore ownership security checks
git config --system --add safe.directory $GOOD_TEST_REPO
# Setup should tarball new files in the repo.
echo "testing" > "$GOOD_TEST_REPO/uncommited_file"
# Setup should tarball changed files in the repo.
Expand Down

0 comments on commit 5a59173

Please sign in to comment.