Page MenuHomePhabricator

Generate per-repo pipeline jobs
Open, MediumPublic

Description

Use case:

we have service-pipeline-test-and-publish job. This job is the output of all projects.

Ideally, we would have a job for each project using the pipeline; e.g., mathoid-pipeline-test-and-publish and zotero-pipeline-test-and-publish so that the dashboards for these repositories are more meaningful.

Bonus points if these jobs could be created by someone adding a .pipeline/config.yaml to their project.

Event Timeline

Restricted Application added a subscriber: Aklapper. · View Herald TranscriptFeb 5 2019, 6:26 PM
thcipriani triaged this task as Medium priority.Feb 5 2019, 6:29 PM

Bonus points if these jobs could be created by someone adding a .pipeline/config.yaml to their project.

At least 100000 bonus points for this! It would be really really useful if these semi-custom jobs could be created automatically for people without human intervention and/or git commits and deploys.

Bonus points if these jobs could be created by someone adding a .pipeline/config.yaml to their project.

That is not possible with our current version of Zuul (Zuul v2.5). And if we want a job per repository, it has to be created in Jenkins via a configuration in jjb. Zuul v3 might allow that since it does clone the repository/apply patches then inspect a configuration file and dynamically load jobs from it. I am not sure though whether it is smart enough to dynamically create a project it doesn't know yet.

Bonus points if these jobs could be created by someone adding a .pipeline/config.yaml to their project.

At least 100000 bonus points for this! It would be really really useful if these semi-custom jobs could be created automatically for people without human intervention and/or git commits and deploys.

+1000!