Skip to content

Commit

Permalink
Merge pull request #32 from ministryofjustice/NIT-1098-alfresco-autom…
Browse files Browse the repository at this point in the history
…ate-data-refresh-process-correct-config

NIT-1098 remove forgotten debug options
  • Loading branch information
pete-j-g authored Mar 20, 2024
2 parents f3e2607 + 8292a45 commit eaaa0b0
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 5 deletions.
2 changes: 0 additions & 2 deletions jobs/refresh-db.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -9,8 +9,6 @@ data:
set -e
echo "${SRC_DB_HOST}:5432:${SRC_DB_NAME}:${SRC_DB_USER}:${SRC_DB_PASS}" > ~/.pgpass
echo "${DST_DB_HOST}:5432:${DST_DB_NAME}:${DST_DB_USER}:${DST_DB_PASS}" >> ~/.pgpass
ls -a ~
echo $HOME
chmod 0600 ~/.pgpass
set -x
Expand Down
7 changes: 4 additions & 3 deletions jobs/refresh-s3.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -6,10 +6,11 @@ metadata:
data:
entrypoint.sh: |-
#!/bin/sh
set -xe
aws configure set default.s3.max_concurrent_requests 2000
echo $SRC_BUCKET
echo $DST_BUCKET
aws s3 sync s3://$SRC_BUCKET/ s3://$DST_BUCKET/ --delete --dryrun
aws s3 sync s3://$SRC_BUCKET/ s3://$DST_BUCKET/ --delete
---
apiVersion: batch/v1
kind: Job
Expand Down

0 comments on commit eaaa0b0

Please sign in to comment.