Skip to content

Commit

Permalink
Replace XGBoost image for E2E with community hosted (#1922)
Browse files Browse the repository at this point in the history
Signed-off-by: Yuki Iwai <[email protected]>
  • Loading branch information
tenzen-y authored Sep 29, 2023
1 parent bb2b58a commit 04936a0
Show file tree
Hide file tree
Showing 2 changed files with 17 additions and 1 deletion.
16 changes: 16 additions & 0 deletions .github/workflows/integration-tests.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -55,6 +55,22 @@ jobs:
python-version: "3.10"

steps:
# This step is a Workaround to avoid the "No space left on device" error.
# ref: https://github.com/actions/runner-images/issues/2840
- name: Remove unnecessary files
shell: bash
run: |
sudo rm -rf /usr/share/dotnet
sudo rm -rf /opt/ghc
sudo rm -rf "/usr/local/share/boost"
sudo rm -rf "$AGENT_TOOLSDIRECTORY"
sudo rm -rf /usr/local/lib/android
sudo rm -rf /usr/local/share/powershell
sudo rm -rf /usr/share/swift
echo "Disk usage after cleanup:"
df -h
- name: Checkout
uses: actions/checkout@v3

Expand Down
2 changes: 1 addition & 1 deletion sdk/python/test/e2e/test_e2e_xgboostjob.py
Original file line number Diff line number Diff line change
Expand Up @@ -181,7 +181,7 @@ def generate_xgboostjob(
def generate_container() -> V1Container:
return V1Container(
name=CONTAINER_NAME,
image="docker.io/merlintang/xgboost-dist-iris:1.1",
image="docker.io/kubeflow/xgboost-dist-iris:latest",
args=[
"--job_type=Train",
"--xgboost_parameter=objective:multi:softprob,num_class:3",
Expand Down

0 comments on commit 04936a0

Please sign in to comment.