You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@nuttx.apache.org by GitBox <gi...@apache.org> on 2020/04/23 09:46:06 UTC

[GitHub] [incubator-nuttx] xiaoxiang781216 commented on issue #850: CI: Add logic for determining which branches of repos should be used

xiaoxiang781216 commented on issue #850:
URL: https://github.com/apache/incubator-nuttx/pull/850#issuecomment-618300245


   > The primary goal of this change is to control how we match the repos that should be used in the CI run. There is now an additional build job that creates a source bundle that will be used for the remainder of the build job. It will also try to cache this to improve performance and fall back on an artifact if needed. This is **NOT** the release tarball this is purely used to translate state between the jobs.
   > 
   > The basic logic is this:
   > 
   > 1. Is the PR against a release branch? Yes, use the release branch from the corresponding app or os repo.
   > 2. Is build triggered by a tag? Yes, use the same tag on the corresponding app or os repo
   
   I am curious when we will use this case?
   
   > 3. Always use master for the testing repo
   > 4. Default to using master of the corresponding app or os repo if no other cases are found.
   > 
   > Later I would like to expand this to be able to target a PR branch in the app/os branch that it is connected with, but that will have to come later.
   > 
   > This also now runs builds on pushes of tags and release branches.
   
   


----------------------------------------------------------------
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.

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