Skip to content

Commit fa71e74

Browse files
committed
Explicitly specify Go distribution for tests
1 parent 627fb73 commit fa71e74

File tree

2 files changed

+3
-1
lines changed

2 files changed

+3
-1
lines changed

.buildkite/pipeline.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -103,6 +103,7 @@ steps:
103103
env:
104104
FIPS: "true"
105105
GOEXPERIMENT: "systemcrypto"
106+
GO_DISTRO: "microsoft"
106107
agents:
107108
provider: "aws"
108109
image: "${IMAGE_UBUNTU_X86_64_FIPS}"
@@ -117,6 +118,7 @@ steps:
117118
env:
118119
FIPS: "true"
119120
GOEXPERIMENT: "systemcrypto"
121+
GO_DISTRO: "stdlib"
120122
agents:
121123
provider: "aws"
122124
image: "${IMAGE_UBUNTU_X86_64_FIPS}"

.buildkite/scripts/unit_test.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ source .buildkite/scripts/common.sh
77

88
add_bin_path
99

10-
if [[ ${FIPS:-false} == "true" ]]; then
10+
if [[ ${FIPS:-false} == "true" && ${GO_DISTRO:-stdlib} == "microsoft" ]]; then
1111
with_msft_go
1212
else
1313
with_go

0 commit comments

Comments
 (0)