-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathbuildkite-agent.example.cfg
79 lines (56 loc) · 2.39 KB
/
buildkite-agent.example.cfg
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
70
71
72
73
74
75
76
77
78
79
# The token from your Buildkite "Agents" page
token="xxx"
# The name of the agent
name="%hostname-%spawn"
# The number of agents to spawn in parallel (default is "1")
spawn=1
# The priority of the agent (higher priorities are assigned work first)
priority=1
# Tags for the agent (default is "queue=default")
tags="os=archlinux,type=docker,for=halogenos"
# Include the host's EC2 meta-data as tags (instance-id, instance-type, and ami-id)
# tags-from-ec2=true
# Include the host's EC2 tags as tags
# tags-from-ec2-tags=true
# Include the host's Google Cloud instance meta-data as tags (instance-id, machine-type, preemptible, project-id, region, and zone)
# tags-from-gcp=true
# Include the host's Google Cloud instance labels as tags
# tags-from-gcp-labels=true
# Path to a custom bootstrap command to run. By default this is `buildkite-agent bootstrap`.
# This allows you to override the entire execution of a job. Generally you should use hooks instead!
# See https://buildkite.com/docs/agent/hooks
# bootstrap-script=""
# Path to where the builds will run from
build-path="/bk"
# Directory where the hook scripts are found
hooks-path="/etc/buildkite-agent/hooks"
# When plugins are installed they will be saved to this path
plugins-path="/etc/buildkite-agent/plugins"
# Flags to pass to the `git clone` command
# git-clone-flags=-v
# Flags to pass to the `git clean` command
# git-clean-flags=-ffxdq
# Do not run jobs within a pseudo terminal
# no-pty=true
# Don't automatically verify SSH fingerprints
# no-automatic-ssh-fingerprint-verification=true
# Don't allow this agent to run arbitrary console commands
no-command-eval=true
# Don't allow this agent to run plugins
# no-plugins=true
# Enable debug mode
# debug=true
# Don't show colors in logging
# no-color=true
# The next two options are relevant to the Datadog integration, available 3.7.0 and on
# See https://forum.buildkite.community/t/about-our-datadog-integration/216 for details
# Send metrics to DogStatsD running on metrics-datadog-host
# metrics-datadog=true
# Host to collect Buildkite metrics
# datadog-agent will need to run DogStatsD, presumed on port 8125.
# Specify port below like my-host:8126 if not using 8125
# metrics-datadog-host=127.0.0.1
# If set and valid, the given tracing backend will be enabled. Eg: datadog
# tracing-backend=""
#
redacted-vars='*_PASSWORD','*_SECRET','*_TOKEN','*_ACCESS_KEY','*_SECRET_KEY','*_BOT_URL','*_API_KEY'