1+ image : " buildkite/hosted-agent-base-images:ubuntu-jammy"
2+
13agents :
24 queue : hosted
35
@@ -14,12 +16,11 @@ steps:
1416 steps :
1517 - name : " :golangci-lint: lint"
1618 command : golangci-lint run --verbose --timeout 3m
19+ env :
20+ - GOCACHE=~/gocache
21+ - GOMODCACHE=~/gomodcache
1722 plugins :
18- - docker-compose#v5.10.0:
19- config : .buildkite/docker-compose.yaml
20- run : goreleaser
21- tty : true
22- progress : plain
23+ - mise#v1.1.1: ~
2324
2425 - name : " :go: test"
2526 artifact_paths :
@@ -28,41 +29,28 @@ steps:
2829 - go test -coverprofile cover.out ./...
2930 - go run github.com/nikolaydubina/go-cover-treemap@latest -coverprofile cover.out > cover-tree.svg
3031 - echo '<details><summary>Coverage tree map</summary><img src="artifact://cover-tree.svg" alt="Test coverage tree map" width="70%"></details>' | buildkite-agent annotate --style "info"
32+ env :
33+ - GOCACHE=~/gocache
34+ - GOMODCACHE=~/gomodcache
3135 plugins :
32- - docker-compose#v5.10.0:
33- config : .buildkite/docker-compose.yaml
34- run : goreleaser
35- tty : true
36- mount-buildkite-agent : true
37- progress : plain
36+ - mise#v1.1.1: ~
3837
3938 - label : " :terminal: build ({{matrix}})"
39+ command : " .buildkite/release.sh release --clean --snapshot --split"
4040 depends_on : quality-checks
41+ env :
42+ - GOCACHE=~/gocache
43+ - GOMODCACHE=~/gomodcache
44+ - GOOS={{matrix}}
4145 matrix :
4246 - " darwin"
4347 - " linux"
4448 - " windows"
4549 artifact_paths :
4650 - dist/**/*
4751 plugins :
48- - docker-compose#v5.10.0:
49- command :
50- - .buildkite/release.sh
51- - release
52- - --clean
53- - --snapshot
54- - --split
55- config : .buildkite/docker-compose.yaml
56- entrypoint : /bin/bash
57- env :
58- - GOOS={{matrix}}
59- mount-buildkite-agent : true
60- run : goreleaser
61- shell : false
62- tty : true
63- progress : plain
64-
65- # validate the docker file builds correctly as this is used by docker hub for publishing the mcp into their registry
52+ - mise#v1.1.1: ~
53+
6654 - label : " :docker: build image"
6755 depends_on : quality-checks
6856 command : docker build -t buildkite-mcp-server:latest -f Dockerfile.local .
0 commit comments