This is a stackstorm pack for reviewboard tools. This pack consists of a sample reviewboard sensor and update_review actions.
Then install this pack with: st2 pack install reviewboard
Copy the example configuration in reviewboard.yaml.example
to /opt/stackstorm/configs/reviewboard.yaml
and edit as required.
url
- URL of the Reviewboard instance (e.g.https://codereviews.example.tld
)poll_interval
- Polling interval - default 30sverify
- Verify SSL certificates. Default True. Set to False to disable verificationauth_method
- Specify eitherbasic
ortoken
authentication
Include the following settings when using the token
auth_method:
api_token
- API token
Include the following settings when using the basic
auth_method:
username
- Usernamepassword
- Password
You can also use dynamic values from the datastore. See the docs for more info.
Note : When modifying the configuration in /opt/stackstorm/configs/
please
remember to tell StackStorm to load these new values by running
st2ctl reload --register-configs
The sensor monitors for new reviews and sends a trigger into the system whenever there is a new codereview.
update_review
- Action which updates the fields in a review and optionally publishes the review.update_review_status
- Action which updates the status to close - submitted, close - discarded states or reopen the review..