Skip to content

Commit bdabf90

Browse files
authored
Show prompt to update xpk (#771)
* feat: show prompt to update xpk * style: lint * fix: xpk print * update goldens * style: lint
1 parent c2df548 commit bdabf90

20 files changed

+166
-18
lines changed

goldens/Basic_cluster_create.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
$ python3 xpk.py cluster create --project=golden-project --zone=us-central1-a --cluster=golden-cluster --tpu-type=tpu7x-8 --spot --dry-run
2-
[XPK] Starting xpk
2+
[XPK] Starting xpk v0.14.2
33
[XPK] Starting cluster create for cluster golden-cluster:
44
[XPK] Working on golden-project and us-central1-a
55
[XPK] Task: `Determine server supported GKE versions for default rapid gke version` is implemented by the following command not running since it is a dry run.

goldens/Batch.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
$ python3 xpk.py batch --project=golden-project --zone=us-central1-a --cluster=golden-cluster --dry-run batch-read.sh
2-
[XPK] Starting xpk
2+
[XPK] Starting xpk v0.14.2
33
[XPK] Working on golden-project and us-central1-a
44
[XPK] Task: `Find cluster region or zone` is implemented by the following command not running since it is a dry run.
55
gcloud container clusters list --project=golden-project --filter=name=golden-cluster --format="value(location)"

goldens/Cluster_create_private.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
$ python3 xpk.py cluster create-pathways --project=golden-project --zone=us-central1-a --cluster=golden-cluster-private --private --tpu-type=v5p-8 --num-slices=1 --default-pool-cpu-machine-type=n1-standard-16 --default-pool-cpu-num-nodes=4 --reservation=golden-reservation --dry-run
2-
[XPK] Starting xpk
2+
[XPK] Starting xpk v0.14.2
33
[XPK] Starting cluster create for cluster golden-cluster-private:
44
[XPK] Working on golden-project and us-central1-a
55
[XPK] Task: `Determine server supported GKE versions for default rapid gke version` is implemented by the following command not running since it is a dry run.

goldens/Cluster_create_with_gb200-4.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
$ python3 xpk.py cluster create --project=golden-project --zone=us-central1-a --cluster=golden-cluster --device-type=gb200-4 --reservation=golden-reservation --dry-run
2-
[XPK] Starting xpk
2+
[XPK] Starting xpk v0.14.2
33
[XPK] Starting cluster create for cluster golden-cluster:
44
[XPK] Working on golden-project and us-central1-a
55
[XPK] Task: `Determine server supported GKE versions for default rapid gke version` is implemented by the following command not running since it is a dry run.

goldens/Cluster_delete.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
$ python3 xpk.py cluster delete --project=golden-project --zone=us-central1-a --cluster=golden-cluster --dry-run
2-
[XPK] Starting xpk
2+
[XPK] Starting xpk v0.14.2
33
[XPK] Starting cluster delete for cluster: golden-cluster
44
[XPK] Working on golden-project and us-central1-a
55
[XPK] Task: `Find cluster region or zone` is implemented by the following command not running since it is a dry run.

goldens/Cluster_delete_force.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
$ python3 xpk.py cluster delete --project=golden-project --zone=us-central1-a --cluster=golden-cluster --force --dry-run
2-
[XPK] Starting xpk
2+
[XPK] Starting xpk v0.14.2
33
[XPK] Starting cluster delete for cluster: golden-cluster
44
[XPK] Working on golden-project and us-central1-a
55
[XPK] Task: `Find cluster region or zone` is implemented by the following command not running since it is a dry run.

goldens/Job_cancel.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
$ python3 xpk.py job cancel golden-job --project=golden-project --zone=us-central1-a --cluster=golden-cluster --dry-run
2-
[XPK] Starting xpk
2+
[XPK] Starting xpk v0.14.2
33
[XPK] Starting job cancel for job: ['golden-job']
44
[XPK] Working on golden-project and us-central1-a
55
[XPK] Task: `Find cluster region or zone` is implemented by the following command not running since it is a dry run.

goldens/Job_info.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
$ python3 xpk.py job info golden-job --project=golden-project --zone=us-central1-a --cluster=golden-cluster --dry-run
2-
[XPK] Starting xpk
2+
[XPK] Starting xpk v0.14.2
33
[XPK] Task: `Getting job data` is implemented by the following command not running since it is a dry run.
44
kubectl-kjob describe slurm golden-job
55
[XPK] Task: `Getting job info` is implemented by the following command not running since it is a dry run.

goldens/Job_list.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
$ python3 xpk.py job ls --project=golden-project --zone=us-central1-a --cluster=golden-cluster --dry-run
2-
[XPK] Starting xpk
2+
[XPK] Starting xpk v0.14.2
33
[XPK] Working on golden-project and us-central1-a
44
[XPK] Task: `Find cluster region or zone` is implemented by the following command not running since it is a dry run.
55
gcloud container clusters list --project=golden-project --filter=name=golden-cluster --format="value(location)"

goldens/NAP_cluster-create.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
$ python3 xpk.py cluster create --project=golden-project --zone=us-central1-a --enable-autoprovisioning --cluster=golden-cluster --tpu-type=tpu7x-8 --on-demand --dry-run
2-
[XPK] Starting xpk
2+
[XPK] Starting xpk v0.14.2
33
[XPK] Starting cluster create for cluster golden-cluster:
44
[XPK] Working on golden-project and us-central1-a
55
[XPK] Task: `Determine server supported GKE versions for default rapid gke version` is implemented by the following command not running since it is a dry run.

0 commit comments

Comments
 (0)