-
Notifications
You must be signed in to change notification settings - Fork 19
/
Copy pathpipeline.yaml
60 lines (60 loc) · 1.85 KB
/
pipeline.yaml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
steps:
- name: shellcheck hooks
agents:
queue: monorepo-ci
os: linux
command:
- echo "Running shellcheck"
- shellcheck hooks/*
plugins:
- EmbarkStudios/k8s#1.2.6:
image: koalaman/shellcheck-alpine
default-secret-name: buildkite-k8s-plugin
use-agent-node-affinity: true
- name: shellcheck self-test
agents:
queue: monorepo-ci
os: linux
command:
- echo "Running shellcheck"
- shellcheck hooks/*
plugins:
- EmbarkStudios/k8s#${BUILDKITE_COMMIT}:
image: koalaman/shellcheck-alpine
default-secret-name: buildkite-k8s-plugin
use-agent-node-affinity: true
- wait
- name: Build and publish k8s-buildkite-agent container image
branches: 'master'
agents:
queue: monorepo-ci
os: linux
plugins:
- EmbarkStudios/k8s#1.2.6:
image: gcr.io/kaniko-project/executor:latest
mount-buildkite-agent: false
default-secret-name: buildkite-k8s-plugin
use-agent-node-affinity: true
command:
- --destination=embarkstudios/k8s-buildkite-agent
- --context=.
- --reproducible
mount-secret:
- docker-hub-credentials:/kaniko/.docker
- name: Build and publish k8s-buildkite-agent CI-debug container image
branches: '!master'
agents:
queue: monorepo-ci
os: linux
plugins:
- EmbarkStudios/k8s#1.2.6:
image: gcr.io/kaniko-project/executor:latest
mount-buildkite-agent: false
default-secret-name: buildkite-k8s-plugin
use-agent-node-affinity: true
command:
- --destination=embarkstudios/k8s-buildkite-agent:ci-debug
- --context=.
- --reproducible
mount-secret:
- docker-hub-credentials:/kaniko/.docker