From: "Daniel P. Berrangé" <berrange@redhat.com>
To: Peter Maydell <peter.maydell@linaro.org>
Cc: "Dov Murik" <dovmurik@linux.ibm.com>,
"Laszlo Ersek" <lersek@redhat.com>,
"Philippe Mathieu-Daudé" <philmd@redhat.com>,
"QEMU Developers" <qemu-devel@nongnu.org>,
"Michael S. Tsirkin" <mst@redhat.com>
Subject: Re: [PULL 0/4] OVMF patches for 2021-07-12
Date: Tue, 13 Jul 2021 12:16:27 +0100 [thread overview]
Message-ID: <YO12C+UQKhAKOGEs@redhat.com> (raw)
In-Reply-To: <CAFEAcA8Epk4WKPj6fjFEPyYrT7FQzMRK1A8rf7hN8Buex6Xmng@mail.gmail.com>
On Tue, Jul 13, 2021 at 11:25:21AM +0100, Peter Maydell wrote:
> On Mon, 12 Jul 2021 at 16:02, Philippe Mathieu-Daudé <philmd@redhat.com> wrote:
> >
> > The following changes since commit bd38ae26cea0d1d6a97f930248df149204c210a2:
> >
> > Merge remote-tracking branch 'remotes/rth-gitlab/tags/pull-tcg-20210710' into staging (2021-07-12 11:02:39 +0100)
> >
> > are available in the Git repository at:
> >
> > https://github.com/philmd/qemu.git tags/fw-edk2-20210712
> >
> > for you to fetch changes up to d1e79210457323b225c369fa00e97577e0d0da95:
> >
> > MAINTAINERS: remove Laszlo Ersek's entries (2021-07-12 16:55:23 +0200)
> >
> > ----------------------------------------------------------------
> > Patches related to EDK2/OVMF
> >
> > - MAINTAINERS: remove Laszlo Ersek's entries
> > - Introduce X86_FW_OVMF Kconfig symbol
> > - pc_system_ovmf_table_find: Assert that flash was parsed, document
> >
> > ----------------------------------------------------------------
>
> So, even though this pullreq doesn't seem to be changing gitlab CI
> config, I get a "yaml invalid" failure in the pipeline:
> https://gitlab.com/qemu-project/qemu/-/pipelines/335995843
>
> "'build-edk2' job needs 'docker-edk2' job but it was not added to the pipeline"
>
> Any ideas what that's about?
The rules for these two jobs are not compatible with the depedency
declared between them.
The docker-edk2 job is set to exist only when edk2.yml or Dockerfile
are changed:
docker-edk2:
stage: containers
rules: # Only run this job when the Dockerfile is modified
- changes:
- .gitlab-ci.d/edk2.yml
- .gitlab-ci.d/edk2/Dockerfile
when: always
The build-edk2 job is set to exist based on a wide variety of
changes
build-edk2:
stage: build
needs: ['docker-edk2']
rules: # Only run this job when ...
- changes: # ... roms/edk2/ is modified (submodule updated)
- roms/edk2/*
when: always
- if: '$CI_COMMIT_REF_NAME =~ /^edk2/' # or the branch/tag starts with 'edk2'
when: always
- if: '$CI_COMMIT_MESSAGE =~ /edk2/i' # or last commit description contains 'EDK2'
when: always
If those jobs were independant those different sets of conditions
would be ok. The build-edk2 job, however, has a 'needs' clause
adding a depdancy on 'docker-edk2'.
Given this dependancy, in *EVERY* scenario were 'build-edk2' job
exists, the 'docker-edk2' job *MUST* also exist. This isn't the
case, hence the failed pipeline.
This can be fixed by taking the 'rules' from 'build-edk2' and
also applying them to 'docker-edk2'.
Regards,
Daniel
--
|: https://berrange.com -o- https://www.flickr.com/photos/dberrange :|
|: https://libvirt.org -o- https://fstop138.berrange.com :|
|: https://entangle-photo.org -o- https://www.instagram.com/dberrange :|
next prev parent reply other threads:[~2021-07-13 11:17 UTC|newest]
Thread overview: 10+ messages / expand[flat|nested] mbox.gz Atom feed top
2021-07-12 14:56 [PULL 0/4] OVMF patches for 2021-07-12 Philippe Mathieu-Daudé
2021-07-12 14:56 ` [PULL 1/4] hw/i386/pc: pc_system_ovmf_table_find: Assert that flash was parsed Philippe Mathieu-Daudé
2021-07-12 14:56 ` [PULL 2/4] hw/i386/pc: Document pc_system_ovmf_table_find Philippe Mathieu-Daudé
2021-07-12 14:56 ` [PULL 3/4] hw/i386: Introduce X86_FW_OVMF Kconfig symbol Philippe Mathieu-Daudé
2021-07-12 14:56 ` [PULL 4/4] MAINTAINERS: remove Laszlo Ersek's entries Philippe Mathieu-Daudé
2021-07-13 10:25 ` [PULL 0/4] OVMF patches for 2021-07-12 Peter Maydell
2021-07-13 10:35 ` Philippe Mathieu-Daudé
2021-07-13 11:22 ` Daniel P. Berrangé
2021-07-13 11:16 ` Daniel P. Berrangé [this message]
2021-07-14 9:41 ` Philippe Mathieu-Daudé
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=YO12C+UQKhAKOGEs@redhat.com \
--to=berrange@redhat.com \
--cc=dovmurik@linux.ibm.com \
--cc=lersek@redhat.com \
--cc=mst@redhat.com \
--cc=peter.maydell@linaro.org \
--cc=philmd@redhat.com \
--cc=qemu-devel@nongnu.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).