forked from infra/ansible
websites: restart S3 sync if it fails
This commit is contained in:
parent
c56b70e09f
commit
c8d93a8e0f
1 changed files with 1 additions and 2 deletions
|
|
@ -23,8 +23,7 @@ spec:
|
|||
command: ["/bin/bash", "-c"]
|
||||
args:
|
||||
- |
|
||||
s3cmd sync /output/ s3://${BUCKET_NAME}/ --host ${BUCKET_HOST}:$BUCKET_PORT --host-bucket=${BUCKET_NAME}.${BUCKET_HOST}:$BUCKET_PORT --no-check-certificate --delete-removed
|
||||
sleep infinity
|
||||
s3cmd sync /output/ s3://${BUCKET_NAME}/ --host ${BUCKET_HOST}:$BUCKET_PORT --host-bucket=${BUCKET_NAME}.${BUCKET_HOST}:$BUCKET_PORT --no-check-certificate --delete-removed --stats && sleep infinity
|
||||
imagePullPolicy: Always
|
||||
envFrom:
|
||||
- configMapRef:
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue