Skip to content

Commit

Permalink
registry.
Browse files Browse the repository at this point in the history
  • Loading branch information
trivialfis committed Jan 17, 2025
1 parent fe27ec9 commit 2b1eb46
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
2 changes: 2 additions & 0 deletions doc/conf.py
Original file line number Diff line number Diff line change
Expand Up @@ -157,6 +157,7 @@ def try_fetch_jvm_doc(branch: str) -> bool:
else:
url = f"{S3_BUCKET}/{branch}/{commit}/{branch}.tar.bz2"
filename, _ = urllib.request.urlretrieve(url)
print(f"Finished: {url} -> {filename}")
if not os.path.exists(TMP_DIR):
print(f"Create directory {TMP_DIR}")
os.mkdir(TMP_DIR)
Expand Down Expand Up @@ -194,6 +195,7 @@ def try_fetch_r_doc(branch: str) -> bool:
else:
url = f"{S3_BUCKET}/{branch}/{commit}/r-docs-{branch}.tar.bz2"
filename, _ = urllib.request.urlretrieve(url)
print(f"Finished: {url} -> {filename}")

if not os.path.exists(TMP_DIR):
print(f"Create directory {TMP_DIR}")
Expand Down
2 changes: 1 addition & 1 deletion ops/pipeline/build-r-docs.sh
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ fi

source ops/pipeline/get-docker-registry-details.sh

IMAGE_URI=${DOCKER_REGISTRY_URL}/xgb-ci.cpu_build_r_doc:PR-6
IMAGE_URI=${DOCKER_REGISTRY_URL}/xgb-ci.cpu_build_r_doc:main

echo "--- Build R package doc"
set -x
Expand Down

0 comments on commit 2b1eb46

Please sign in to comment.