Skip to content

Commit 02cac91

Browse files
Add FIPS build to pipeline
1 parent 6550186 commit 02cac91

File tree

2 files changed

+16
-2
lines changed

2 files changed

+16
-2
lines changed

.buildkite/pipeline.yml

+10
Original file line numberDiff line numberDiff line change
@@ -30,6 +30,16 @@ steps:
3030
cpu: "8"
3131
memory: "4G"
3232

33+
- label: ":building_construction: Run local FIPS build"
34+
key: make-local-fips
35+
command: ".buildkite/scripts/local_build.sh"
36+
agents:
37+
image: "${GO_AGENT_IMAGE}"
38+
cpu: "8"
39+
memory: "4G"
40+
env:
41+
FIPS: true
42+
3343
- label: ":building_construction: Run local build: MacOS"
3444
key: make-local-macos
3545
command: ".buildkite/scripts/local_build.sh"

.buildkite/scripts/local_build.sh

+6-2
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,10 @@ set -euo pipefail
55
source .buildkite/scripts/common.sh
66

77
add_bin_path
8-
with_go
8+
if [[ -v FIPS && ${FIPS} == "true" ]]; then
9+
with_msft_go
10+
else
11+
with_go
12+
fi
913

10-
make local
14+
make local

0 commit comments

Comments
 (0)