Skip to content

Commit

Permalink
Switch to GCP VM
Browse files Browse the repository at this point in the history
  • Loading branch information
pquentin committed Sep 1, 2023
1 parent cd12998 commit 9f57db5
Showing 1 changed file with 27 additions and 4 deletions.
31 changes: 27 additions & 4 deletions .buildkite/it/serverless-pipeline.yml
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
agents:
image: "docker.elastic.co/ci-agent-images/es-perf/buildkite-agent-python"
provider: "gcp"
image: family/core-ubuntu-2204

steps:
- label: "Run IT Serverless tests"
Expand All @@ -14,6 +15,28 @@ steps:
env_var: "RALLY_IT_SERVERLESS_API_KEY"
command: |
set -eo pipefail
apt-get update && apt-get -y install dnsutils
python3 -m pip install nox
nox -s it_serverless
echo "--- System dependencies"
PYTHON_VERSION="3.11"
sudo add-apt-repository --yes ppa:deadsnakes/ppa
5 sudo apt-get update
5 sudo apt-get install -y \
"python${PYTHON_VERSION}" "python${PYTHON_VERSION}-dev" "python${PYTHON_VERSION}-venv" \
dnsutil
echo "--- Run IT serverless test :pytest:"
export RALLY_HOME=$HOME
export THESPLOG_FILE="${THESPLOG_FILE:-${RALLY_HOME}/.rally/logs/actor-system-internal.log}"
# this value is in bytes, the default is 50kB. We increase it to 200kiB.
export THESPLOG_FILE_MAXSIZE=${THESPLOG_FILE_MAXSIZE:-204800}
# adjust the default log level from WARNING
export THESPLOG_THRESHOLD="INFO"
export TERM=dumb
export LC_ALL=en_US.UTF-8
"python${PYTHON_VERSION}" -m venv .venv
source .venv/bin/activate
pip install nox
nox -s "it_serverless"

0 comments on commit 9f57db5

Please sign in to comment.