Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
linux.community
linux-community-site
Commits
f547ae62
Commit
f547ae62
authored
Aug 11, 2016
by
Nigel Kukard
Browse files
Pushed network timeout fixes just incase
parent
f5086ebf
Pipeline
#110
failed with stage
in 27 seconds
Changes
1
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
.gitlab-ci.yml
View file @
f547ae62
...
...
@@ -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/
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment