Skip to content

Commit

Permalink
Increase VM resources and add Rally logs to Buildkite IT (#1832)
Browse files Browse the repository at this point in the history
  • Loading branch information
gbanasiak committed Feb 21, 2024
1 parent 43e56f6 commit a2c09a7
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 0 deletions.
1 change: 1 addition & 0 deletions .buildkite/it/pipeline.yml
Original file line number Diff line number Diff line change
@@ -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:"
Expand Down
9 changes: 9 additions & 0 deletions .buildkite/it/run.sh
Original file line number Diff line number Diff line change
Expand Up @@ -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"
Expand Down Expand Up @@ -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"

0 comments on commit a2c09a7

Please sign in to comment.