Skip to content

Commit cb0e8c9

Browse files
authored
Merge pull request #2648 from buildkite/add-allowed-repositories-description-to-docs
Add 'allowed repositories' description to docs
2 parents c1667e0 + 02079a6 commit cb0e8c9

File tree

1 file changed

+13
-7
lines changed

1 file changed

+13
-7
lines changed

data/content/agent_attributes.yaml

Lines changed: 13 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -4,19 +4,25 @@ attributes:
44
default_value: None
55
required: true
66
desc: |
7-
The agent registration token from your organization’s _Agents_ page, used only to register new agents. To get your token, log in to Buildkite, navigate to _Agents_, then select _Reveal Agent Token_.
8-
- name: bootstrap-script
9-
env_var: BUILDKITE_BOOTSTRAP_SCRIPT_PATH
10-
default_value: "buildkite-agent bootstrap"
11-
required: false
12-
desc: |
13-
Command to invoke the bootstrap process.
7+
The agent registration token from your organization's _Agents_ page, used only to register new agents. To get your token, log in to Buildkite, navigate to _Agents_, then select _Reveal Agent Token_.
148
- name: build-path
159
env_var: BUILDKITE_BUILD_PATH
1610
default_value: "(depends on platform)"
1711
required: true
1812
desc: |
1913
Path to where the builds will run from.
14+
- name: allowed-repositories
15+
env_var: BUILDKITE_ALLOWED_REPOSITORIES
16+
default_value: ""
17+
required: false
18+
desc: |
19+
A comma-separated list of regular expressions representing repositories the agent is allowed to clone (for example, `^git@github.com:buildkite/.\*` or `^https://github.com/buildkite/.*`)
20+
- name: bootstrap-script
21+
env_var: BUILDKITE_BOOTSTRAP_SCRIPT_PATH
22+
default_value: "buildkite-agent bootstrap"
23+
required: false
24+
desc: |
25+
Command to invoke the bootstrap process.
2026
- name: cancel-grace-period
2127
env_var: BUILDKITE_CANCEL_GRACE_PERIOD
2228
default_value: "10"

0 commit comments

Comments
 (0)