File tree 3 files changed +39
-1
lines changed
3 files changed +39
-1
lines changed Original file line number Diff line number Diff line change @@ -98,6 +98,19 @@ steps:
98
98
- build/*.xml
99
99
- build/coverage*.out
100
100
101
+ - label : " :smartbear-testexecute: Run FIPS Provider tests"
102
+ key : provider-test-fips
103
+ command : " .buildkite/scripts/fips_provider_test.sh"
104
+ agents :
105
+ provider : " aws"
106
+ imagePrefix : " elasticcloud-fips-ubuntu-2204-amd64-dev-jammyf-"
107
+ diskSizeGb : 100
108
+ instanceType : m5.large
109
+ artifact_paths :
110
+ - build/*.xml
111
+ - build/coverage*.out
112
+
113
+
101
114
- label : " :smartbear-testexecute: Run unit tests: MacOS 13"
102
115
key : unit-test-macos-13
103
116
command : " .buildkite/scripts/unit_test.sh"
Original file line number Diff line number Diff line change @@ -51,6 +51,18 @@ with_go() {
51
51
export PATH=" ${PATH} :$( go env GOPATH) :$( go env GOPATH) /bin"
52
52
}
53
53
54
+ with_msft_go () {
55
+ echo " Setting up microsoft/go"
56
+ create_workspace
57
+ check_platform_architeture
58
+ MSFT_DOWNLOAD_URL=https://aka.ms/golang/release/latest/go$( cat .go-version) -1.${platform_type} -${arch_type} .tar.gz
59
+ retry 5 $( curl -sL -o - $MSFT_DOWNLOAD_URL | tar -xz -f - -C ${WORKSPACE} )
60
+ export PATH=" ${PATH} :${WORKSPACE} /go/bin"
61
+ go version
62
+ which go
63
+ export PATH=" ${PATH} :$( go env GOPATH) :$( go env GOPATH) /bin"
64
+ }
65
+
54
66
with_docker_compose () {
55
67
echo " Setting up the Docker-compose environment..."
56
68
create_workspace
@@ -160,4 +172,4 @@ cleanup() {
160
172
echo " Deleting temporary files..."
161
173
rm -rf ${WORKSPACE} /${TMP_FOLDER_TEMPLATE_BASE} .*
162
174
echo " Done."
163
- }
175
+ }
Original file line number Diff line number Diff line change
1
+ #! /bin/bash
2
+
3
+ set -euo pipefail
4
+
5
+ source .buildkite/scripts/common.sh
6
+
7
+ add_bin_path
8
+
9
+ with_msft_go
10
+
11
+ echo " Starting the provider tests..."
12
+ FIPS=true make test-unit junit-report
13
+
You can’t perform that action at this time.
0 commit comments