Use packaged versions of aws-sdk*, rack-oauth2 and redis-actionpack

This commit is contained in:
Pirate Praveen 2022-09-14 22:58:27 +05:30
parent e9d4e397aa
commit d2afcf5f6b
No known key found for this signature in database
GPG key ID: 8F53E0193B294B75
2 changed files with 4 additions and 10 deletions

10
debian/control vendored
View file

@ -133,7 +133,7 @@ Depends: ${shlibs:Depends}, ${misc:Depends},
ruby-omniauth-openid-connect (>= 0.9~),
ruby-omniauth-salesforce (>= 1.0.5~),
ruby-omniauth-atlassian-oauth2 (>= 0.2.0~),
ruby-rack-oauth2 (>= 1.19~),
ruby-rack-oauth2 (>= 1.21.2~),
ruby-jwt (>= 2.1~),
# Spam and anti-bot protection
ruby-recaptcha (>= 4.11~),
@ -203,9 +203,9 @@ Depends: ${shlibs:Depends}, ${misc:Depends},
ruby-elasticsearch (>= 5.0.3~),
# ruby-elasticsearch-rails (>= 0.1.9~), embedded
ruby-elasticsearch-api (>= 6.8.2~),
ruby-aws-sdk-core (>= 3.0~),
ruby-aws-sdk-core (>= 3.131~),
ruby-aws-sdk-cloudformation (>= 1.0~),
ruby-aws-sdk-s3 (>= 1.0~),
ruby-aws-sdk-s3 (>= 1.114~),
ruby-faraday-middleware-aws-sigv4,
ruby-typhoeus (>= 1.4~),
# Markdown and HTML processing
@ -272,9 +272,7 @@ Depends: ${shlibs:Depends}, ${misc:Depends},
ruby-redis (>= 4.4~),
ruby-connection-pool (>= 2.0~),
# Redis session store
ruby-redis-rails (>= 5.0.2~),
ruby-redis-activesupport (>= 5.2~),
ruby-redis-actionpack (>= 5.2~),
ruby-redis-actionpack (>= 5.3~),
# Discord integration
ruby-discordrb-webhooks (>= 3.4~),
# JIRA integration

View file

@ -73,11 +73,7 @@ runuser -u ${gitlab_user} -- sh -c "if ! gem list -i "^gitlab-dangerfiles$" >/de
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"
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 3.131 "^aws-sdk-core$" >/dev/null; then gem install -v 3.131 aws-sdk-core; fi"
runuser -u ${gitlab_user} -- sh -c "if ! gem list -i -v 1.114 "^aws-sdk-s3$" >/dev/null; then gem install -v 1.114 aws-sdk-s3; fi"
runuser -u ${gitlab_user} -- sh -c "if ! gem list -i -v '~> 2.0' "^oauth2$" >/dev/null; then gem install -v '~> 2.0' oauth2; fi"
runuser -u ${gitlab_user} -- sh -c "if ! gem list -i -v '~> 1.21.2' "^rack-oauth2$" >/dev/null; then gem install -v '~> 1.21.2' rack-oauth2; fi"
runuser -u ${gitlab_user} -- sh -c "if ! gem list -i -v '~> 5.3' "^redis-actionpack$" >/dev/null; then gem install -v '~> 5.3' redis-actionpack; fi"
runuser -u ${gitlab_user} -- sh -c "if ! gem list -i -v '~> 0.24.0' "^gitlab-labkit$" >/dev/null; then gem install -v '~> 0.24.0' gitlab-labkit; fi"
runuser -u ${gitlab_user} -- sh -c "if ! gem list -i -v '~> 0.25' "^flipper$" >/dev/null; then gem install -v '~> 0.25' flipper; fi"
runuser -u ${gitlab_user} -- sh -c "if ! gem list -i -v '~> 0.25' "^flipper-active_record$" >/dev/null; then gem install -v '~> 0.25' flipper-active_record; fi"