New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
CI auto trigger still not working properly #142
Comments
- used to build the full version of the studio (integration) based on git submodules - contributes to eclipse/gemoc-studio#142
"on internet" ? is it a similar context to us? It's really important to document. |
If I remember well this was https://stackoverflow.com/questions/38821362/jenkins-pipeline-code-auto-trigger-with-multiple-repositories-through-github-org This is due to several points we use together:
The solution I propose (and I'm currently experimenting) works as follow:
If this works, this can be duplicated on both eclipse and gemoc organizations (ie. official commiter infrastructure + external contributor infrasructure for our phd student and other partners) |
I recently worked on a better automatisation of GEMOC multibranch pipeline (cf. #142).
So the new jobs try to have the same behavior as before while fixing these issues, without additional task for developpers. Basically, it improves the "scan multibranch pipeline" action by adding a preliminary phase that automates branch collection into git modules in a dedicated repository. Internally how it works:
So, once pushed on github, your branches are supposed to be available automatically (after the polling delays) |
It is now placed in a repository dedicated to integration. Cleanup related to #142 Signed-off-by: Didier Vojtisek <didier.vojtisek@inria.fr>
It is now placed in a repository dedicated to integration. Cleanup related to #142 Signed-off-by: Didier Vojtisek <didier.vojtisek@inria.fr>
Our use of multibranch pipeline is quite convenient for testing branches before accepting PR
however, the auto trigger of the job still doesn't work properly. and we still have to start the build manually
When commiting on a branch of one of the sub repositories, this does not trigger the build.
apparently on internet they suggest to use one multibranch pipeline job per repo (each with its own jenkins file), this would work but this is not acceptable for us as the build is too big and would take too much space on disk.
One alternative to consider is:
The question that remains is how to automate the creation/update/delete of the branches/modules in this main repo according to our workflow (all repo on the same branch name or on master branch as a fallback). (ie. for every sub repo make sure to move the module to the last commit (head) on every branch, also if a sub module as a branch create a branch with the same name, if no more branch exist with a given name, remove the corresponding branch on the main repo)
The text was updated successfully, but these errors were encountered: