[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [RFC] Enabling GitLab CI
From: |
Jonas Hahnfeld |
Subject: |
Re: [RFC] Enabling GitLab CI |
Date: |
Mon, 18 May 2020 17:50:39 +0200 |
User-agent: |
Evolution 3.36.2 |
Am Montag, den 18.05.2020, 12:59 +0200 schrieb Jonas Hahnfeld:
> Am Montag, den 18.05.2020, 11:53 +0100 schrieb Kevin Barry:
> > On Mon, May 18, 2020 at 11:29:35AM +0100, James Lowe wrote:
> > > Countdown.py (which is Jonas' great cli tool) it's what you see when I do
> > > the countdown (that's literally cut/paste).
> >
> > I haven't seen that script, but the gitlab API exposes pipeline
> > information. It should be enough to correlate a merge request with a
> > pipeline status (running, pending, success, failed, etc).
>
> For reference, it's here:
> https://gitlab.com/lilypond/infrastructure/-/blob/master/countdown.py
>
> The API does expose this information, but the script needs to query the
> pipeline status per merge request as it's not included in the list of
> MRs. That sounds expensive, I have to experiment with this.
See https://gitlab.com/lilypond/infrastructure/-/merge_requests/5
With a few tweaks I got this into an acceptable range, but it still
takes up to 10 seconds for ~20 merge requests. That's the cost you pay
for O(n) requests to the API and parsing all that response data...
Jonas
signature.asc
Description: This is a digitally signed message part
- Re: [RFC] Enabling GitLab CI, (continued)
- Re: [RFC] Enabling GitLab CI, James Lowe, 2020/05/17
- Re: [RFC] Enabling GitLab CI, Jonas Hahnfeld, 2020/05/18
- Re: [RFC] Enabling GitLab CI, James Lowe, 2020/05/18
- Re: [RFC] Enabling GitLab CI, Kevin Barry, 2020/05/18
- Re: [RFC] Enabling GitLab CI, Urs Liska, 2020/05/18
- Re: [RFC] Enabling GitLab CI, Kevin Barry, 2020/05/18
- Re: [RFC] Enabling GitLab CI, James Lowe, 2020/05/18
- Re: [RFC] Enabling GitLab CI, Kevin Barry, 2020/05/18
- Re: [RFC] Enabling GitLab CI, Jonas Hahnfeld, 2020/05/18
- Re: [RFC] Enabling GitLab CI,
Jonas Hahnfeld <=
- Re: [RFC] Enabling GitLab CI, Jonas Hahnfeld, 2020/05/18
Re: [RFC] Enabling GitLab CI, Dan Eble, 2020/05/19
- Re: [RFC] Enabling GitLab CI, Jonas Hahnfeld, 2020/05/21
- Re: [RFC] Enabling GitLab CI, Han-Wen Nienhuys, 2020/05/21
- Re: [RFC] Enabling GitLab CI, James, 2020/05/21
- Re: [RFC] Enabling GitLab CI, Han-Wen Nienhuys, 2020/05/21
- Re: [RFC] Enabling GitLab CI, Jonas Hahnfeld, 2020/05/21
- Re: [RFC] Enabling GitLab CI, David Kastrup, 2020/05/21
Re: [RFC] Enabling GitLab CI, Jonas Hahnfeld, 2020/05/23
Re: [RFC] Enabling GitLab CI, David Kastrup, 2020/05/21