Skip to content

Commit

Permalink
[bsc] fix s5cmd excludes
Browse files Browse the repository at this point in the history
  • Loading branch information
voron committed Nov 4, 2023
1 parent 9af913a commit c1a3003
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions dysnix/bsc/templates/scripts/_init_from_gcs.tpl
Original file line number Diff line number Diff line change
Expand Up @@ -12,8 +12,8 @@ INITIALIZED_FILE="${DATA_DIR}/.initialized"
#without gs:// or s3://, just a bucket name and path
INDEX_URL="{{ .Values.bsc.initFromGCS.indexUrl }}"
S5CMD=/s5cmd
EXCLUDE_ANCIENT='--exclude "*.cidx" --exclude "*.ridx" --exclude "*.cdat" --exclude "*.rdat"'
EXCLUDE_STATE='--exclude "*.ldb"'
EXCLUDE_ANCIENT="--exclude *.cidx --exclude *.ridx --exclude *.cdat --exclude *.rdat"
EXCLUDE_STATE="--exclude *.ldb"
INDEX="index"
S_UPDATING="/updating"
S_TIMESTAMP="/timestamp"
Expand Down
4 changes: 2 additions & 2 deletions dysnix/bsc/templates/scripts/_sync_to_gcs.tpl
Original file line number Diff line number Diff line change
Expand Up @@ -26,8 +26,8 @@ RMLOG="${DATA_DIR}/rmlog.txt"
RMLIST="${DATA_DIR}/rmlist.txt"

# s5cmd excludes just by file extension, not by file path
EXCLUDE_ANCIENT='--exclude "*.cidx" --exclude "*.ridx" --exclude "*.cdat" --exclude "*.rdat"'
EXCLUDE_STATE='--exclude "*.ldb"'
EXCLUDE_ANCIENT="--exclude *.cidx --exclude *.ridx --exclude *.cdat --exclude *.rdat"
EXCLUDE_STATE="--exclude *.ldb"

S_UPDATING="/updating"
S_TIMESTAMP="/timestamp"
Expand Down

0 comments on commit c1a3003

Please sign in to comment.