Welcome to mirror list, hosted at ThFree Co, Russian Federation.

gitlab.com/gitlab-org/gitlab-foss.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGitLab Bot <gitlab-bot@gitlab.com>2023-02-08 21:07:53 +0300
committerGitLab Bot <gitlab-bot@gitlab.com>2023-02-08 21:07:53 +0300
commita3487798aeff89daff78749e6d6f392d3ca23687 (patch)
treefe7695c195931ee803aa862fc2bf977853b18a87 /scripts/utils.sh
parentc6c5dd8848b78528d7ad7f044a0c95be629d372e (diff)
Add latest changes from gitlab-org/gitlab@master
Diffstat (limited to 'scripts/utils.sh')
-rw-r--r--scripts/utils.sh17
1 files changed, 0 insertions, 17 deletions
diff --git a/scripts/utils.sh b/scripts/utils.sh
index 5073e89330e..55005d0abff 100644
--- a/scripts/utils.sh
+++ b/scripts/utils.sh
@@ -287,20 +287,3 @@ function setup_gcloud() {
gcloud auth activate-service-account --key-file="${REVIEW_APPS_GCP_CREDENTIALS}"
gcloud config set project "${REVIEW_APPS_GCP_PROJECT}"
}
-
-function download_files() {
- # If public fork, just download the files directly from there. Otherwise, get files from canonical.
- if [[ "${CI_PROJECT_VISIBILITY}" == "public" ]]; then
- local url="${CI_PROJECT_URL}/raw/${CI_COMMIT_SHA}"
- else
- local url="https://gitlab.com/gitlab-org/gitlab/raw/master"
- fi
-
- # Loop through all files and download them one by one sequentially.
- for file in "$@"; do
- local file_url="${url}/${file}"
-
- echo "Downloading file: ${file_url}"
- curl "${file_url}" --create-dirs --output "${file}"
- done
-}