All of lore.kernel.org
 help / color / mirror / Atom feed
From: Wei Liu <wei.liu2@citrix.com>
To: Xen-devel <xen-devel@lists.xenproject.org>
Cc: Juergen Gross <jgross@suse.com>,
	Lars Kurth <lars.kurth@citrix.com>, Wei Liu <wei.liu2@citrix.com>,
	Doug Goldstein <cardoe@cardoe.com>,
	Committers <committers@xenproject.org>,
	Anthony PERARD <anthony.perard@citrix.com>
Subject: Re: Xen project CI systems and committer workflow
Date: Thu, 18 Apr 2019 13:32:52 +0100	[thread overview]
Message-ID: <20190418123252.GE30543@zion.uk.xensource.com> (raw)
In-Reply-To: <20190418123159.GD30543@zion.uk.xensource.com>

Cc Anthony as well. Forgot to do that. Sorry.

On Thu, Apr 18, 2019 at 01:31:59PM +0100, Wei Liu wrote:
> Hi all
> 
> We now have Gitlab CI as a complementary system to Osstest and have planned to
> add bots. It's high time we think about how we integrate them and how it may
> improve our workflow.
> 
> ## Requirements
> 
> 1. We want to have light weight build tests before a patch series is reviewed
> or committed.
> 
> 2. We don't want to push broken patches to central repository such that
> everyone is blocked.
> 
> 3. We don't want to significantly change committer workflow.
> 
> Requirement 2 means that our current branching model will need to be changed.
> Details will follow.
> 
> ## Overview of automation systems
> 
> - Gitlab CI
> 
>     It is capable of running build tests with relatively short turnaround time.
> 
> - Bots like Patchew and Patchwork
> 
>     They are able to slurp patches from xen-devel and maybe run customised
>     scripts on those patches.
> 
> - Osstest
> 
>     Pushgate, integration test system. It runs more sophisticated tests
>     compared to Gitlab CI. Turnaround time is long.
>     
> ## New world
> 
> There will be an unified endpoint for committers and bots. Committers and bots
> will have their git trees. Patches are committed to those trees. An automated
> system will get patches from those trees and trigger CI runs.
> 
> The system will pick up commits from one of the trees, merge them with master
> and send the merge to CI systems.
> 
> For bots, only Gitlab CI build tests will run. Results are sent back to
> xen-devel.
> 
> For committers' trees, at first Gitlab CI build tests are run, if the result is
> successful, the merge commit is submitted to osstest. If osstest deems the
> merge is good, the merge is pushed (published) to xen.git, otherwise the merge
> is discarded. Test results are sent back to xen-devel.
> 
> With this system, all published commits should have already passed Gitlab CI
> and osstest tests.
> 
> ## Gaps
> 
> The component / system which merges trees and drives CI systems is missing.
> 
> Patchew and Patchwork don't do all the things we care about yet.
> 
> ## Concerns
> 
> For individual committers, turnaround time may become longer since you need to
> wait for other trees to be processed.
> 
> Gitlab CI doesn't have a self pushgate. If it is broken by accident Osstest
> will be blocked.
> 
> 
> Thoughts and comments?
> 
> Wei.

_______________________________________________
Xen-devel mailing list
Xen-devel@lists.xenproject.org
https://lists.xenproject.org/mailman/listinfo/xen-devel

WARNING: multiple messages have this Message-ID (diff)
From: Wei Liu <wei.liu2@citrix.com>
To: Xen-devel <xen-devel@lists.xenproject.org>
Cc: Juergen Gross <jgross@suse.com>,
	Lars Kurth <lars.kurth@citrix.com>, Wei Liu <wei.liu2@citrix.com>,
	Doug Goldstein <cardoe@cardoe.com>,
	Committers <committers@xenproject.org>,
	Anthony PERARD <anthony.perard@citrix.com>
Subject: Re: [Xen-devel] Xen project CI systems and committer workflow
Date: Thu, 18 Apr 2019 13:32:52 +0100	[thread overview]
Message-ID: <20190418123252.GE30543@zion.uk.xensource.com> (raw)
Message-ID: <20190418123252.iXiPQ7AAjDLl2-f0YQxiVDGUfCh8DPhbkovh6ieOBiw@z> (raw)
In-Reply-To: <20190418123159.GD30543@zion.uk.xensource.com>

Cc Anthony as well. Forgot to do that. Sorry.

On Thu, Apr 18, 2019 at 01:31:59PM +0100, Wei Liu wrote:
> Hi all
> 
> We now have Gitlab CI as a complementary system to Osstest and have planned to
> add bots. It's high time we think about how we integrate them and how it may
> improve our workflow.
> 
> ## Requirements
> 
> 1. We want to have light weight build tests before a patch series is reviewed
> or committed.
> 
> 2. We don't want to push broken patches to central repository such that
> everyone is blocked.
> 
> 3. We don't want to significantly change committer workflow.
> 
> Requirement 2 means that our current branching model will need to be changed.
> Details will follow.
> 
> ## Overview of automation systems
> 
> - Gitlab CI
> 
>     It is capable of running build tests with relatively short turnaround time.
> 
> - Bots like Patchew and Patchwork
> 
>     They are able to slurp patches from xen-devel and maybe run customised
>     scripts on those patches.
> 
> - Osstest
> 
>     Pushgate, integration test system. It runs more sophisticated tests
>     compared to Gitlab CI. Turnaround time is long.
>     
> ## New world
> 
> There will be an unified endpoint for committers and bots. Committers and bots
> will have their git trees. Patches are committed to those trees. An automated
> system will get patches from those trees and trigger CI runs.
> 
> The system will pick up commits from one of the trees, merge them with master
> and send the merge to CI systems.
> 
> For bots, only Gitlab CI build tests will run. Results are sent back to
> xen-devel.
> 
> For committers' trees, at first Gitlab CI build tests are run, if the result is
> successful, the merge commit is submitted to osstest. If osstest deems the
> merge is good, the merge is pushed (published) to xen.git, otherwise the merge
> is discarded. Test results are sent back to xen-devel.
> 
> With this system, all published commits should have already passed Gitlab CI
> and osstest tests.
> 
> ## Gaps
> 
> The component / system which merges trees and drives CI systems is missing.
> 
> Patchew and Patchwork don't do all the things we care about yet.
> 
> ## Concerns
> 
> For individual committers, turnaround time may become longer since you need to
> wait for other trees to be processed.
> 
> Gitlab CI doesn't have a self pushgate. If it is broken by accident Osstest
> will be blocked.
> 
> 
> Thoughts and comments?
> 
> Wei.

_______________________________________________
Xen-devel mailing list
Xen-devel@lists.xenproject.org
https://lists.xenproject.org/mailman/listinfo/xen-devel

  reply	other threads:[~2019-04-18 12:33 UTC|newest]

Thread overview: 32+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2019-04-18 12:31 Xen project CI systems and committer workflow Wei Liu
2019-04-18 12:31 ` [Xen-devel] " Wei Liu
2019-04-18 12:32 ` Wei Liu [this message]
2019-04-18 12:32   ` Wei Liu
2019-04-18 13:30   ` Doug Goldstein
2019-04-18 13:30     ` [Xen-devel] " Doug Goldstein
2019-04-18 13:21 ` Ian Jackson
2019-04-18 13:21   ` [Xen-devel] " Ian Jackson
2019-04-18 13:36   ` Doug Goldstein
2019-04-18 13:36     ` [Xen-devel] " Doug Goldstein
2019-04-18 13:59 ` Andrew Cooper
2019-04-18 13:59   ` [Xen-devel] " Andrew Cooper
2019-04-18 14:02   ` Ian Jackson
2019-04-18 14:02     ` [Xen-devel] " Ian Jackson
2019-04-25 12:37     ` Jan Beulich
2019-04-25 12:37       ` [Xen-devel] " Jan Beulich
2019-04-25 12:53       ` Julien Grall
2019-04-25 12:53         ` [Xen-devel] " Julien Grall
2019-04-25 13:01         ` George Dunlap
2019-04-25 13:01           ` [Xen-devel] " George Dunlap
2019-04-18 21:33   ` Doug Goldstein
2019-04-18 21:33     ` [Xen-devel] " Doug Goldstein
2019-04-23  9:12   ` Wei Liu
2019-04-23  9:12     ` [Xen-devel] " Wei Liu
2019-04-18 17:54 ` Stefano Stabellini
2019-04-18 17:54   ` [Xen-devel] " Stefano Stabellini
2019-04-30 10:07   ` Wei Liu
2019-04-30 10:07     ` [Xen-devel] " Wei Liu
2019-04-25 12:33 ` Jan Beulich
2019-04-25 12:33   ` [Xen-devel] " Jan Beulich
2019-04-25 14:51   ` George Dunlap
2019-04-25 14:51     ` [Xen-devel] " George Dunlap

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=20190418123252.GE30543@zion.uk.xensource.com \
    --to=wei.liu2@citrix.com \
    --cc=anthony.perard@citrix.com \
    --cc=cardoe@cardoe.com \
    --cc=committers@xenproject.org \
    --cc=jgross@suse.com \
    --cc=lars.kurth@citrix.com \
    --cc=xen-devel@lists.xenproject.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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.