Errors should be handled a bit more nicely now.
The SFTP part could also be done from deploy scripts like:
scp -i {runner.ssh.identity} \
-o UserKnownHostsFile=/dev/null -o StrictHostKeyChecking=no \
{runner.ssh.user}@{runner.ssh.address%:*} -p {runner.ssh.address#*:}
but that is deemed way too annoying, so we do it from Go.
This commit is contained in:
@@ -61,7 +61,13 @@ projects:
|
||||
# Project build script.
|
||||
build: |
|
||||
echo Computing line count...
|
||||
find . -not -path '*/.*' -type f -print0 | xargs -0 cat | wc -l
|
||||
mkdir ~/acid-deploy
|
||||
find . -not -path '*/.*' -type f -print0 | xargs -0 cat | wc -l \
|
||||
> ~/acid-deploy/count
|
||||
|
||||
# Project deployment script (runs locally in a temporary directory).
|
||||
deploy: |
|
||||
cat count
|
||||
|
||||
# Time limit in time.ParseDuration format.
|
||||
# The default of one hour should suffice.
|
||||
|
||||
Reference in New Issue
Block a user