[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [RFC PATCH 14/15] gitlab-ci: Allow forks to use different set of job
From: |
Erik Skultety |
Subject: |
Re: [RFC PATCH 14/15] gitlab-ci: Allow forks to use different set of jobs |
Date: |
Mon, 19 Apr 2021 12:10:53 +0200 |
On Mon, Apr 19, 2021 at 10:40:53AM +0100, Daniel P. Berrangé wrote:
> On Mon, Apr 19, 2021 at 01:34:47AM +0200, Philippe Mathieu-Daudé wrote:
> > Forks run the same jobs than mainstream, which might be overkill.
> > Allow them to easily rebase their custom set, while keeping using
> > the mainstream templates, and ability to pick specific jobs from
> > the mainstream set.
> >
> > To switch to your set, simply add your .gitlab-ci.yml as
> > .gitlab-ci.d/${CI_PROJECT_NAMESPACE}.yml (where CI_PROJECT_NAMESPACE
> > is your gitlab 'namespace', usually username). This file will be
> > used instead of the default mainstream set.
>
> I find this approach undesirable, because AFAICT, it means you have
> to commit this extra file to any of your downstream branches that
> you want this to be used for. Then you have to be either delete it
> again before sending patches upstream, or tell git-publish to
> exclude the commit that adds this.
>
> IMHO any per-contributor overhead needs to not involve committing
> stuff to their git branches, that isn't intended to go upstream.
Not just that, ideally, they should also run all the upstream workloads before
submitting a PR or posting patches because they'd have to respin because of a
potential failure in upstream pipelines anyway.
Erik
- Re: [PATCH 10/15] gitlab-ci: Extract all default build/test jobs to buildtest.yml, (continued)
- [PATCH 11/15] gitlab-ci: Extract core container jobs to container-core.yml, Philippe Mathieu-Daudé, 2021/04/18
- [PATCH 12/15] gitlab-ci: Move current job set to qemu-project.yml, Philippe Mathieu-Daudé, 2021/04/18
- [RFC PATCH 13/15] gitlab-ci: Switch to dynamically generated pipelines, Philippe Mathieu-Daudé, 2021/04/18
- [RFC PATCH 14/15] gitlab-ci: Allow forks to use different set of jobs, Philippe Mathieu-Daudé, 2021/04/18
- Re: [RFC PATCH 14/15] gitlab-ci: Allow forks to use different set of jobs, Thomas Huth, 2021/04/19
- Re: [RFC PATCH 14/15] gitlab-ci: Allow forks to use different set of jobs, Daniel P . Berrangé, 2021/04/19
- Re: [RFC PATCH 14/15] gitlab-ci: Allow forks to use different set of jobs, Philippe Mathieu-Daudé, 2021/04/19
- Re: [RFC PATCH 14/15] gitlab-ci: Allow forks to use different set of jobs,
Erik Skultety <=
- Re: [RFC PATCH 14/15] gitlab-ci: Allow forks to use different set of jobs, Thomas Huth, 2021/04/19
- Re: [RFC PATCH 14/15] gitlab-ci: Allow forks to use different set of jobs, Daniel P . Berrangé, 2021/04/19
- Re: [RFC PATCH 14/15] gitlab-ci: Allow forks to use different set of jobs, Thomas Huth, 2021/04/19
- Re: [RFC PATCH 14/15] gitlab-ci: Allow forks to use different set of jobs, Daniel P . Berrangé, 2021/04/19
- Re: [RFC PATCH 14/15] gitlab-ci: Allow forks to use different set of jobs, Thomas Huth, 2021/04/19
- Re: [RFC PATCH 14/15] gitlab-ci: Allow forks to use different set of jobs, Daniel P . Berrangé, 2021/04/19
- Re: [RFC PATCH 14/15] gitlab-ci: Allow forks to use different set of jobs, Philippe Mathieu-Daudé, 2021/04/19
Re: [RFC PATCH 14/15] gitlab-ci: Allow forks to use different set of jobs, Alex Bennée, 2021/04/19