YunoHost / yunorunner

Job manager/scheduler for YunoHost apps CI tests
14 stars 6 forks source link

Trigger job via GitHub comments #12

Closed alexAubin closed 3 years ago

alexAubin commented 3 years ago

Tested here https://github.com/YunoHost-Apps/helloworld_ynh/pull/1 and http://ci-apps-dev-v2beta1.nohost.me/

Basically you say !testme in a PR comment and that'll trigger a test on the CI. This will only be accepted if you're flagged as member/owner of the repo/organization in Github. The big plus is that this should require very loose maintenance / configuration in every day life :

Still planning to build on this such that the CI uses the yunobot account to answer with a comment with a cool jenkins-like badge displaying the job status + link to the created job

Also probably more polishing to better handle exceptions :s

alexAubin commented 3 years ago

Yolomerging because i'm deploying this on a production dev CI ... but we can keep iterating if there are comments