Skip to content

Commit

Permalink
fix name of trainer image
Browse files Browse the repository at this point in the history
Signed-off-by: helenxie-bit <helenxiehz@gmail.com>
  • Loading branch information
helenxie-bit committed Dec 18, 2024
1 parent 5efaf3b commit 13ae587
Showing 1 changed file with 11 additions and 7 deletions.
18 changes: 11 additions & 7 deletions .github/workflows/integration-tests.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -70,7 +70,7 @@ jobs:
./scripts/gha/build-trainer.sh
env:
TRAINER_CI_IMAGE: kubeflowtraining/trainer:test

- name: Load trainer
run: |
kind load docker-image ${{ env.TRAINER_CI_IMAGE }} --name ${{ env.KIND_CLUSTER }}
Expand All @@ -80,14 +80,14 @@ jobs:
env:
KIND_CLUSTER: training-operator-cluster
TRAINER_CI_IMAGE: kubeflowtraining/trainer:test

- name: Build storage initializer
run: |
./scripts/gha/build-storage-initializer.sh
env:
STORAGE_INITIALIZER_CI_IMAGE: kubeflowtraining/storage-initializer:test
TRAINER_CI_IMAGE: kubeflowtraining/trainer:test

- name: Load storage initializer
run: |
kind load docker-image ${{ env.STORAGE_INITIALIZER_CI_IMAGE }} --name ${{ env.KIND_CLUSTER }}
Expand All @@ -102,16 +102,20 @@ jobs:
run: |
pip install pytest
python3 -m pip install -e sdk/python[huggingface]; pytest -s sdk/python/test/e2e --log-cli-level=debug --namespace=default
env:
GANG_SCHEDULER_NAME: ${{ matrix.gang-scheduler-name }}
STORAGE_INITIALIZER_IMAGE: kubeflowtraining/storage-initializer:test
TRAINER_TRANSFORMER_IMAGE: kubeflowtraining/trainer:test

- name: Check logs
if: always()
run: |
echo "Listing all pods in the default namespace..."
kubectl get pods -n default
echo "Describe all pods in the default namespace..."
kubectl describe pods -n default
echo "Get logs for all pods in the default namespace..."
for pod in $(kubectl get pods -n default -o jsonpath='{.items[*].metadata.name}'); do kubectl logs -n default $pod; done
env:
GANG_SCHEDULER_NAME: ${{ matrix.gang-scheduler-name }}
STORAGE_INITIALIZER_IMAGE: kubeflowtraining/storage-initializer:test
TRAINER_TRANSFORMER_IMAGE_DEFAULT: kubeflowtraining/trainer:test
- name: Collect volcano logs
if: ${{ failure() && matrix.gang-scheduler-name == 'volcano' }}
Expand Down

0 comments on commit 13ae587

Please sign in to comment.