summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAchilleas Pipinellis <axil@gitlab.com>2017-11-17 13:50:16 +0100
committerAchilleas Pipinellis <axil@gitlab.com>2017-11-17 13:50:16 +0100
commitb1e18b0fe22bc7df403d2e6557960af36014f554 (patch)
tree25117e3b1961d7a262292afc465167a0c25956a7
parent69dd59aec9e5f8959fa36eb74db28d71aad4212b (diff)
downloadgitlab-ce-docs/use-gitlab-gem-fork.tar.gz
Use a fork of the gitlab gemdocs/use-gitlab-gem-fork
Until https://github.com/NARKOZ/gitlab/pull/339 gets merged, use a hack to download the patched gem. Also see https://gitlab.com/gitlab-org/gitlab-ce/issues/40263
-rw-r--r--.gitlab-ci.yml5
1 files changed, 4 insertions, 1 deletions
diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml
index ba19d69745c..61b312cdc43 100644
--- a/.gitlab-ci.yml
+++ b/.gitlab-ci.yml
@@ -173,9 +173,12 @@ build-package:
# We need to download the script rather than clone the repo since the
# review-docs-cleanup job will not be able to run when the branch gets
# deleted (when merging the MR).
- - apk add --update openssl
+ - apk add --update openssl git
- wget https://gitlab.com/gitlab-org/gitlab-ce/raw/master/scripts/trigger-build-docs
- chmod 755 trigger-build-docs
+ # Temporary hack for https://gitlab.com/gitlab-org/gitlab-ce/issues/40263
+ - echo "gem 'gitlab', :git => 'https://github.com/nolith/gitlab.git', :branch => '338-user-agent'" > Gemfile
+ - bundle install
cache: {}
dependencies: []
variables: