Update CI machine types to N2 (#634)

Use `n2-standard-2` for lint and doc builds
Use `n2-standard-4` for tests
This commit is contained in:
David Kyle 2023-11-21 11:33:04 +00:00 committed by GitHub
parent b689759278
commit add61a69ec
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -4,6 +4,7 @@ steps:
PYTHON_VERSION: 3 PYTHON_VERSION: 3
agents: agents:
provider: "gcp" provider: "gcp"
machineType: "n2-standard-2"
commands: commands:
- ./.buildkite/lint-code.sh - ./.buildkite/lint-code.sh
- label: ":books: Build documentation" - label: ":books: Build documentation"
@ -11,11 +12,13 @@ steps:
PYTHON_VERSION: 3.9-bookworm PYTHON_VERSION: 3.9-bookworm
agents: agents:
provider: "gcp" provider: "gcp"
machineType: "n2-standard-2"
commands: commands:
- ./.buildkite/build-documentation.sh - ./.buildkite/build-documentation.sh
- label: "Eland :python: {{ matrix.python }} :elasticsearch: {{ matrix.stack }}" - label: "Eland :python: {{ matrix.python }} :elasticsearch: {{ matrix.stack }}"
agents: agents:
provider: "gcp" provider: "gcp"
machineType: "n2-standard-4"
env: env:
PYTHON_VERSION: "{{ matrix.python }}" PYTHON_VERSION: "{{ matrix.python }}"
PANDAS_VERSION: '1.5.0' PANDAS_VERSION: '1.5.0'