Install grpc using gem command (ruby-grpc package has an unfixed regression)

This commit is contained in:
Pirate Praveen 2020-12-07 19:41:39 +05:30
parent 649ae0b4e6
commit 5b84b1f2f7
No known key found for this signature in database
GPG key ID: 8F53E0193B294B75

View file

@ -8,6 +8,10 @@ export DB RAILS_ENV
cd /usr/share/gitlab
# Workaround for #966653
/usr/bin/gem install -v 1.30.2 grpc
runuser -u ${gitlab_user} -- sh -c '/usr/bin/bundle install --local'
# Check if the db is already present
db_relations="$(LANG=C runuser -u postgres -- sh -c "psql gitlab_production -c \"\d\"" 2>&1)"
if [ "$db_relations" = "No relations found." ] || \