mirror of
https://github.com/Stone-Red-Code/dvc.git
synced 2026-11-10 23:10:42 +01:00
deploy: snap: timeout after 10 min (#3547)
Because `snapcraft push` hangs on cloud CI. Imagine if `git push` did the same!
This commit is contained in:
+2
-3
@@ -151,10 +151,9 @@ deploy:
|
||||
tags: true
|
||||
repo: iterative/dvc
|
||||
stage: build
|
||||
- provider: snap
|
||||
snap: dvc_*.snap
|
||||
channel: $SNAP_CHANNEL
|
||||
- provider: script
|
||||
skip_cleanup: true
|
||||
script: "timeout 600 snapcraft push dvc_*.snap --release $SNAP_CHANNEL || echo timed out"
|
||||
on:
|
||||
all_branches: true
|
||||
condition: "$(./scripts/ci/deploy_condition.sh dvc_*.snap) && ($TRAVIS_BRANCH = master || -n $TRAVIS_TAG)"
|
||||
|
||||
Reference in New Issue
Block a user