6
6
7
7
steps :
8
8
- label : " :shell: Shellcheck"
9
- agents :
10
- queue : " hosted"
11
9
plugins :
12
10
shellcheck#v1.3.0:
13
11
files :
@@ -16,16 +14,12 @@ steps:
16
14
- commands/**
17
15
18
16
- label : " :sparkles: Lint"
19
- agents :
20
- queue : " hosted"
21
17
plugins :
22
18
plugin-linter#v3.3.0:
23
19
id : docker-compose
24
20
readme : docs/examples.md
25
21
26
22
- label : " :bash: Tests"
27
- agents :
28
- queue : " hosted"
29
23
plugins :
30
24
${BUILDKITE_PULL_REQUEST_REPO:-$BUILDKITE_REPO}#${BUILDKITE_COMMIT}:
31
25
run : tests
@@ -37,16 +31,12 @@ steps:
37
31
38
32
- label : run, with links that fail
39
33
command : echo hello from alpine
40
- agents :
41
- queue : " hosted"
42
34
plugins :
43
35
${BUILDKITE_PULL_REQUEST_REPO:-$BUILDKITE_REPO}#${BUILDKITE_COMMIT}:
44
36
run : alpinewithfailinglink
45
37
config : tests/composefiles/docker-compose.v2.1.yml
46
38
47
39
- label : run, with environment
48
- agents :
49
- queue : " hosted"
50
40
plugins :
51
41
${BUILDKITE_PULL_REQUEST_REPO:-$BUILDKITE_REPO}#${BUILDKITE_COMMIT}:
52
42
run : alpinewithenv
55
45
- ALPACAS=sometimes
56
46
57
47
- label : run, with multi-line command
58
- agents :
59
- queue : " hosted"
60
48
command : |
61
49
echo \
62
50
hello \
71
59
env :
72
60
PERSIST_REGISTRY : true
73
61
command : /hello
74
- agents :
75
- queue : " hosted"
76
62
plugins :
77
63
${BUILDKITE_PULL_REQUEST_REPO:-$BUILDKITE_REPO}#${BUILDKITE_COMMIT}:
78
64
build : helloworld
83
69
depends_on : prebuild-2-0
84
70
env :
85
71
RESTORE_REGISTRY_FROM : prebuild-2-0
86
- agents :
87
- queue : " hosted"
88
72
plugins :
89
73
${BUILDKITE_PULL_REQUEST_REPO:-$BUILDKITE_REPO}#${BUILDKITE_COMMIT}:
90
74
run : helloworld
97
81
env :
98
82
PERSIST_REGISTRY : true
99
83
command : /hello
100
- agents :
101
- queue : " hosted"
102
84
plugins :
103
85
${BUILDKITE_PULL_REQUEST_REPO:-$BUILDKITE_REPO}#${BUILDKITE_COMMIT}:
104
86
build : helloworld
@@ -109,8 +91,6 @@ steps:
109
91
depends_on : prebuild-2-1
110
92
env :
111
93
RESTORE_REGISTRY_FROM : prebuild-2-1
112
- agents :
113
- queue : " hosted"
114
94
plugins :
115
95
${BUILDKITE_PULL_REQUEST_REPO:-$BUILDKITE_REPO}#${BUILDKITE_COMMIT}:
116
96
run : helloworld
@@ -122,8 +102,6 @@ steps:
122
102
key : prebuild-custom-image-name
123
103
env :
124
104
PERSIST_REGISTRY : true
125
- agents :
126
- queue : " hosted"
127
105
plugins :
128
106
${BUILDKITE_PULL_REQUEST_REPO:-$BUILDKITE_REPO}#${BUILDKITE_COMMIT}:
129
107
build : helloworld
@@ -135,8 +113,6 @@ steps:
135
113
key : run-custom-image-name
136
114
env :
137
115
RESTORE_REGISTRY_FROM : prebuild-custom-image-name
138
- agents :
139
- queue : " hosted"
140
116
plugins :
141
117
${BUILDKITE_PULL_REQUEST_REPO:-$BUILDKITE_REPO}#${BUILDKITE_COMMIT}:
142
118
run : helloworld
@@ -148,8 +124,6 @@ steps:
148
124
depends_on : run-custom-image-name
149
125
env :
150
126
RESTORE_REGISTRY_FROM : prebuild-custom-image-name
151
- agents :
152
- queue : " hosted"
153
127
plugins :
154
128
${BUILDKITE_PULL_REQUEST_REPO:-$BUILDKITE_REPO}#${BUILDKITE_COMMIT}:
155
129
push : helloworld:${IMAGE_REPO}:llamas-build-${BUILDKITE_BUILD_NUMBER}-push
0 commit comments