From 7db73f4c5c18c23b78e4507cb2da97263dfcfd7a Mon Sep 17 00:00:00 2001 From: Aleksei Lipniagov Date: Wed, 19 May 2021 12:49:52 +0300 Subject: [PATCH] Remove unused bin/pkgr_before_precompile.sh Delete no longer used script. Split from https://gitlab.com/gitlab-org/gitlab/-/merge_requests/61888. --- bin/pkgr_before_precompile.sh | 20 -------------------- 1 file changed, 20 deletions(-) delete mode 100755 bin/pkgr_before_precompile.sh diff --git a/bin/pkgr_before_precompile.sh b/bin/pkgr_before_precompile.sh deleted file mode 100755 index 54ff32c711b9a2..00000000000000 --- a/bin/pkgr_before_precompile.sh +++ /dev/null @@ -1,20 +0,0 @@ -#!/bin/sh - -set -e - -for file in config/*.yml.example; do - cp ${file} config/$(basename ${file} .example) -done - -# Allow to override the GitLab URL from an environment variable, as this will avoid having to change the configuration file for simple deployments. -config=$(echo '<% gitlab_url = URI(ENV["GITLAB_URL"] || "http://localhost:80") %>' | cat - config/gitlab.yml) -echo "$config" > config/gitlab.yml -sed -i "s/host: localhost/host: <%= gitlab_url.host %>/" config/gitlab.yml -sed -i "s/port: 80/port: <%= gitlab_url.port %>/" config/gitlab.yml -sed -i "s/https: false/https: <%= gitlab_url.scheme == 'https' %>/" config/gitlab.yml - -# No need for config file. Will be taken care of by REDIS_URL env variable -rm config/resque.yml - -# Set default unicorn.rb file -echo "" > config/unicorn.rb -- GitLab