Commit b0942dcd authored by Lin Jen-Shin's avatar Lin Jen-Shin

Merge branch...

Merge branch '326711-fail-pipeline-early-fails-with-cannot-load-such-file-gitlab-loaderror' into 'master'

ci: Install the gitlab gem in the 'fail-pipeline-early' job

See merge request gitlab-org/gitlab!58334
parents 565a4777 b30304ad
......@@ -802,7 +802,7 @@ fail-pipeline-early:
GIT_DEPTH: 1
before_script:
- source scripts/utils.sh
- install_api_client_dependencies_with_apt
- install_gitlab_gem
script:
- fail_pipeline_early
# EE: Canonical MR pipelines
......
......@@ -29,7 +29,6 @@ review-build-cng:
stage: review-prepare
before_script:
- source ./scripts/utils.sh
- install_api_client_dependencies_with_apk
- install_gitlab_gem
needs:
- job: compile-production-assets
......
......@@ -26,10 +26,6 @@ function install_api_client_dependencies_with_apk() {
apk add --update openssl curl jq
}
function install_api_client_dependencies_with_apt() {
apt update && apt install jq -y
}
function install_gitlab_gem() {
gem install httparty --no-document --version 0.18.1
gem install gitlab --no-document --version 4.17.0
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment