mirror of
https://github.com/sourcegraph/sourcegraph.git
synced 2026-02-06 19:21:50 +00:00
17 lines
378 B
Bash
Executable File
17 lines
378 B
Bash
Executable File
#!/usr/bin/env bash
|
|
|
|
# UGH
|
|
export CLOUDSDK_PYTHON=/usr/bin/python3
|
|
|
|
set -eu
|
|
cd "$(dirname "${BASH_SOURCE[0]}")/../"
|
|
DATADIR=$(realpath './testdata')
|
|
INDEXDIR="${DATADIR}/indexes"
|
|
|
|
# Ensure target dir exists
|
|
mkdir -p "${INDEXDIR}"
|
|
|
|
# Download all compressed index files in parallel
|
|
gsutil -m cp gs://precise-code-intel-integration-testdata/* "${INDEXDIR}"
|
|
gunzip "${INDEXDIR}"/*
|