gvisor.dev/gvisor@v0.0.0-20240520182842-f9d4d51c7e0f/.buildkite/release.yaml (about)

     1  agents:
     2    queue: release
     3  _templates:
     4    common: &common
     5      timeout_in_minutes: 180
     6      retry:
     7        automatic:
     8          - exit_status: -1
     9            limit: 10
    10          - exit_status: "*"
    11            limit: 2
    12  
    13  notify:
    14    - email: "gvisor-eng+buildkite@google.com"
    15      if: build.state == "failed"
    16  
    17  env:
    18    # Force a clean checkout every time to avoid reuse of files between runs.
    19    BUILDKITE_CLEAN_CHECKOUT: true
    20  
    21  steps:
    22    - <<: *common
    23      label: ":ship: Push all images (x86_64)"
    24      if: build.branch == "master" && build.tag == null
    25      commands:
    26        - make ARCH=x86_64 push-all-images
    27      agents:
    28        arch: "amd64"
    29    - <<: *common
    30      label: ":ship: Push all images (aarch64)"
    31      if: build.branch == "master" && build.tag == null
    32      commands:
    33        - make ARCH=aarch64 push-all-images
    34      agents:
    35        arch: "arm64"
    36    - <<: *common
    37      label: ":ship: Release"
    38      if: build.branch == "master" || build.tag != null
    39      commands:
    40        - make BAZEL_OPTIONS=--config=x86_64 artifacts/x86_64
    41        - make BAZEL_OPTIONS=--config=aarch64 artifacts/aarch64
    42        - make release RELEASE_NIGHTLY=$$RELEASE_NIGHTLY
    43        - cd repo && gsutil cp -r . gs://gvisor/releases/
    44    - <<: *common
    45      label: ":ship: Website Deploy"
    46      if: build.branch == "master" && build.tag == null
    47      commands:
    48        # The built website image must be x86_64.
    49        - make BAZEL_OPTIONS=--config=x86_64 website-deploy
    50    - <<: *common
    51      label: ":female_supervillain: COS GPU Tests"
    52      commands:
    53        - make cos-gpu-all-tests RUNTIME_ARGS="--strace --debug"
    54      agents:
    55        queue: cos-canary-gpu
    56    - <<: *common
    57      label: ":screwdriver: GPU Tests"
    58      commands:
    59        - make sudo TARGETS=//tools/gpu:main ARGS="install --latest" || cat /var/log/nvidia-installer.log
    60        - make gpu-all-tests RUNTIME_ARGS="--strace --debug"
    61      agents:
    62        queue: gpu
    63    - <<: *common
    64      label: ":screwdriver: All GPU Drivers Test"
    65      commands:
    66        - tools/gpu/all_drivers_test.sh
    67      agents:
    68        queue: gpu