package
0.0.0-20241212090425-436b1f8e82c3
Repository: https://github.com/getsentry/vroom.git
Documentation: pkg.go.dev
# README
Downloader
Script used to download profiles from the GCS bucket
Prerequisites
- list and read permission for the
sentryio-profiles
bucket
List of profiles to download
In order to download the profiles it's necessary to first create a list of gs
paths of the profiles we want to download.
How To
- authenticate (for gsutil CLI):
gcloud auth login
- set the sentryio project:
gcloud config set project sentryio
- save gs profiles path to a file:
gsutil ls gs://sentryio-profiles/{org_id}/{project_id}/ | head -n {num_of_profiles_we_want} > profiles_list.txt
Download the profiles
How To
- obtain credentials and put them in a well known location for Application Default Credential:
gcloud auth application-default login
- create a folder where the profiles will be stored:
mkdir profiles
- build the downloader:
make downloader
- run the downloader:
./downloader ./profiles_list.txt ./profiles