scripts/ci/gitlab-pipeline-status: split utlity function for HTTP GET
commit2faf56bd9563e86fd9295b8ada9ee5198712cd2f
authorCleber Rosa <crosa@redhat.com>
Mon, 22 Feb 2021 19:32:38 +0000 (22 14:32 -0500)
committerThomas Huth <thuth@redhat.com>
Tue, 9 Mar 2021 05:03:53 +0000 (9 06:03 +0100)
tree600c5dc75c00b94ce2762f8c1b0b679b1a34e6bd
parentc2f4c1a8bae9c48d6141f8fb4874b584b26153b0
scripts/ci/gitlab-pipeline-status: split utlity function for HTTP GET

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 <crosa@redhat.com>
Reviewed-by: Alex Bennée <alex.bennee@linaro.org>
Reviewed-by: Wainer dos Santos Moschetta <wainersm@redhat.com>
Message-Id: <20210222193240.921250-2-crosa@redhat.com>
Signed-off-by: Thomas Huth <thuth@redhat.com>
scripts/ci/gitlab-pipeline-status