[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: gitlab-ci: Only build /staging branch?
From: |
Cleber Rosa |
Subject: |
Re: gitlab-ci: Only build /staging branch? |
Date: |
Wed, 24 Mar 2021 19:11:56 -0400 |
On Wed, Mar 24, 2021 at 07:01:12PM +0100, Philippe Mathieu-Daudé wrote:
> Hi,
>
> Peter's current workflow is push to /staging and if his
> testing succeeds, he pushes the same commit as /master.
>
> IMO there is no point in building /master branch, as it
> has already been built earlier as /staging.
>
Hi,
I agree, I currently see no point in running the entire pipeline
again.
But we need to watch out for the job conditional rules. For instance,
both of these pipelines are about the exact same commit:
https://gitlab.com/qemu-project/qemu/-/pipelines/275925246
https://gitlab.com/qemu-project/qemu/-/pipelines/275925289
But one has 113, while the other has 119 jobs. Also, we may want
to check if tags also trigger new (unnecessary) pipelines.
> Regards,
>
> Phil.
>
Best,
- Cleber
signature.asc
Description: PGP signature
- gitlab-ci: Only build /staging branch?, Philippe Mathieu-Daudé, 2021/03/24
- Re: gitlab-ci: Only build /staging branch?, Philippe Mathieu-Daudé, 2021/03/24
- Re: gitlab-ci: Only build /staging branch?, Philippe Mathieu-Daudé, 2021/03/24
- Re: gitlab-ci: Only build /staging branch?, Thomas Huth, 2021/03/25
- Re: gitlab-ci: Only build /staging branch?, Philippe Mathieu-Daudé, 2021/03/25
- Re: gitlab-ci: Only build /staging branch?, Philippe Mathieu-Daudé, 2021/03/25
- Re: gitlab-ci: Only build /staging branch?, Peter Maydell, 2021/03/25
- Re: gitlab-ci: Only build /staging branch?, Paolo Bonzini, 2021/03/25
- Re: gitlab-ci: Only build /staging branch?, Peter Maydell, 2021/03/25
- Re: gitlab-ci: Only build /staging branch?, Daniel P . Berrangé, 2021/03/25
Re: gitlab-ci: Only build /staging branch?,
Cleber Rosa <=