Cache insights projects data to s3
Assumed installs:
go 1.15+
cd ~/go/ && \
mkdir -p src/github.com/LF-Engineering/ && \
git clone git@github.com:LF-Engineering/insights-cache-projects ~/go/src/github.com/LF-Engineering/insights-cache-projects && \
cd ~/go/src/github.com/LF-Engineering/insights-cache-projects
make build
$ go run main.go -h
Caches insights projects to s3
Usage:
cache-projects [flags]
Flags:
-h, --help help for cache-projects
Required Env Variables
export ENVIRONMENT = (prod | test)
export AWS_ACCESS_KEY_ID=xxxxx
export AWS_SECRET_ACCESS_KEY=xxxxxx
export AWS_REGION=xxxx