[Fix][kubectl-plugin]: make `version` handle digests (#2876)
Passed in 26m 32s

Waited 54s
Ran in 14s
Test E2E (nightly operator)source .buildkite/setup-env.sh && kind create cluster --wait 900s --config ./tests/framework/config/kind-config-buildkite.yml && kubectl config set clusters.kind-kind.server https://docker:6443 && pushd ray-operator && IMG=kuberay/operator:nightly make docker-image && kind load docker-image kuberay/operator:nightly && IMG=kuberay/operator:nightly make deploy && kubectl wait --timeout=90s --for=condition=Available=true deployment kuberay-operator && KUBERAY_TEST_TIMEOUT_SHORT=1m KUBERAY_TEST_TIMEOUT_MEDIUM=5m KUBERAY_TEST_TIMEOUT_LONG=10m go test -timeout 30m -v ./test/e2e || (kubectl logs --tail -1 -l app.kubernetes.io/name=kuberay && exit 1)
Waited 37s
Ran in 25m 42s
Test E2E rayservice (nightly operator)source .buildkite/setup-env.sh && kind create cluster --wait 900s --config ./tests/framework/config/kind-config-buildkite.yml && kubectl config set clusters.kind-kind.server https://docker:6443 && pushd ray-operator && IMG=kuberay/operator:nightly make docker-image && kind load docker-image kuberay/operator:nightly && IMG=kuberay/operator:nightly make deploy && kubectl wait --timeout=90s --for=condition=Available=true deployment kuberay-operator && KUBERAY_TEST_TIMEOUT_SHORT=1m KUBERAY_TEST_TIMEOUT_MEDIUM=5m KUBERAY_TEST_TIMEOUT_LONG=10m go test -timeout 30m -v ./test/e2erayservice || (kubectl logs --tail -1 -l app.kubernetes.io/name=kuberay && exit 1)
Waited 39s
Ran in 23m 31s
Test Autoscaler E2E (nightly operator)source .buildkite/setup-env.sh && kind create cluster --wait 900s --config ./tests/framework/config/kind-config-buildkite.yml && kubectl config set clusters.kind-kind.server https://docker:6443 && pushd ray-operator && IMG=kuberay/operator:nightly make docker-image && kind load docker-image kuberay/operator:nightly && IMG=kuberay/operator:nightly make deploy && kubectl wait --timeout=90s --for=condition=Available=true deployment kuberay-operator && KUBERAY_TEST_TIMEOUT_SHORT=1m KUBERAY_TEST_TIMEOUT_MEDIUM=5m KUBERAY_TEST_TIMEOUT_LONG=10m go test -timeout 30m -v ./test/e2eautoscaler || (kubectl logs --tail -1 -l app.kubernetes.io/name=kuberay && exit 1)
Waited 50s
Ran in 23m 3s
Test E2E (kubectl-plugin)source .buildkite/setup-env.sh && kind create cluster --wait 900s --config ./tests/framework/config/kind-config-buildkite.yml && kubectl config set clusters.kind-kind.server https://docker:6443 && echo Deploying Kuberay operator && pushd ray-operator && IMG=kuberay/operator:nightly make docker-image && kind load docker-image kuberay/operator:nightly && IMG=kuberay/operator:nightly make deploy && kubectl wait --timeout=90s --for=condition=Available=true deployment kuberay-operator && popd && pushd kubectl-plugin && curl -Lo gotestfmt.tar.gz https://github.com/GoTestTools/gotestfmt/releases/download/v2.5.0/gotestfmt_2.5.0_linux_amd64.tar.gz && tar -zxvf gotestfmt.tar.gz && cp ./gotestfmt /usr/local/bin && set -euo pipefail && go mod download && go build -o kubectl-ray -a ./cmd/kubectl-ray.go && cp ./kubectl-ray /usr/local/bin && KUBERAY_TEST_TIMEOUT_SHORT=1m KUBERAY_TEST_TIMEOUT_MEDIUM=5m KUBERAY_TEST_TIMEOUT_LONG=10m go test -timeout 60m -v ./test/e2e -json 2>&1 | gotestfmt
Waited 47s
Ran in 18m 15s
Test Sample YAMLs (nightly operator)source .buildkite/setup-env.sh && kind create cluster --wait 900s --config ./tests/framework/config/kind-config-buildkite.yml && kubectl config set clusters.kind-kind.server https://docker:6443 && pushd ray-operator && IMG=kuberay/operator:nightly make docker-image && kind load docker-image kuberay/operator:nightly && IMG=kuberay/operator:nightly make deploy && kubectl wait --timeout=90s --for=condition=Available=true deployment kuberay-operator && KUBERAY_TEST_TIMEOUT_SHORT=1m KUBERAY_TEST_TIMEOUT_MEDIUM=5m KUBERAY_TEST_TIMEOUT_LONG=10m go test -timeout 30m -v ./test/sampleyaml && kubectl logs --tail -1 -l app.kubernetes.io/name=kuberay
Waited 48s
Ran in 24m 19s
Test Sample YAMLs (latest release)source .buildkite/setup-env.sh && kind create cluster --wait 900s --config ./tests/framework/config/kind-config-buildkite.yml && kubectl config set clusters.kind-kind.server https://docker:6443 && pushd ray-operator && IMG=quay.io/kuberay/operator:v1.2.2 make deploy && kubectl wait --timeout=90s --for=condition=Available=true deployment kuberay-operator && KUBERAY_TEST_TIMEOUT_SHORT=1m KUBERAY_TEST_TIMEOUT_MEDIUM=5m KUBERAY_TEST_TIMEOUT_LONG=10m go test -timeout 30m -v ./test/sampleyaml && kubectl logs --tail -1 -l app.kubernetes.io/name=kuberay
Waited 1m 43s
Ran in 23m 24s
Total Job Run Time: 2h 18m