Commit f547ae62 authored by Nigel Kukard's avatar Nigel Kukard
Browse files

Pushed network timeout fixes just incase

parent f5086ebf
Pipeline #110 failed with stage
in 27 seconds
......@@ -8,6 +8,7 @@ publish:
- apt-get dist-upgrade -y
- apt-get install -y lftp ca-certificates
- echo 'set ssl:ca-file "/etc/ssl/certs/ca-certificates.crt"' >> /etc/lftp.conf
- echo 'set net:timeout "120"' >> /etc/lftp.conf
- lftp -d -e "mirror --exclude ^\.git.* --exclude \.gitlab-ci.yaml -eRv $CI_PROJECT_DIR .; quit;" -p $SERVER_PORT -u $CREDENTIALS https://$SERVER/
- echo 'set net:max-retries "5"' >> /etc/lftp.conf
- echo 'set net:timeout "60"' >> /etc/lftp.conf
- lftp -e "mirror --exclude ^\.git.* --exclude \.gitlab-ci.yaml -eRv $CI_PROJECT_DIR .; quit;" -p $SERVER_PORT -u $CREDENTIALS https://$SERVER/
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment