File tree Expand file tree Collapse file tree 2 files changed +3
-0
lines changed Expand file tree Collapse file tree 2 files changed +3
-0
lines changed Original file line number Diff line number Diff line change 43
43
if [[ " ${clone_graph} " == " true" ]]; then
44
44
cf_graph_repo=${CF_TICK_GRAPH_GITHUB_BACKEND_REPO:- " regro/cf-graph-countyfair" }
45
45
cf_graph_remote=" https://github.com/${cf_graph_repo} .git"
46
+ # please make sure the cloning depth is always identical to the one used in the integration tests (test_integration.py)
46
47
git clone --depth=5 " ${cf_graph_remote} " cf-graph
47
48
else
48
49
echo " Skipping cloning of cf-graph"
Original file line number Diff line number Diff line change @@ -156,6 +156,8 @@ def in_fresh_cf_graph():
156
156
tmpdir = Path (tmpdir_s )
157
157
158
158
cf_graph_repo = settings ().graph_github_backend_repo
159
+
160
+ # --depth=5 is the same value as used in prod (see autotick-bot/install_bot_code.sh)
159
161
subprocess .run (
160
162
[
161
163
"git" ,
You can’t perform that action at this time.
0 commit comments