From af7a35a4284c7c5dcb69301d67e7a175a26ddb61 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?R=C3=A9my=20Coutable?= <remy@rymai.me> Date: Mon, 22 Nov 2021 15:39:19 +0100 Subject: [PATCH] ci: Bump the charts version used for Review Apps to 5.5.0 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Rémy Coutable <remy@rymai.me> --- .gitlab/ci/review-apps/main.gitlab-ci.yml | 2 +- scripts/review_apps/base-config.yaml | 2 +- scripts/review_apps/review-apps.sh | 8 ++++---- 3 files changed, 6 insertions(+), 6 deletions(-) diff --git a/.gitlab/ci/review-apps/main.gitlab-ci.yml b/.gitlab/ci/review-apps/main.gitlab-ci.yml index 670175a6f113f..d4c847cf1c02e 100644 --- a/.gitlab/ci/review-apps/main.gitlab-ci.yml +++ b/.gitlab/ci/review-apps/main.gitlab-ci.yml @@ -39,7 +39,7 @@ review-build-cng: variables: HOST_SUFFIX: "${CI_ENVIRONMENT_SLUG}" DOMAIN: "-${CI_ENVIRONMENT_SLUG}.${REVIEW_APPS_DOMAIN}" - GITLAB_HELM_CHART_REF: "v5.4.1" + GITLAB_HELM_CHART_REF: "v5.5.0" environment: name: review/${CI_COMMIT_REF_SLUG}${FREQUENCY} url: https://gitlab-${CI_ENVIRONMENT_SLUG}.${REVIEW_APPS_DOMAIN} diff --git a/scripts/review_apps/base-config.yaml b/scripts/review_apps/base-config.yaml index 7bb9c0100166b..2cdac51c6f6de 100644 --- a/scripts/review_apps/base-config.yaml +++ b/scripts/review_apps/base-config.yaml @@ -64,7 +64,7 @@ gitlab: memory: 2890M hpa: targetAverageValue: 650m - task-runner: + toolbox: resources: requests: cpu: 300m diff --git a/scripts/review_apps/review-apps.sh b/scripts/review_apps/review-apps.sh index edb55a8355539..0d76c0d33aa68 100755 --- a/scripts/review_apps/review-apps.sh +++ b/scripts/review_apps/review-apps.sh @@ -120,9 +120,9 @@ function get_pod() { function run_task() { local namespace="${CI_ENVIRONMENT_SLUG}" local ruby_cmd="${1}" - local task_runner_pod=$(get_pod "task-runner") + local toolbox_pod=$(get_pod "toolbox") - kubectl exec --namespace "${namespace}" "${task_runner_pod}" -- gitlab-rails runner "${ruby_cmd}" + kubectl exec --namespace "${namespace}" "${toolbox_pod}" -- gitlab-rails runner "${ruby_cmd}" } function disable_sign_ups() { @@ -290,8 +290,8 @@ HELM_CMD=$(cat << EOF --set gitlab.webservice.image.tag="${CI_COMMIT_REF_SLUG}" \ --set gitlab.webservice.workhorse.image="${gitlab_workhorse_image_repository}" \ --set gitlab.webservice.workhorse.tag="${CI_COMMIT_REF_SLUG}" \ - --set gitlab.task-runner.image.repository="${gitlab_toolbox_image_repository}" \ - --set gitlab.task-runner.image.tag="${CI_COMMIT_REF_SLUG}" + --set gitlab.toolbox.image.repository="${gitlab_toolbox_image_repository}" \ + --set gitlab.toolbox.image.tag="${CI_COMMIT_REF_SLUG}" EOF ) -- GitLab