scripts/ci/gitlab-pipeline-status: make branch name configurable
commitd914375070dc67dead065425fc3e3633fea4e0d3
authorCleber Rosa <crosa@redhat.com>
Fri, 4 Sep 2020 16:42:52 +0000 (4 12:42 -0400)
committerThomas Huth <thuth@redhat.com>
Tue, 13 Oct 2020 10:48:17 +0000 (13 12:48 +0200)
tree6c8126dd7b01f228efec4b0f3f2080261e7dbce2
parent4fb716360a6c19d1860dd312ebd3404ca499a186
scripts/ci/gitlab-pipeline-status: make branch name configurable

With the utility function `get_local_staging_branch_commit()`, the
name of the branch is hard coded (including in the function name).

For extensibility reasons, let's make that configurable.

Signed-off-by: Cleber Rosa <crosa@redhat.com>
Message-Id: <20200904164258.240278-2-crosa@redhat.com>
Reviewed-by: Philippe Mathieu-Daudé <philmd@redhat.com>
Signed-off-by: Thomas Huth <thuth@redhat.com>
scripts/ci/gitlab-pipeline-status