-
Notifications
You must be signed in to change notification settings - Fork 15
Setting up a GitHub repository to be tested
This details the steps you have to take to get a GitHub repository setup to be tested by CIVET.
You will first need to create recipes that will be activated for your
repository that you are interested in testing.
In each of the recipes you will need to set build_user to your username and repository
to the full git path of the repository. For example [email protected]:username/new_repo.
CIVET tries to automatically install the correct webhook on your repository to notify CIVET when an event occurs.
If we don't have access to do that on your repository then you will need to install a webhook
manually on your repository. Go to your repository on GitHub and then to Settings->Webhooks->Add webhook.
-
Payload URL:
ABSOLUTE_BASE_URL/github/webhook/YOUR_BUILD_KEY/Where
ABSOLUTE_BASE_URLis defined incivet/settings.pyandYOUR_BUILD_KEYcan be found on CIVET after signing in and going to the menu<username> -> CIVET recipes -
Content type: application/json
-
Secret: blank
-
Keep SSL verification disabled.
-
Events:
Let me select individual events-> Pull request, Push
Once that is enabled CIVET will receive pull request and push events and setup the appropriate jobs to be run by your client. Then you should be able to run your own client, see Running your own client.