More CI improvements (#8313)

* Reduce clutter in log of Python test

* Set up BuildKite test analytics

* Add separate step for building containers

* Enable incremental update of CI stack; custom agent IAM policy
This commit is contained in:
Philip Hyunsu Cho
2022-10-06 06:33:46 -08:00
committed by GitHub
parent bc7a6ec603
commit 50ff8a2623
11 changed files with 230 additions and 32 deletions

View File

@@ -10,6 +10,15 @@ steps:
- wait
- block: ":rocket: Run this test job"
if: build.pull_request.repository.fork == true
#### -------- CONTAINER BUILD --------
- label: ":docker: Build containers"
commands:
- "tests/buildkite/build-containers.sh gpu"
- "tests/buildkite/build-containers.sh rmm"
key: build-containers
agents:
queue: linux-amd64-cpu
- wait
#### -------- BUILD --------
- label: ":console: Run clang-tidy"
command: "tests/buildkite/run-clang-tidy.sh"
@@ -52,9 +61,7 @@ steps:
key: build-jvm-doc
agents:
queue: linux-amd64-cpu
- wait
#### -------- TEST --------
- label: ":console: Test Python package, CPU"
command: "tests/buildkite/test-python-cpu.sh"
@@ -81,9 +88,8 @@ steps:
key: test-integration-jvm-packages
agents:
queue: linux-amd64-cpu
- wait
#### -------- DEPLOY JVM --------
- label: ":console: Deploy JVM packages"
command: "tests/buildkite/deploy-jvm-packages.sh"
key: deploy-jvm-packages