From a2c09a751d7e2797fde531f90aea43ac1375c987 Mon Sep 17 00:00:00 2001 From: Grzegorz Banasiak Date: Wed, 21 Feb 2024 15:16:36 +0100 Subject: [PATCH] Increase VM resources and add Rally logs to Buildkite IT (#1832) --- .buildkite/it/pipeline.yml | 1 + .buildkite/it/run.sh | 9 +++++++++ 2 files changed, 10 insertions(+) diff --git a/.buildkite/it/pipeline.yml b/.buildkite/it/pipeline.yml index eb0aae8a9..c3ff66aa8 100644 --- a/.buildkite/it/pipeline.yml +++ b/.buildkite/it/pipeline.yml @@ -1,6 +1,7 @@ agents: provider: "gcp" image: family/core-ubuntu-2204 + machineType: "n1-standard-8" steps: - label: "Run 3.8 integration tests :test_tube:" diff --git a/.buildkite/it/run.sh b/.buildkite/it/run.sh index 6d01e6ef7..8e2e48798 100644 --- a/.buildkite/it/run.sh +++ b/.buildkite/it/run.sh @@ -12,6 +12,11 @@ export DEBIAN_FRONTEND=noninteractive sudo mkdir -p /etc/needrestart echo "\$nrconf{restart} = 'a';" | sudo tee -a /etc/needrestart/needrestart.conf > /dev/null +echo "--- Check resources" + +free +cat /proc/cpuinfo + echo "--- System dependencies" PYTHON_VERSION="$1" @@ -40,3 +45,7 @@ source .venv/bin/activate pip install nox nox -s "it-${PYTHON_VERSION}" + +echo "--- Upload artifacts" + +buildkite-agent artifact upload "${RALLY_HOME}/.rally/logs/*.log"