Skip to content
This repository has been archived by the owner on Mar 20, 2024. It is now read-only.

Commit

Permalink
fix typo
Browse files Browse the repository at this point in the history
  • Loading branch information
coldnight committed Jun 15, 2017
1 parent 6d78fa1 commit ec97bca
Showing 1 changed file with 8 additions and 6 deletions.
14 changes: 8 additions & 6 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -118,10 +118,13 @@ the name of the repository you are configuring homu for.
c['status'].append(HttpStatusPush(
serverUrl='http://HOST:PORT/buildbot',
extra_post_params={'secret': 'repo.NAME.buildbot.secret in cfg.toml'},
))
```
))
```

- Buildbot 0.9 via GitHub Status

- Buildbot 0.9 via GithubStatusPush
Buildbot 0.9 support [GitHubStatusPush](http://docs.buildbot.net/latest/manual/cfg-reporters.html#githubstatuspush),
so we can use this to integrate with GitHub and Buildbot 0.9.

Buildbot 0.9 support [GithubStatusPush](http://docs.buildbot.net/latest/manual/cfg-reporters.html#githubstatuspush),
so we can use this to integrate with Github and Buildbot 0.9.
Expand All @@ -132,16 +135,15 @@ the name of the repository you are configuring homu for.
from buildbot.plugins import reporters, util
from buildbot.process.properties import Interpolate


context = Interpolate("buildbot/%(prop:buildername)s")
gs = reporters.GitHubStatusPush(token='A Github personal acess token',
gs = reporters.GitHubStatusPush(token='A GitHub personal access token',
context=context,
startDescription='Build started.',
endDescription='Build done.')
c['services'].append(gs)
```

**Note**: Buildbot 0.9 use project to detect the repository at Github. So made your `project` to `<owner>/<repo>`
**Note**: Buildbot 0.9 use project to detect the repository at GitHub. So made your `project` to `<owner>/<repo>`
in [GitPoller](http://docs.buildbot.net/latest/manual/cfg-changesources.html#gitpoller).

Now the config of the repository in Homu's config file should looks like below:
Expand Down

0 comments on commit ec97bca

Please sign in to comment.