Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
G
gitlab-ce
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
1
Merge Requests
1
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
nexedi
gitlab-ce
Commits
b30304ad
Commit
b30304ad
authored
Apr 01, 2021
by
Rémy Coutable
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
ci: Install the gitlab gem in the 'fail-pipeline-early' job
Signed-off-by:
Rémy Coutable
<
remy@rymai.me
>
parent
39f34ff7
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
1 addition
and
6 deletions
+1
-6
.gitlab/ci/rails.gitlab-ci.yml
.gitlab/ci/rails.gitlab-ci.yml
+1
-1
.gitlab/ci/review.gitlab-ci.yml
.gitlab/ci/review.gitlab-ci.yml
+0
-1
scripts/utils.sh
scripts/utils.sh
+0
-4
No files found.
.gitlab/ci/rails.gitlab-ci.yml
View file @
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
...
...
.gitlab/ci/review.gitlab-ci.yml
View file @
b30304ad
...
...
@@ -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
...
...
scripts/utils.sh
View file @
b30304ad
...
...
@@ -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
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment