Skip to content

Commit 3367cf2

Browse files
authored
Merge pull request #435 from buildkite-plugins/hosted-queue
target hosted queue
2 parents 88c78b1 + 1fd3e60 commit 3367cf2

1 file changed

Lines changed: 26 additions & 0 deletions

File tree

.buildkite/pipeline.yml

Lines changed: 26 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,8 @@ env:
66

77
steps:
88
- label: ":shell: Shellcheck"
9+
agents:
10+
queue: "hosted"
911
plugins:
1012
shellcheck#v1.3.0:
1113
files:
@@ -14,12 +16,16 @@ steps:
1416
- commands/**
1517

1618
- label: ":sparkles: Lint"
19+
agents:
20+
queue: "hosted"
1721
plugins:
1822
plugin-linter#v3.3.0:
1923
id: docker-compose
2024
readme: docs/examples.md
2125

2226
- label: ":bash: Tests"
27+
agents:
28+
queue: "hosted"
2329
plugins:
2430
${BUILDKITE_PULL_REQUEST_REPO:-$BUILDKITE_REPO}#${BUILDKITE_COMMIT}:
2531
run: tests
@@ -31,12 +37,16 @@ steps:
3137

3238
- label: run, with links that fail
3339
command: echo hello from alpine
40+
agents:
41+
queue: "hosted"
3442
plugins:
3543
${BUILDKITE_PULL_REQUEST_REPO:-$BUILDKITE_REPO}#${BUILDKITE_COMMIT}:
3644
run: alpinewithfailinglink
3745
config: tests/composefiles/docker-compose.v2.1.yml
3846

3947
- label: run, with environment
48+
agents:
49+
queue: "hosted"
4050
plugins:
4151
${BUILDKITE_PULL_REQUEST_REPO:-$BUILDKITE_REPO}#${BUILDKITE_COMMIT}:
4252
run: alpinewithenv
@@ -45,6 +55,8 @@ steps:
4555
- ALPACAS=sometimes
4656

4757
- label: run, with multi-line command
58+
agents:
59+
queue: "hosted"
4860
command: |
4961
echo \
5062
hello \
@@ -59,6 +71,8 @@ steps:
5971
env:
6072
PERSIST_REGISTRY: true
6173
command: /hello
74+
agents:
75+
queue: "hosted"
6276
plugins:
6377
${BUILDKITE_PULL_REQUEST_REPO:-$BUILDKITE_REPO}#${BUILDKITE_COMMIT}:
6478
build: helloworld
@@ -69,6 +83,8 @@ steps:
6983
depends_on: prebuild-2-0
7084
env:
7185
RESTORE_REGISTRY_FROM: prebuild-2-0
86+
agents:
87+
queue: "hosted"
7288
plugins:
7389
${BUILDKITE_PULL_REQUEST_REPO:-$BUILDKITE_REPO}#${BUILDKITE_COMMIT}:
7490
run: helloworld
@@ -81,6 +97,8 @@ steps:
8197
env:
8298
PERSIST_REGISTRY: true
8399
command: /hello
100+
agents:
101+
queue: "hosted"
84102
plugins:
85103
${BUILDKITE_PULL_REQUEST_REPO:-$BUILDKITE_REPO}#${BUILDKITE_COMMIT}:
86104
build: helloworld
@@ -91,6 +109,8 @@ steps:
91109
depends_on: prebuild-2-1
92110
env:
93111
RESTORE_REGISTRY_FROM: prebuild-2-1
112+
agents:
113+
queue: "hosted"
94114
plugins:
95115
${BUILDKITE_PULL_REQUEST_REPO:-$BUILDKITE_REPO}#${BUILDKITE_COMMIT}:
96116
run: helloworld
@@ -102,6 +122,8 @@ steps:
102122
key: prebuild-custom-image-name
103123
env:
104124
PERSIST_REGISTRY: true
125+
agents:
126+
queue: "hosted"
105127
plugins:
106128
${BUILDKITE_PULL_REQUEST_REPO:-$BUILDKITE_REPO}#${BUILDKITE_COMMIT}:
107129
build: helloworld
@@ -113,6 +135,8 @@ steps:
113135
key: run-custom-image-name
114136
env:
115137
RESTORE_REGISTRY_FROM: prebuild-custom-image-name
138+
agents:
139+
queue: "hosted"
116140
plugins:
117141
${BUILDKITE_PULL_REQUEST_REPO:-$BUILDKITE_REPO}#${BUILDKITE_COMMIT}:
118142
run: helloworld
@@ -124,6 +148,8 @@ steps:
124148
depends_on: run-custom-image-name
125149
env:
126150
RESTORE_REGISTRY_FROM: prebuild-custom-image-name
151+
agents:
152+
queue: "hosted"
127153
plugins:
128154
${BUILDKITE_PULL_REQUEST_REPO:-$BUILDKITE_REPO}#${BUILDKITE_COMMIT}:
129155
push: helloworld:${IMAGE_REPO}:llamas-build-${BUILDKITE_BUILD_NUMBER}-push

0 commit comments

Comments
 (0)