@@ -53,15 +53,15 @@ jobs:
5353 gcloud config get compute/zone
5454 - name : Install kueuectl
5555 run : curl -Lo ./kubectl-kueue https://github.com/kubernetes-sigs/kueue/releases/download/v0.8.1/kubectl-kueue-linux-amd64 && chmod +x ./kubectl-kueue && mv ./kubectl-kueue /usr/local/bin/kubectl-kueue
56+ - name : Install xpk with pip and verify it executes corretly
57+ run : |
58+ pip install .
59+ xpk --help
5660 - name : Create an XPK Cluster with zero node pools
5761 run : python xpk.py cluster create --cluster $EMPTY_CLUSTER_NAME --tpu-type=v4-8 --num-slices=0 --zone=us-central2-b --default-pool-cpu-machine-type=n1-standard-16 --reservation='${{ secrets.GCP_TPU_V4_RESERVATION }}' --custom-cluster-arguments='${{ secrets.CLUSTER_ARGUMENTS }}'
5862 - name : Delete the cluster created
5963 run : python xpk.py cluster delete --cluster $EMPTY_CLUSTER_NAME --zone=us-central2-b
6064 if : always()
61- - name : Install xpk with pip and verify it executes corretly
62- run : |
63- pip install .
64- xpk --help
6565 - name : Create an XPK Cluster with 2x v4-8 nodepools
6666 run : python xpk.py cluster create --cluster $TPU_CLUSTER_NAME --tpu-type=v4-8 --num-slices=2 --zone=us-central2-b --default-pool-cpu-machine-type=n1-standard-16 --reservation='${{ secrets.GCP_TPU_V4_RESERVATION }}' --custom-cluster-arguments='${{ secrets.CLUSTER_ARGUMENTS }}'
6767 - name : Authenticate Docker
8585 run : python xpk.py cluster delete --cluster $TPU_CLUSTER_NAME --zone=us-central2-b
8686
8787 pw-cluster-and-workload :
88- runs-on : [ubuntu-20 .04]
88+ runs-on : [ubuntu-22 .04]
8989 concurrency : # We support one build test to run at a time currently.
9090 group : nightly-pw-test-cluster-group
9191 cancel-in-progress : false
@@ -105,6 +105,12 @@ jobs:
105105 run : |
106106 gcloud config set compute/zone us-east4-a
107107 gcloud config get compute/zone
108+ - name : Install xpk with pip and verify it executes corretly
109+ run : |
110+ pip install .
111+ xpk --help
112+ - name : Install kueuectl
113+ run : curl -Lo ./kubectl-kueue https://github.com/kubernetes-sigs/kueue/releases/download/v0.8.1/kubectl-kueue-linux-amd64 && chmod +x ./kubectl-kueue && mv ./kubectl-kueue /usr/local/bin/kubectl-kueue
108114 - name : Create an Pathways-enabled XPK Cluster with 2 x v4-8 nodepools
109115 run : python xpk.py cluster create-pathways --cluster $PATHWAYS_TPU_CLUSTER_NAME --tpu-type=v4-8 --num-slices=2 --zone=us-central2-b --default-pool-cpu-machine-type=n1-standard-16 --default-pool-cpu-num-nodes=16 --reservation='${{ secrets.GCP_TPU_V4_RESERVATION }}'
110116 - name : Create test script to execute in workloads
0 commit comments