Skip to content

Commit

Permalink
fix git mocks
Browse files Browse the repository at this point in the history
  • Loading branch information
neel-astro committed Feb 5, 2025
1 parent e4dd5ea commit b49f2b9
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 0 deletions.
2 changes: 2 additions & 0 deletions e2e-setup/mocks/dag-deploy-git.sh
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,8 @@ if [[ "$1" == "diff" ]]; then
echo "e2e-setup/astro-project/dags/exampledag.py"
elif [[ "$1" == "fetch" ]]; then
echo "Handling git fetch, doing nothing"
elif [[ "$1" == "cat-file" ]]; then
echo "Handling git cat-file, doing nothing"
else
echo "Error: git mock script isn't configured to handle $1" >&2
exit 1
Expand Down
2 changes: 2 additions & 0 deletions e2e-setup/mocks/image-deploy-git.sh
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,8 @@ if [[ "$1" == "diff" ]]; then
echo "e2e-setup/astro-project/Dockerfile"
elif [[ "$1" == "fetch" ]]; then
echo "Handling git fetch, doing nothing"
elif [[ "$1" == "cat-file" ]]; then
echo "Handling git cat-file, doing nothing"
else
echo "Error: git mock script isn't configured to handle $1" >&2
exit 1
Expand Down
2 changes: 2 additions & 0 deletions e2e-setup/mocks/no-deploy-git.sh
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,8 @@ if [[ "$1" == "diff" ]]; then
echo "README.md"
elif [[ "$1" == "fetch" ]]; then
echo "Handling git fetch, doing nothing"
elif [[ "$1" == "cat-file" ]]; then
echo "Handling git cat-file, doing nothing"
else
echo "Error: git mock script isn't configured to handle $1" >&2
exit 1
Expand Down

0 comments on commit b49f2b9

Please sign in to comment.