On 2019-12-07 12:56 a.m., Rob Clark wrote:
> On Fri, Dec 6, 2019 at 3:46 PM Bas Nieuwenhuizen
> <b...@basnieuwenhuizen.nl> wrote:
>>
>> On Fri, Dec 6, 2019 at 10:49 AM Michel Dänzer <mic...@daenzer.net> wrote:
>>>
>>>
>>> I just merged
>>> https://gitlab.freedesktop.org/mesa/mesa/merge_requests/2794 , which
>>> affects people who want to run the CI pipeline on personal Mesa branches:
>>>
>>> Pushing changes to a personal branch now always creates a pipeline, but
>>> none of the jobs in it run by default. (There are no longer any special
>>> branch names affecting this, because creating MRs from such special
>>> branches resulted in duplicate CI job runs)
>>>
>>> The container stage jobs can be triggered manually from the GitLab UI
>>> (and maybe also via the GitLab API, for people who'd like to automate
>>> this? I haven't looked into that). The build/test stage jobs run
>>> automatically once all their dependencies have passed.
>>>
>>> As an example, in order to run one of the "piglit-*" test jobs, one has
>>> to manually trigger the "x86_build" and "x86_test" jobs.
>>>
>>> The pipelines created for merge requests still run all jobs by default
>>> as before.
>>>
>>>
>>> The main motivation for these changes is to avoid wasting CI runner
>>> resources. In that same spirit, please also cancel any unneeded
>>> build/test jobs. This can be done already before those jobs start
>>> running, e.g. while the container stage jobs run.
>>
>> No complaint about not running the pipelines by default in personal
>> repositories, but expecting people to cancel automatically spawned CI
>> jobs as normal part of their workflow seems incredibly fiddly and
>> fragile to me.

I'm not sure what you mean by fragile, but maybe my wording was too
strong. It's not really "expected", I just want people to be aware that
CI runner resources are finite, and wasting them affects others as well
as oneself.


>> Are we *that* constrained?

We are a bit privileged here in Europe, as things are usually calm
during our mornings. For people in North America, it tends to be pretty
painful to merge an MR. (If we had a merge bot, that should mostly
eliminate that pain tough)


> It would be nice if there was some way to setup some conservative
> filters to exclude groups of tests, ie. if only paths changed were
> under src/freedreno or src/gallium/drivers/freedreno, then no need to
> run panfrost CI, and visa versa.  We probably shouldn't try to fine
> tune that *too* much at this risk of skipping tests that should have
> run, but seems like there should be same safe low hanging fruit to cut
> down on CI runs in common cases.

Lots of people suggest something like this, but most of them probably
imagine it to be easier than it actually is. :)

See https://gitlab.freedesktop.org/mesa/mesa/merge_requests/2569 .


-- 
Earthling Michel Dänzer               |               https://redhat.com
Libre software enthusiast             |             Mesa and X developer
_______________________________________________
mesa-dev mailing list
mesa-dev@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/mesa-dev

Reply via email to