From dd2a5bd37261b248d929b3594f6214c966fe87d8 Mon Sep 17 00:00:00 2001 From: Grzegorz Banasiak Date: Tue, 20 Feb 2024 17:43:02 +0100 Subject: [PATCH 1/2] Add Rally logs to IT Buildkite artifacts --- .buildkite/it/run.sh | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/.buildkite/it/run.sh b/.buildkite/it/run.sh index 6d01e6ef7..d9fa3544d 100644 --- a/.buildkite/it/run.sh +++ b/.buildkite/it/run.sh @@ -40,3 +40,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" From 4850f58c703ae03b04ca64185dc6282b7e4db5de Mon Sep 17 00:00:00 2001 From: Grzegorz Banasiak Date: Wed, 21 Feb 2024 11:59:28 +0100 Subject: [PATCH 2/2] Increase VM resources --- .buildkite/it/pipeline.yml | 1 + .buildkite/it/run.sh | 5 +++++ 2 files changed, 6 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 d9fa3544d..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"