2015-10-15 4 views
0

Начал работать с развертыванием бездействия Zero в Dokku, и он не может проверить файл CHECKS.Dokku zero downtime deploy CHECKS failed

ПРОВЕРКИ файл контента, /home/dokku/oktob/CHECKS

WAIT=30  # Wait 1/2 minute 
TIMEOUT=60 # Timeout after a minute 
ATTEMPTS=10 # attempt checks 10 times 

/pages/about [email protected] 
/assets/twitter-f5f5e668ebe5e0324b1cc9f568d47e2d.jpg 

Приложение работает на 178.62.102.155, первый путь является about page, а второй является image

Это сообщение о сбое развертывания

-----> Discovering process types 
     Procfile declares types -> web 
-----> Releasing oktob... 
-----> Deploying oktob... 
-----> Checking status of PostgreSQL 
     Found image postgresql/oktob database 
     Checking status... ok. 
-----> Running pre-flight checks 
Waiting 5 seconds ... 
checking with: curl -q --compressed --fail --location --max-time 30 http://172.17.1.167:5000WAIT=30 
remote: % Total % Received % Xferd Average Speed Time Time  Time Current 
remote:         Dload Upload Total Spent Left Speed 
remote: 0  0 0  0 0  0  0  0 --:--:-- --:--:-- --:--:--  0curl: (6) Could not resolve host: 172.17.1.167:5000WAIT=30 
remote: /usr/local/bin/dokku: line 42: 21380 Killed     dokku deploy "$APP" 
To [email protected]:oktob 
! [remote rejected] zero-downtime-deploy -> master (pre-receive hook declined) 
error: failed to push some refs to '[email protected]:oktob' 

ответ

0

Я добавил файл CHECKS внутри корня приложения Rails, и он работает.