PilzDE / pilz_github_ci_runner

ros package to run a CI for github pull requests with checks for certain requirements
1 stars 0 forks source link

Github Hardware Tests

This package provides a python script periodically for periodically checking a github repo and running tests for PullRequests using industrial_ci.

To avoid running arbitrary PRs on the machine only PullRequests containing the string "- [ ] Perform hardware tests" and with commits from allowed users are checked. The start and finish of the test are reported with a comment on the issue.

Prequisites

In order to run the script you need:

Security considerations

The tests are only run if the pull request

or

Note:

Background

This package originates from the desire the to have test running with actual hardware that are triggered by Github PullRequests. While Github offers so called "Self-hosted runners" these are critical when working with public repos (see here, here and here). Until a better solution is available we stick with this approach ensuring some security by allowing only code from or approved by dedicated users to be run the local machine in order to mitigate some of the security concerns.