Task #89
closedAdd automation to run unit tests for all PRs against pulp/<plugin> automatically
100%
Description
Us the jenkins github pull request builder plugin to build all PRs against the core Pulp project automatically. This includes creating comments on the PRs indicating the success/failure of the test run.
This will require dynamically figuring out which nightly repo should be used to install the base pulp and plugin.
General procedure for running the unit tests
- Determine the base repository to install from
- Install @pulp-server-qpid
- Install the plugin that is being tested from RPM (this will ensure all dependencies are installed)
- Uninstall the plugin that is being tested
- Install the plugin from source
- Run the tests
Related issues
Updated by bmbouter over 9 years ago
Will this include an infrastructure user to post back as? I'm not sure which user will be posting the comment.
Updated by bcourt over 9 years ago
The infrastructure user to post back the results to github will be under task 85.
Updated by bcourt over 9 years ago
Once 85 has been completed the difficulty in this task is that we will need to the proper base version of Pulp to install before running the tests for the given plugin. Whether that is done using a custom build on merges to core Pulp or it's done via some other build mechanism will have to be worked out here.
Updated by bcourt over 9 years ago
This will require reading all the Requires: lines directly from the spec file to install dependencies. If that is added to the base pulp/pulp builder as well we could perhaps avoid the uninstall core pulp portion of that builder.
Updated by bcourt over 9 years ago
- Status changed from NEW to ASSIGNED
- Assignee set to bcourt
Updated by bcourt over 9 years ago
- Status changed from ASSIGNED to CLOSED - CURRENTRELEASE
- Sprint/Milestone set to 15
- % Done changed from 0 to 100
Updated by bmbouter over 9 years ago
- Sprint Candidate set to Yes
- Tags deleted (
Sprint Candidate)