From: Cleber Rosa <crosa@redhat.com>
To: Peter Maydell <peter.maydell@linaro.org>
Cc: "Jeff Nelson" <jen@redhat.com>,
"Markus Armbruster" <armbru@redhat.com>,
"Wainer dos Santos Moschetta" <wainersm@redhat.com>,
"QEMU Developers" <qemu-devel@nongnu.org>,
"Stefan Hajnoczi" <stefanha@redhat.com>,
"Alex Bennée" <alex.bennee@linaro.org>,
"Ademar Reis" <areis@redhat.com>
Subject: Re: [RFC] QEMU Gating CI
Date: Fri, 7 Feb 2020 15:38:56 -0500 [thread overview]
Message-ID: <20200207203856.GA17041@localhost.localdomain> (raw)
In-Reply-To: <CAFEAcA-h3fJaBm+DSn6VQ=sgdS4x67MT_biyeTohk__JzkACMw@mail.gmail.com>
[-- Attachment #1: Type: text/plain, Size: 1675 bytes --]
On Fri, Feb 07, 2020 at 04:42:10PM +0000, Peter Maydell wrote:
>
> This all sounds like the right thing and great progress. So yes,
> I agree that the next step would be to get to a point where you
> can give me some instructions on how to say "OK, here's my staging
> branch" and run it through the new test process and look at the
> results.
>
IIUC the point you're describing, we must:
* Have the rigth jobs defined in .gitlab-ci.yml (there are some
questions to be answered on that thread)
* Setup machines with:
- gitlab-runner (with tags matching OS and arch)
- packages needed for the actual job execution (compilers, etc)
At this point, the "parallel-buildtest" command[1], would be replaced
with something like:
- git push git@gitlab.com:qemu-project/qemu.git staging:staging
Which would automatically generate a pipeline. Checking the results can
be done with programmatically using the GitLab APIs[2].
Once the result is validated, you would run "git push publish-upstream
staging:master" as usual (as instructed by the script)[3].
So this leaves us with the "musts" above, and also with creating a
command line tool that uses the GitLab APIs to check on the status of
the pipeline associated with the staging branch.
> thanks
> -- PMM
>
Thanks for the feedback, and please please let me know if I got your
point.
Cheers,
- Cleber.
[1] - https://git.linaro.org/people/peter.maydell/misc-scripts.git/tree/apply-pullreq#n125
[2] - https://docs.gitlab.com/ee/api/pipelines.html#list-project-pipelines
[3] - https://git.linaro.org/people/peter.maydell/misc-scripts.git/tree/apply-pullreq#n136
[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 833 bytes --]
next prev parent reply other threads:[~2020-02-07 20:40 UTC|newest]
Thread overview: 22+ messages / expand[flat|nested] mbox.gz Atom feed top
2019-12-02 14:05 [RFC] QEMU Gating CI Cleber Rosa
2019-12-02 17:00 ` Stefan Hajnoczi
2019-12-02 17:08 ` Peter Maydell
2019-12-02 18:28 ` Cleber Rosa
2019-12-02 18:36 ` Warner Losh
2019-12-02 22:38 ` Cleber Rosa
2019-12-02 18:12 ` Cleber Rosa
2019-12-03 14:14 ` Stefan Hajnoczi
2019-12-03 14:07 ` Alex Bennée
2019-12-04 8:55 ` Thomas Huth
2019-12-06 19:03 ` Cleber Rosa
2019-12-03 17:54 ` Peter Maydell
2019-12-05 5:05 ` Cleber Rosa
2020-01-17 14:33 ` Peter Maydell
2020-01-21 20:00 ` Cleber Rosa
2020-02-03 3:27 ` Cleber Rosa
2020-02-03 15:00 ` Cleber Rosa
2020-02-07 16:42 ` Peter Maydell
2020-02-07 20:38 ` Cleber Rosa [this message]
2020-02-08 13:08 ` Peter Maydell
2020-03-02 15:27 ` Peter Maydell
2020-03-05 6:50 ` Cleber Rosa
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=20200207203856.GA17041@localhost.localdomain \
--to=crosa@redhat.com \
--cc=alex.bennee@linaro.org \
--cc=areis@redhat.com \
--cc=armbru@redhat.com \
--cc=jen@redhat.com \
--cc=peter.maydell@linaro.org \
--cc=qemu-devel@nongnu.org \
--cc=stefanha@redhat.com \
--cc=wainersm@redhat.com \
/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).