-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathconfig.yaml
37 lines (37 loc) · 1 KB
/
config.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
---
bundle:
name: buildkite
type: foreign
install: bin/install.sh
uninstall: bin/uninstall.sh
templates:
- name: status
adapter: slack
path: templates/status.mustache
- name: list
adapter: slack
path: templates/list.mustache
permissions:
- buildkite:view
- buildkite:build
rules:
- when command is buildkite:builds with arg[0] == 'start' must have buildkite:build
- when command is buildkite:builds with arg[0] == 'restart' must have buildkite:build
- when command is buildkite:builds with arg[0] == 'list' must have buildkite:view
- when command is buildkite:builds with arg[0] == 'status' must have buildkite:view
- when command is buildkite:builds with arg[0] == 'logs' must have buildkite:view
commands:
- name: builds
version: '0.1'
executable: commands/builds.py
enforcing: true
env_vars:
PYTHONPATH: "$INSTALL_PATH/lib"
documentation: buildkite:builds [list|status] ...
options:
- type: string
required: true
name: project
- type: string
required: false
name: branch