Skip to content

Commit 93444e4

Browse files
committed
.buildkite: initial pipeline.yml
Signed-off-by: Samuel Karp <[email protected]>
1 parent 96af430 commit 93444e4

File tree

1 file changed

+36
-0
lines changed

1 file changed

+36
-0
lines changed

.buildkite/pipeline.yml

Lines changed: 36 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,36 @@
1+
# Copyright 2019 Amazon.com, Inc. or its affiliates. All Rights Reserved.
2+
#
3+
# Licensed under the Apache License, Version 2.0 (the "License"). You may
4+
# not use this file except in compliance with the License. A copy of the
5+
# License is located at
6+
#
7+
# http://aws.amazon.com/apache2.0/
8+
#
9+
# or in the "license" file accompanying this file. This file is distributed
10+
# on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either
11+
# express or implied. See the License for the specific language governing
12+
# permissions and limitations under the License.
13+
14+
steps:
15+
- label: ':go: go mod download'
16+
command: 'go mod download'
17+
agents:
18+
queue: "${BUILDKITE_AGENT_META_DATA_QUEUE:-default}"
19+
20+
# We use a "wait" step here, because Go's module logic freaks out when
21+
# multiple go builds are downloading to the same cache.
22+
- wait
23+
24+
- label: 'build'
25+
command: 'make'
26+
agents:
27+
queue: "${BUILDKITE_AGENT_META_DATA_QUEUE:-default}"
28+
29+
- label: ':hammer: tests'
30+
commands:
31+
- 'ln -s /var/lib/fc-ci/vmlinux.bin testdata/vmlinux'
32+
- 'ln -s /usr/local/bin/firecracker testdata/firecracker'
33+
- 'ln -s /usr/local/bin/jailer testdata/jailer'
34+
- "make test EXTRAGOARGS='-v -count=1'"
35+
agents:
36+
queue: "${BUILDKITE_AGENT_META_DATA_QUEUE:-default}"

0 commit comments

Comments
 (0)