Skip to content

Commit

Permalink
Added GOTMPDIR
Browse files Browse the repository at this point in the history
  • Loading branch information
pazone committed Oct 17, 2023
1 parent 77779b2 commit cb2487c
Show file tree
Hide file tree
Showing 2 changed files with 43 additions and 41 deletions.
82 changes: 41 additions & 41 deletions .buildkite/pipeline.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,33 +4,33 @@ env:
VAULT_PATH: "kv/ci-shared/observability-ingest/cloud/gcp"
DOCKER_REGISTRY: "docker.elastic.co"
steps:
- label: "Unit tests - Ubuntu 22.04"
key: "unit-tests-2204"
command: ".buildkite/scripts/steps/unit-tests.sh"
artifact_paths:
- "build/TEST-**"
- "build/diagnostics/*"
agents:
provider: "gcp"
image: "family/core-ubuntu-2204"
retry:
manual:
allowed: true
# - label: "Unit tests - Ubuntu 22.04"
# key: "unit-tests-2204"
# command: ".buildkite/scripts/steps/unit-tests.sh"
# artifact_paths:
# - "build/TEST-**"
# - "build/diagnostics/*"
# agents:
# provider: "gcp"
# image: "family/core-ubuntu-2204"
# retry:
# manual:
# allowed: true

- label: "Unit tests - Ubuntu 22.04 ARM64"
key: "unit-tests-2204-arm64"
command: ".buildkite/scripts/steps/unit-tests.sh"
artifact_paths:
- "build/TEST-**"
- "build/diagnostics/*"
agents:
provider: "aws"
imagePrefix: "core-ubuntu-2204-aarch64"
diskSizeGb: 200
instanceType: "m6g.4xlarge"
retry:
manual:
allowed: true
# - label: "Unit tests - Ubuntu 22.04 ARM64"
# key: "unit-tests-2204-arm64"
# command: ".buildkite/scripts/steps/unit-tests.sh"
# artifact_paths:
# - "build/TEST-**"
# - "build/diagnostics/*"
# agents:
# provider: "aws"
# imagePrefix: "core-ubuntu-2204-aarch64"
# diskSizeGb: 200
# instanceType: "m6g.4xlarge"
# retry:
# manual:
# allowed: true

- label: "Unit tests - Windows 2022"
key: "unit-tests-win2022"
Expand All @@ -48,21 +48,21 @@ steps:
manual:
allowed: true

- label: "Unit tests - Windows 2016"
key: "unit-tests-win2016"
command: ".\\.buildkite\\scripts\\steps\\unit-tests.ps1"
artifact_paths:
- "build/TEST-**"
- "build/diagnostics/*"
agents:
provider: "gcp"
image: "family/core-windows-2016"
machine_type: "n2-standard-8"
disk_size: 200
disk_type: "pd-ssd"
retry:
manual:
allowed: true
# - label: "Unit tests - Windows 2016"
# key: "unit-tests-win2016"
# command: ".\\.buildkite\\scripts\\steps\\unit-tests.ps1"
# artifact_paths:
# - "build/TEST-**"
# - "build/diagnostics/*"
# agents:
# provider: "gcp"
# image: "family/core-windows-2016"
# machine_type: "n2-standard-8"
# disk_size: 200
# disk_type: "pd-ssd"
# retry:
# manual:
# allowed: true

- label: ":sonarqube: Continuous Code Inspection"
env:
Expand Down
2 changes: 2 additions & 0 deletions .buildkite/scripts/steps/unit-tests.ps1
Original file line number Diff line number Diff line change
@@ -1,5 +1,7 @@
$ErrorActionPreference = "Stop"

$env:GOTMPDIR = "$env:BUILDKITE_BUILD_CHECKOUT_PATH\temp"

Write-Host "--- Build"
mage build

Expand Down

0 comments on commit cb2487c

Please sign in to comment.