Skip to content

Commit

Permalink
debug python on windows
Browse files Browse the repository at this point in the history
  • Loading branch information
Siarhei Harbuz committed Jan 12, 2024
1 parent 39d2c92 commit 79593aa
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 5 deletions.
5 changes: 3 additions & 2 deletions .buildkite/metricbeat/pipeline.yml
Original file line number Diff line number Diff line change
@@ -1,7 +1,8 @@
# yaml-language-server: $schema=https://raw.githubusercontent.com/buildkite/pipeline-schema/main/schema.json
env:
SETUP_GVM_VERSION: 'v0.5.1'
SETUP_MAGE_VERSION: '1.13.0'
SETUP_GVM_VERSION: "v0.5.1"
SETUP_MAGE_VERSION: "1.13.0"
SETUP_PYTHON_VERSION: "3.12.0"
IMAGE_UBUNTU_X86_64: "family/core-ubuntu-2204"
IMAGE_WIN_2016: "family/core-windows-2016"
IMAGE_WIN_2019: "family/core-windows-2019"
Expand Down
5 changes: 2 additions & 3 deletions .buildkite/metricbeat/scripts/win_unit_tests.ps1
Original file line number Diff line number Diff line change
Expand Up @@ -17,14 +17,13 @@ function withGolang($version) {
Write-Host "-- Install golang $version --"
choco install -y golang --version=$version
refreshenv
go --version
go version
}
function withPython($version) {
Write-Host "-- Install Python $version --"
choco install python --version=$version
refreshenv
python --version
python -m site
}
function installGoDependencies {
$installPackages = @(
Expand All @@ -47,7 +46,7 @@ withGolang $env:GO_VERSION

installGoDependencies

withPython 3.12.0
withPython $env:SETUP_PYTHON_VERSION

$ErrorActionPreference = "Continue" # set +e

Expand Down

0 comments on commit 79593aa

Please sign in to comment.