File tree Expand file tree Collapse file tree 3 files changed +19
-0
lines changed Expand file tree Collapse file tree 3 files changed +19
-0
lines changed Original file line number Diff line number Diff line change 12
12
IMAGE_WIN_10 : " platform-ingest-elastic-agent-windows-10-1757120457"
13
13
IMAGE_WIN_11 : " platform-ingest-elastic-agent-windows-11-1757120457"
14
14
15
+ common :
16
+ - aws_oidc : &aws_oidc
17
+ # See https://github.com/elastic/oblt-infra/blob/main/conf/resources/repos/elastic-agent/01-aws-buildkite-oidc.tf
18
+ elastic/oblt-aws-auth#v0.2.0:
19
+
15
20
steps :
16
21
- label : " check-ci"
17
22
key : " check-ci"
37
42
agents :
38
43
provider : " gcp"
39
44
image : " ${IMAGE_UBUNTU_2204_X86_64}"
45
+ plugins :
46
+ - *aws_oidc
40
47
retry :
41
48
automatic :
42
49
limit : 1
Original file line number Diff line number Diff line change 2
2
source .buildkite/scripts/common.sh
3
3
set +euo pipefail
4
4
5
+ echo " --- Install dependencies"
6
+ # See https://github.com/tailscale/go-cache-plugin
7
+ make install-go-cache-plugin
8
+ export GOCACHEPROG=" go-cache-plugin --cache-dir=/tmp/gocache --bucket=elastic-agent-ci-go-cache"
9
+ export GOEXPERIMENT=cacheprog
10
+
5
11
echo " --- Unit tests"
6
12
RACE_DETECTOR=true TEST_COVERAGE=true mage unitTest
7
13
TESTS_EXIT_STATUS=$?
Original file line number Diff line number Diff line change 11
11
@go install github.com/magefile/mage
12
12
@-mage -clean
13
13
14
+ # # install-go-cache-plugin : Install go-cache-plugin
15
+ .PHONY : install-go-cache-plugin
16
+ install-go-cache-plugin :
17
+ @echo Installing go-cache-plugin
18
+ go install github.com/tailscale/go-cache-plugin/cmd/go-cache-plugin@latest
19
+ @-go-cache-plugin help
14
20
15
21
# # install-gotestsum : Install gotestsum
16
22
.PHONY : install-gotestsum
You can’t perform that action at this time.
0 commit comments