bahmutov / now-pipeline

Simple CI pipeline with goal to deploy new version at Zeit Now cloud if tests pass
141 stars 8 forks source link

Support "BUILDING" state #21

Closed bahmutov closed 7 years ago

bahmutov commented 7 years ago

Current deploys have state BUILDING which right now causes an error

$ now-pipeline --test "cypress run --config baseUrl=$NOW_URL"
BOOTED todomvc-swtllwnzbh.now.sh limit 600 seconds
BOOTED todomvc-swtllwnzbh.now.sh limit 595 seconds
BOOTED todomvc-swtllwnzbh.now.sh limit 590 seconds
BUILDING todomvc-swtllwnzbh.now.sh limit 585 seconds
error during deployment
Something went wrong with the deploy
{"uid":"EJjhnjS1PeV5BoFpitOXCWV8","host":"todomvc-swtllwnzbh.now.sh","state":"BUILDING","stateTs":"2017-05-26T16:32:15.245Z","scale":{"min":0,"max":1,"auto":true}}
Something went wrong
Sometimes restarting pipeline can help
Error: Something went wrong with the deploy
{"uid":"EJjhnjS1PeV5BoFpitOXCWV8","host":"todomvc-swtllwnzbh.now.sh","state":"BUILDING","stateTs":"2017-05-26T16:32:15.245Z","scale":{"min":0,"max":1,"auto":true}}
    at checkDeploy.then.r (/usr/local/lib/node_modules/now-pipeline/src/index.js:77:15)
    at process._tickCallback (internal/process/next_tick.js:109:7)