Install more new gems from rubygems.org (packaged versions need update)
This commit is contained in:
parent
8bff93719f
commit
7042ba4935
1 changed files with 11 additions and 3 deletions
14
debian/gitlab.postinst
vendored
14
debian/gitlab.postinst
vendored
|
@ -62,6 +62,7 @@ test -f ${gitlab_common_conf} && . ${gitlab_common_conf}
|
|||
export GEM_HOME=/var/lib/gitlab/.gem
|
||||
export GEM_PATH=$(gem env gempath)
|
||||
|
||||
# Once bundler gets --prefer-local option (merged upstream) these will be automated
|
||||
# Updating these rubygem packages are complicated
|
||||
runuser -u ${gitlab_user} -- sh -c "if ! gem list -i -v 1.8.0 "^graphiql-rails$" >/dev/null; then gem install -v 1.8.0 graphiql-rails; fi"
|
||||
# gitlab-dangerfiles is required in Rakefile and has many dependencies
|
||||
|
@ -70,9 +71,16 @@ runuser -u ${gitlab_user} -- sh -c "if ! gem list -i "^gitlab-dangerfiles$" >/de
|
|||
# TODO: Update packages for these gems
|
||||
runuser -u ${gitlab_user} -- sh -c "if ! gem list -i -v 7.2 "^elasticsearch-model$" >/dev/null; then gem install -v 7.2 elasticsearch-model; fi"
|
||||
runuser -u ${gitlab_user} -- sh -c "if ! gem list -i -v 7.2 "^elasticsearch-rails$" >/dev/null; then gem install -v 7.2 elasticsearch-rails; fi"
|
||||
|
||||
# Still needs older gitaly
|
||||
runuser -u ${gitlab_user} -- sh -c "if ! gem list -i -v 14.10.0.pre.rc1 "^gitaly$" >/dev/null; then gem install -v 14.10.0.pre.rc1 gitaly; fi"
|
||||
runuser -u ${gitlab_user} -- sh -c "if ! gem list -i -v 1.12 "^bootsnap$" >/dev/null; then gem install -v 1.12 bootsnap; fi"
|
||||
runuser -u ${gitlab_user} -- sh -c "if ! gem list -i -v 1.13.12 "^graphql$" >/dev/null; then gem install -v 1.13.12 graphql; fi"
|
||||
runuser -u ${gitlab_user} -- sh -c "if ! gem list -i -v 3.14 "^fog-aws$" >/dev/null; then gem install -v 3.14 fog-aws; fi"
|
||||
runuser -u ${gitlab_user} -- sh -c "if ! gem list -i -v 1.3 "^gitlab-fog-azure-rm$" >/dev/null; then gem install -v 1.3 gitlab-fog-azure-rm; fi"
|
||||
runuser -u ${gitlab_user} -- sh -c "if ! gem list -i -v 3.29 "^rouge$" >/dev/null; then gem install -v 3.29 rouge; fi"
|
||||
runuser -u ${gitlab_user} -- sh -c "if ! gem list -i -v 1.13.6 "^nokogiri$" >/dev/null; then gem install -v 1.13.6 nokogiri; fi"
|
||||
runuser -u ${gitlab_user} -- sh -c "if ! gem list -i -v 0.6.0 "^rack-timeout$" >/dev/null; then gem install -v 0.6.0 rack-timeout; fi"
|
||||
runuser -u ${gitlab_user} -- sh -c "if ! gem list -i -v 1.4 "^re2$" >/dev/null; then gem install -v 1.4 re2; fi"
|
||||
runuser -u ${gitlab_user} -- sh -c "if ! gem list -i -v 6.6 "^rack-attack$" >/dev/null; then gem install -v 6.6 rack-attack; fi"
|
||||
runuser -u ${gitlab_user} -- sh -c "if ! gem list -i -v 0.23 "^gitlab-labkit$" >/dev/null; then gem install -v 0.23 gitlab-labkit; fi"
|
||||
|
||||
#######################################################################
|
||||
# update Gemfile.lock and yarn.lock, always
|
||||
|
|
Loading…
Reference in a new issue