Skip to content

Commit

Permalink
[Fix] Standardize Buildkite Display Format Across All Tests (ray-proj…
Browse files Browse the repository at this point in the history
  • Loading branch information
tinaxfwu authored Feb 11, 2025
1 parent ffe8e7a commit 2300814
Showing 1 changed file with 4 additions and 7 deletions.
11 changes: 4 additions & 7 deletions .buildkite/test-kubectl-plugin-e2e.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,15 +12,12 @@
- kind load docker-image kuberay/operator:nightly
- IMG=kuberay/operator:nightly make deploy
- kubectl wait --timeout=90s --for=condition=Available=true deployment kuberay-operator
# Setup gotestfmt
- 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
# Build CLI and add to path
- go mod download
- go build -o kubectl-ray -a ./cmd/kubectl-ray.go
- cp ./kubectl-ray /usr/local/bin
# Run e2e tests and pipe output to gotestfmt
- 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
# Run e2e tests
- echo "--- START:Running Test E2E (kubectl-plugin) tests"
- KUBERAY_TEST_TIMEOUT_SHORT=1m KUBERAY_TEST_TIMEOUT_MEDIUM=5m KUBERAY_TEST_TIMEOUT_LONG=10m go test -timeout 60m -v ./test/e2e | awk -f ../.buildkite/format.awk
- echo "--- END:Test E2E (kubectl-plugin) tests finished"

0 comments on commit 2300814

Please sign in to comment.