Welcome to mirror list, hosted at ThFree Co, Russian Federation.

gitlab.com/gitlab-org/gitlab-docs.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMarcel Amirault <mamirault@gitlab.com>2022-04-22 05:13:37 +0300
committerMarcel Amirault <mamirault@gitlab.com>2022-04-22 05:13:37 +0300
commit908e1dc78920c30d154863c63bff54972a09b057 (patch)
treebaf86c60b9d9c9cb7b17dee89ae8aa684914807d
parent15f9280fee78679c62ee204ab0bd8577800d3993 (diff)
Add operator to retrieve_branch
-rw-r--r--lib/task_helpers.rb2
1 files changed, 2 insertions, 0 deletions
diff --git a/lib/task_helpers.rb b/lib/task_helpers.rb
index 4b5cd1ea..01f686c5 100644
--- a/lib/task_helpers.rb
+++ b/lib/task_helpers.rb
@@ -35,6 +35,8 @@ def retrieve_branch(slug)
when 'charts'
chart = chart_version(ENV["CI_COMMIT_REF_NAME"]).match(VERSION_FORMAT)
"#{chart[:major]}-#{chart[:minor]}-stable"
+ when 'operator'
+ "master"
end
# If we're NOT on a gitlab-docs stable branch, fetch the BRANCH_* environment
# variable, and if not assigned, set to the default branch.