Skip to content

Commit

Permalink
Merge pull request #821 from buildkite/update-brew-guide-again
Browse files Browse the repository at this point in the history
Update Homebrew install docs to use our sed token one-liner
  • Loading branch information
ticky committed Sep 10, 2020
2 parents 82a66bb + 2e8e3bd commit 437c7d6
Show file tree
Hide file tree
Showing 3 changed files with 14 additions and 12 deletions.
9 changes: 7 additions & 2 deletions pages/agent/v2/osx.md.erb
Expand Up @@ -14,8 +14,13 @@ The Buildkite Agent can be installed on macOS 10.9 or higher using Homebrew or o
If you have <a href="http://brew.sh/">Homebrew</a> installed you can use our <a href="https://github.com/buildkite/homebrew-buildkite">buildkite formula repository</a> to install the agent:

```shell
brew tap buildkite/buildkite
brew install buildkite-agent
brew install buildkite/buildkite/buildkite-agent
```

Then configure your agent token:

```shell
sed -i '' "s/xxx/INSERT-YOUR-AGENT-TOKEN-HERE/g" "$(brew --prefix)"/etc/buildkite-agent/buildkite-agent.cfg
```

If you don't use Homebrew you should follow the [Linux](/docs/agent/v2/linux) install instructions.
Expand Down
8 changes: 0 additions & 8 deletions pages/agent/v3/install/_osx.md.erb

This file was deleted.

9 changes: 7 additions & 2 deletions pages/agent/v3/osx.md.erb
Expand Up @@ -9,8 +9,13 @@ The Buildkite Agent can be installed on macOS 10.9 or higher using Homebrew or o
If you have <a href="http://brew.sh/">Homebrew</a> installed you can use our <a href="https://github.com/buildkite/homebrew-buildkite">buildkite formula repository</a> to install the agent:

```shell
brew tap buildkite/buildkite
brew install buildkite-agent
brew install buildkite/buildkite/buildkite-agent
```

Then configure your agent token:

```shell
sed -i '' "s/xxx/INSERT-YOUR-AGENT-TOKEN-HERE/g" "$(brew --prefix)"/etc/buildkite-agent/buildkite-agent.cfg
```

If you don't use Homebrew you should follow the [Linux](/docs/agent/v3/linux) install instructions.
Expand Down

0 comments on commit 437c7d6

Please sign in to comment.