File tree Expand file tree Collapse file tree 3 files changed +22
-0
lines changed Expand file tree Collapse file tree 3 files changed +22
-0
lines changed Original file line number Diff line number Diff line change @@ -139,6 +139,9 @@ command:
139
139
make --version :
140
140
exit-status : 0
141
141
142
+ test-splitter --version :
143
+ exit-status : 0
144
+
142
145
wget --version :
143
146
exit-status : 0
144
147
Original file line number Diff line number Diff line change @@ -108,6 +108,10 @@ build {
108
108
script = " scripts/install-buildkite-agent.sh"
109
109
}
110
110
111
+ provisioner "shell" {
112
+ script = " scripts/install-buildkite-test-splitter.sh"
113
+ }
114
+
111
115
provisioner "shell" {
112
116
script = " scripts/install-buildkite-utils.sh"
113
117
}
Original file line number Diff line number Diff line change
1
+ #! /usr/bin/env bash
2
+ set -euo pipefail
3
+
4
+ case $( uname -m) in
5
+ x86_64) ARCH=amd64 ;;
6
+ aarch64) ARCH=arm64 ;;
7
+ * ) ARCH=unknown ;;
8
+ esac
9
+
10
+ TEST_SPLITTER_VERSION=0.7.2
11
+ echo " Downloading test-splitter v${TEST_SPLITTER_VERSION} ..."
12
+ sudo curl -Lsf -o /usr/bin/test-splitter \
13
+ " https://github.com/buildkite/test-splitter/releases/download/v0.7.2/test-splitter-linux-${ARCH} "
14
+ sudo chmod +x /usr/bin/test-splitter
15
+ test-splitter --version
You can’t perform that action at this time.
0 commit comments