Build pipeline: openpipelines-bio.openpipeline-spatial.build-main-kj8js
Source commit: 491efceaaf
Source message: deploy: 7f820d2607f3e1fabc0183915d1bb427715e18ae
19 lines
383 B
Bash
Executable File
19 lines
383 B
Bash
Executable File
#!/bin/bash
|
|
|
|
set -eo pipefail
|
|
|
|
# get the root of the directory
|
|
REPO_ROOT=$(git rev-parse --show-toplevel)
|
|
|
|
# ensure that the command below is run from the root of the repository
|
|
cd "$REPO_ROOT"
|
|
DIR="resources_test/GRCh38"
|
|
|
|
mkdir -p $DIR
|
|
|
|
aws s3 sync \
|
|
--profile di \
|
|
s3://openpipelines-bio/openpipeline_spatial/resources_test/GRCh38 \
|
|
"$DIR" \
|
|
--delete \
|
|
--dryrun |