From 36a3cc2b001f2d68054287cc12c0bcc233dd367b Mon Sep 17 00:00:00 2001 From: Zach Koopmans Date: Thu, 9 Nov 2023 17:03:50 -0800 Subject: [PATCH] Email gVisor team if release pipeline fails. PiperOrigin-RevId: 581067987 --- .buildkite/gpu.yaml | 25 ------------------------- .buildkite/release.yaml | 16 ++++++++++++++++ 2 files changed, 16 insertions(+), 25 deletions(-) delete mode 100644 .buildkite/gpu.yaml diff --git a/.buildkite/gpu.yaml b/.buildkite/gpu.yaml deleted file mode 100644 index ea77d1e64..000000000 --- a/.buildkite/gpu.yaml +++ /dev/null @@ -1,25 +0,0 @@ -agents: - queue: release -_templates: - common: &common - timeout_in_minutes: 120 - retry: - automatic: - - exit_status: -1 - limit: 10 - - exit_status: "*" - limit: 2 - -env: - # Force a clean checkout every time to avoid reuse of files between runs. - BUILDKITE_CLEAN_CHECKOUT: true - -steps: - # GPU workflow. - - <<: *common - if: build.branch == "master" && build.tag == null - label: ":screwdriver: All GPU Drivers Test" - commands: - - tools/gpu/all_drivers_test.sh - agents: - queue: gpu \ No newline at end of file diff --git a/.buildkite/release.yaml b/.buildkite/release.yaml index aeb971912..5e56c64f9 100644 --- a/.buildkite/release.yaml +++ b/.buildkite/release.yaml @@ -10,6 +10,10 @@ _templates: - exit_status: "*" limit: 2 +notify: + - email: "gvisor-eng+buildkite@google.com" + if: build.state == "failed" + env: # Force a clean checkout every time to avoid reuse of files between runs. BUILDKITE_CLEAN_CHECKOUT: true @@ -41,3 +45,15 @@ steps: commands: # The built website image must be x86_64. - make BAZEL_OPTIONS=--config=x86_64 website-deploy + - <<: *common + label: ":female_supervillain: COS GPU Smoke Test" + commands: + - make cos-gpu-tests RUNTIME_ARGS="--strace --debug" + agents: + queue: cos-canary-gpu + - <<: *common + label: ":screwdriver: All GPU Drivers Test" + commands: + - tools/gpu/all_drivers_test.sh + agents: + queue: gpu