<feed xmlns='http://www.w3.org/2005/Atom'>
<title>bwlp/qemu.git/scripts/ci/gitlab-pipeline-status, branch master</title>
<subtitle>Experimental fork of QEMU with video encoding patches</subtitle>
<id>https://git.openslx.org/bwlp/qemu.git/atom/scripts/ci/gitlab-pipeline-status?h=master</id>
<link rel='self' href='https://git.openslx.org/bwlp/qemu.git/atom/scripts/ci/gitlab-pipeline-status?h=master'/>
<link rel='alternate' type='text/html' href='https://git.openslx.org/bwlp/qemu.git/'/>
<updated>2021-03-09T05:03:53+00:00</updated>
<entry>
<title>scripts/ci/gitlab-pipeline-status: give more info when pipeline not found</title>
<updated>2021-03-09T05:03:53+00:00</updated>
<author>
<name>Cleber Rosa</name>
</author>
<published>2021-02-22T19:32:40+00:00</published>
<link rel='alternate' type='text/html' href='https://git.openslx.org/bwlp/qemu.git/commit/?id=6179f32eeb6b13574ef65c85f836c681d213e577'/>
<id>urn:sha1:6179f32eeb6b13574ef65c85f836c681d213e577</id>
<content type='text'>
This includes both input parameters (project id and commit) in the
message so to make it easier to debug returned API calls.

Signed-off-by: Cleber Rosa &lt;crosa@redhat.com&gt;
Reviewed-by: Wainer dos Santos Moschetta &lt;wainersm@redhat.com&gt;
Message-Id: &lt;20210222193240.921250-4-crosa@redhat.com&gt;
Signed-off-by: Thomas Huth &lt;thuth@redhat.com&gt;
</content>
</entry>
<entry>
<title>scripts/ci/gitlab-pipeline-status: give more information on failures</title>
<updated>2021-03-09T05:03:53+00:00</updated>
<author>
<name>Cleber Rosa</name>
</author>
<published>2021-02-22T19:32:39+00:00</published>
<link rel='alternate' type='text/html' href='https://git.openslx.org/bwlp/qemu.git/commit/?id=861d1d509b111f59b294c975eee59f2a23bc783a'/>
<id>urn:sha1:861d1d509b111f59b294c975eee59f2a23bc783a</id>
<content type='text'>
When an HTTP GET request fails, it's useful to go beyond the "not
successful" message, and show the code returned by the server.

Signed-off-by: Cleber Rosa &lt;crosa@redhat.com&gt;
Reviewed-by: Alex Bennée &lt;alex.bennee@linaro.org&gt;
Reviewed-by: Wainer dos Santos Moschetta &lt;wainersm@redhat.com&gt;
Message-Id: &lt;20210222193240.921250-3-crosa@redhat.com&gt;
Signed-off-by: Thomas Huth &lt;thuth@redhat.com&gt;
</content>
</entry>
<entry>
<title>scripts/ci/gitlab-pipeline-status: split utlity function for HTTP GET</title>
<updated>2021-03-09T05:03:53+00:00</updated>
<author>
<name>Cleber Rosa</name>
</author>
<published>2021-02-22T19:32:38+00:00</published>
<link rel='alternate' type='text/html' href='https://git.openslx.org/bwlp/qemu.git/commit/?id=2faf56bd9563e86fd9295b8ada9ee5198712cd2f'/>
<id>urn:sha1:2faf56bd9563e86fd9295b8ada9ee5198712cd2f</id>
<content type='text'>
This simply splits out the code that does an HTTP GET so that it
can be used for other API requests.

Signed-off-by: Cleber Rosa &lt;crosa@redhat.com&gt;
Reviewed-by: Alex Bennée &lt;alex.bennee@linaro.org&gt;
Reviewed-by: Wainer dos Santos Moschetta &lt;wainersm@redhat.com&gt;
Message-Id: &lt;20210222193240.921250-2-crosa@redhat.com&gt;
Signed-off-by: Thomas Huth &lt;thuth@redhat.com&gt;
</content>
</entry>
<entry>
<title>scripts/ci: clean up default args logic a little</title>
<updated>2020-11-23T09:48:25+00:00</updated>
<author>
<name>Alex Bennée</name>
</author>
<published>2020-11-17T17:36:30+00:00</published>
<link rel='alternate' type='text/html' href='https://git.openslx.org/bwlp/qemu.git/commit/?id=e4b937d3c4ddb960002a3aa9b0f209eb63c8b710'/>
<id>urn:sha1:e4b937d3c4ddb960002a3aa9b0f209eb63c8b710</id>
<content type='text'>
This allows us to do:

  ./scripts/ci/gitlab-pipeline-status -w -b HEAD -p 2961854

to check out own pipeline status of a recently pushed branch.

Signed-off-by: Alex Bennée &lt;alex.bennee@linaro.org&gt;
Reviewed-by: Wainer dos Santos Moschetta &lt;wainersm@redhat.com&gt;
Message-Id: &lt;20201117173635.29101-2-alex.bennee@linaro.org&gt;
</content>
</entry>
<entry>
<title>scripts/ci/gitlab-pipeline-status: wait for pipeline creation</title>
<updated>2020-10-13T10:48:17+00:00</updated>
<author>
<name>Cleber Rosa</name>
</author>
<published>2020-09-04T16:42:58+00:00</published>
<link rel='alternate' type='text/html' href='https://git.openslx.org/bwlp/qemu.git/commit/?id=ea8bf1e514d2f442dd1a008794eb1563e2ee1c48'/>
<id>urn:sha1:ea8bf1e514d2f442dd1a008794eb1563e2ee1c48</id>
<content type='text'>
When called in wait mode, this script will also wait for the pipeline
to be get to a "running" state.  Because many more status may be seen
until a pipeline gets to "running", and those need to be handle too.

Reference: https://docs.gitlab.com/ee/api/pipelines.html#list-project-pipelines
Signed-off-by: Cleber Rosa &lt;crosa@redhat.com&gt;
Message-Id: &lt;20200904164258.240278-8-crosa@redhat.com&gt;
Signed-off-by: Thomas Huth &lt;thuth@redhat.com&gt;
</content>
</entry>
<entry>
<title>scripts/ci/gitlab-pipeline-status: use more descriptive exceptions</title>
<updated>2020-10-13T10:48:17+00:00</updated>
<author>
<name>Cleber Rosa</name>
</author>
<published>2020-09-04T16:42:57+00:00</published>
<link rel='alternate' type='text/html' href='https://git.openslx.org/bwlp/qemu.git/commit/?id=176498ab57dc14a7c14a58b490aa16319f0cf638'/>
<id>urn:sha1:176498ab57dc14a7c14a58b490aa16319f0cf638</id>
<content type='text'>
For two very different error conditions.

Signed-off-by: Cleber Rosa &lt;crosa@redhat.com&gt;
Message-Id: &lt;20200904164258.240278-7-crosa@redhat.com&gt;
Signed-off-by: Thomas Huth &lt;thuth@redhat.com&gt;
</content>
</entry>
<entry>
<title>scripts/ci/gitlab-pipeline-status: handle keyboard interrupts</title>
<updated>2020-10-13T10:48:17+00:00</updated>
<author>
<name>Cleber Rosa</name>
</author>
<published>2020-09-04T16:42:56+00:00</published>
<link rel='alternate' type='text/html' href='https://git.openslx.org/bwlp/qemu.git/commit/?id=79df438eeb5e754a0ae22210238e4e6555e7428f'/>
<id>urn:sha1:79df438eeb5e754a0ae22210238e4e6555e7428f</id>
<content type='text'>
So that exits based on user requests are handled more gracefully.

Signed-off-by: Cleber Rosa &lt;crosa@redhat.com&gt;
Message-Id: &lt;20200904164258.240278-6-crosa@redhat.com&gt;
Signed-off-by: Thomas Huth &lt;thuth@redhat.com&gt;
</content>
</entry>
<entry>
<title>scripts/ci/gitlab-pipeline-status: refactor parser creation</title>
<updated>2020-10-13T10:48:17+00:00</updated>
<author>
<name>Cleber Rosa</name>
</author>
<published>2020-09-04T16:42:55+00:00</published>
<link rel='alternate' type='text/html' href='https://git.openslx.org/bwlp/qemu.git/commit/?id=91641d555ae06726169f6ec8b57caeebcb0b71d0'/>
<id>urn:sha1:91641d555ae06726169f6ec8b57caeebcb0b71d0</id>
<content type='text'>
Out of the main function.

Signed-off-by: Cleber Rosa &lt;crosa@redhat.com&gt;
Message-Id: &lt;20200904164258.240278-5-crosa@redhat.com&gt;
Signed-off-by: Thomas Huth &lt;thuth@redhat.com&gt;
</content>
</entry>
<entry>
<title>scripts/ci/gitlab-pipeline-status: give early feedback on running pipelines</title>
<updated>2020-10-13T10:48:17+00:00</updated>
<author>
<name>Cleber Rosa</name>
</author>
<published>2020-09-04T16:42:54+00:00</published>
<link rel='alternate' type='text/html' href='https://git.openslx.org/bwlp/qemu.git/commit/?id=db5424dfda1329da226ad98904c3a26fc9f7310f'/>
<id>urn:sha1:db5424dfda1329da226ad98904c3a26fc9f7310f</id>
<content type='text'>
When waiting for a pipeline to run and finish, it's better to give
early feedback, and then sleep and wait, than the other wait around.

Specially for the first iteration, it's frustrating to see nothing
while the script is sleeping.

Signed-off-by: Cleber Rosa &lt;crosa@redhat.com&gt;
Message-Id: &lt;20200904164258.240278-4-crosa@redhat.com&gt;
Reviewed-by: Philippe Mathieu-Daudé &lt;philmd@redhat.com&gt;
Signed-off-by: Thomas Huth &lt;thuth@redhat.com&gt;
</content>
</entry>
<entry>
<title>scripts/ci/gitlab-pipeline-status: improve message regarding timeout</title>
<updated>2020-10-13T10:48:17+00:00</updated>
<author>
<name>Cleber Rosa</name>
</author>
<published>2020-09-04T16:42:53+00:00</published>
<link rel='alternate' type='text/html' href='https://git.openslx.org/bwlp/qemu.git/commit/?id=6dfcbff8bf7ca8c52a5ee2d351ec9c291e22fd5e'/>
<id>urn:sha1:6dfcbff8bf7ca8c52a5ee2d351ec9c291e22fd5e</id>
<content type='text'>
The script has its own timeout, which is about how long the script
will wait (when called with --wait) for the pipeline to complete, and
not necessarily for the pipeline to complete.

Hopefully this new wording will be clearer.

Signed-off-by: Cleber Rosa &lt;crosa@redhat.com&gt;
Message-Id: &lt;20200904164258.240278-3-crosa@redhat.com&gt;
Signed-off-by: Thomas Huth &lt;thuth@redhat.com&gt;
</content>
</entry>
</feed>
