Skip to content

Commit

Permalink
[web] Speed binder startup by setting git clone depth to 1.
Browse files Browse the repository at this point in the history
Follow-up on !5095.
  • Loading branch information
bilke committed Sep 12, 2024
1 parent 2976c5b commit d5cbb97
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Tests/Data/Notebooks/testrunner.py
Original file line number Diff line number Diff line change
Expand Up @@ -101,7 +101,7 @@ def check_and_modify_frontmatter():
if "CI_MERGE_REQUEST_SOURCE_PROJECT_URL" in os.environ:
repo = os.environ["CI_MERGE_REQUEST_SOURCE_PROJECT_URL"]
branch = os.environ["CI_MERGE_REQUEST_SOURCE_BRANCH_NAME"]
binder_link = f"https://binder.opengeosys.org/v2/gh/bilke/binder-ogs-requirements/master?urlpath=git-pull%3Frepo={repo}%26urlpath=lab/tree/ogs/{notebook_file_path_relative}%26branch={branch}"
binder_link = f"https://binder.opengeosys.org/v2/gh/bilke/binder-ogs-requirements/master?urlpath=git-pull%3Frepo={repo}%26urlpath=lab/tree/ogs/{notebook_file_path_relative}%26branch={branch}%26depth=1"
text = """
<div class="note">
<p style="margin-top: 0; margin-bottom: 0;">
Expand Down

0 comments on commit d5cbb97

Please sign in to comment.