Reputation: 133
I use deploy gcs option in travis-ci, you can see documentation here https://docs.travis-ci.com/user/deployment/gcs/. But my deployement take more than 10 minutes.
No output has been received in the last 10m0s,
this potentially indicates a stalled build or something wrong with the build itself.
Check the details on how to adjust your build configuration on:
https://docs.travis-ci.com/user/common-build-problems/#Build-times-out-because-no-output-was-received
But I don't find option to change timeout ? How it's possible ?
Upvotes: 0
Views: 205
Reputation: 2663
From https://github.com/travis-ci/dpl/issues/568#issuecomment-272465349
There is no configuration tweak for deployment timeout, but you could add a background process that writes something to STDOUT before the deployment starts. This will prevent your deployment from getting killed when 10 minutes is up.
For the least visual infractions, one can write visual bells (\a
):
yaml
before_deploy: |
function keep_alive() {
while true; do
echo -en "\a"
sleep 5
done
}
keep_alive &
Upvotes: 1