Build succeeded.
Could you explain me what exactly that test does? I want to gate those packages just whether they build or not.
This configure the check pipeline for the rust rpms so that jobs are running when a PR is opened. That is a requirements for proper gating: https://zuul-ci.org/docs/zuul/user/gating.html#project-gating
build-lint-test is a job template defined here https://pagure.io/fedora-zuul-jobs/blob/master/f/zuul.d/templates.yaml#_21. You can find an explanation of the templates and jobs here in the wiki https://fedoraproject.org/wiki/Zuul-based-ci#Attach_packaging_jobs_for_a_distgit_repository_on_src.fedoraproject.org
What do you mean by "gate" ? and which kind of workflow would you like ? Actually the pipeline configuration is pretty flexible so we can setup a pipeline according to yours needs.
In the Zuul world we have mainly two steps the "check" and the "gate". In the "check" step the jobs part of the "check" section of the template (here build-lint-test) are run when a the PR is created or updated and give feedback to the PR owner. As you can see the build-lint-test template does not have "gate" section. The "gate" step is where Zuul merges the PR if all jobs configured to run in the gate pipeline succeeded.
For instance the build-lint-test-gate have a "noop" job (this one is a no-ops that always succeed). We think that's not needed right now to add jobs in the gate pipeline but instead just let Zuul merge the PR. Also to run the "gate" step Zuul requires the success of jobs from the check step.
If your are interested here is how steps are triggered: https://pagure.io/fedora-project-config/blob/master/f/zuul.d/_pipelines.yaml
Hi Igor,
Here you will find a diagram that shows an example of workflow (here build-lint-gate-promote) https://fedoraproject.org/wiki/Zuul-based-ci#Sequence_diagram_of_the_PR_workflow
This PR proposes the use of (build-lint-test). In fact this covers only the check phase of the diagram.
I hope it make the workflow clearer. Please let us know.
Igor, build-lint-test will run a job that expect to find tests/tests.yml in the distgit. Do all your packages include a tests/tests.yml ?
rebased onto 3d2b3a2b64bfe161fc0c6da7097c7f01268ddf43
Merge Failed.
This change or one of its cross-repo dependencies was unable to be automatically merged with the current state of its repository. Please rebase the change and upload a new patchset.
Pull-Request has been closed by fbo