This repository has been archived by the owner on Nov 29, 2023. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 2
/
orb.yml.schema.txt
69 lines (66 loc) · 2.26 KB
/
orb.yml.schema.txt
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
61
62
63
64
65
66
67
68
69
top-level:
exec-mode:
required: false
possible_values: [docker, exec, ssh]
default_value: docker
description: Style of command execution
notes:
- Need to think this through a little bit more w/ regards to options we'd want to pass to the shells
image:
required: true
description: The name of the docker image to start for the build context
value_type: string
buildTool:
required: false
description:
branches:
required: false
description: Name of branch that we want to support for builds
notes:
- Values may be in regex expressions to support naming conventions
value_type: list of strings
notify:
required: false
value_type: hashmap for a notifier. Only notifier is called slack.
env:
required: false
description: Shell-style key-value definition
value_type: list of strings
stages:
required: true
description:
value_type: list of stage_list_item
nested:
stage_list_item:
required: false
description:
value_type: hashmap
hashmap_values:
name:
required: true
trigger:
required: false
value_type: hashmap
hashmap_values:
branches:
required: false
script:
required: false
description: Shell command that is appended to a one-liner `/bin/sh/ -c `
value_type: list of strings
slack:
required: false
value_type: hashmap
hashmap_values:
channel:
required: false
description: "Explicit channel or user to address. Fallback to webhook configured default"
value_type: string
identifier:
required: true
description: "Explicit name of the secret name for Slack auth"
value_type: string
on:
required: true
description: Configuration for sending a notification whenever build state changes to one of the listed
value_type: list of strings of build states