OSDN Git Service

scripts/ci/gitlab-pipeline-status: wait for pipeline creation
authorCleber Rosa <crosa@redhat.com>
Fri, 4 Sep 2020 16:42:58 +0000 (12:42 -0400)
committerThomas Huth <thuth@redhat.com>
Tue, 13 Oct 2020 10:48:17 +0000 (12:48 +0200)
commitea8bf1e514d2f442dd1a008794eb1563e2ee1c48
tree98a768fc1862c0b0a21209e70931f9fa54d9d90c
parent176498ab57dc14a7c14a58b490aa16319f0cf638
scripts/ci/gitlab-pipeline-status: wait for pipeline creation

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 <crosa@redhat.com>
Message-Id: <20200904164258.240278-8-crosa@redhat.com>
Signed-off-by: Thomas Huth <thuth@redhat.com>
scripts/ci/gitlab-pipeline-status