You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@tvm.apache.org by GitBox <gi...@apache.org> on 2022/08/08 16:46:27 UTC

[GitHub] [tvm] driazati commented on issue #12335: [CI Problem] Deduplicate the `retry` function from the Jenkinsfile

driazati commented on issue #12335:
URL: https://github.com/apache/tvm/issues/12335#issuecomment-1208362322

   This would be nice (and we could do something similar to de-duplicate some other inlined code) but I think we'll need to re-implement some of the Jenkins trust mechanism first since it'd be pretty trivial for anyone to then mess with the CI runners (i.e. if a PR is not from a trusted user then we use the versions of files X Y and Z from the base commit and not from the PR HEAD, similar to how the `Jenkinsfile` works) with a test like 
   
   ```
   trusted = false
   if env.BRANCH_NAME.startswith("PR-"):
       if env.CHANGE_AUTHOR in `CONTRIBUTORS.md:
           trusted = true
   else:
       trusted = true
   ```


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: commits-unsubscribe@tvm.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org