shipyard/shipyard_airflow
Anthony Lin a02f79a729 Increase timeout and Update deckhand_load_yaml Script
We are getting the following errors in [0] when executing
the shipyard CLI due to timeout issue.

We will be increasing the timeout from 30 seconds to 60
seconds to allow more time for site validations.

There is another problem with the deckhand_load_yaml script
as the environment variables were defined but not exported.

This p.s. is meant to address these 2 issues.

[0] Error messages

root@genesis:~# shipyard commit configdocs
Error: Validations failed
Reason: Validation
- Error: Drydock unable to validate configdocs
- Error: HTTPConnectionPool(host='drydock-api.ucp.svc.cluster.local', port=9000): Read timed out. (read timeout=30)
- Error: Armada unable to validate configdocs
- Error: HTTPConnectionPool(host='armada-api.ucp.svc.cluster.local', port=8000): Read timed out. (read timeout=30)
root@genesis:~#

Change-Id: Ia04d244077c9f809e19aca1b47ce178eb5984b0c
2018-01-08 18:27:58 +00:00
..
conf Refactor UCP Health Check Operator 2017-12-18 17:24:28 +00:00
control Increase timeout and Update deckhand_load_yaml Script 2018-01-08 18:27:58 +00:00
dags Include Promenade in Preflight Check 2017-12-21 16:39:51 +00:00
db Implement the inquiry API for Shipyard. 2017-10-19 14:54:31 -04:00
plugins Update DryDock Operator 2018-01-03 16:05:03 +00:00
README.md Update configparser to align with Python3 2017-06-11 21:53:08 -05:00
__init__.py Add deploy site DAG skeleton 2017-08-15 16:23:42 -05:00
errors.py Logging to use request scope provided by uwsgi and standard logging filters 2017-11-21 14:45:40 -06:00
policy.py Shipyard API for Configdocs Status 2018-01-05 09:50:09 -06:00
shipyard.py Logging to use request scope provided by uwsgi and standard logging filters 2017-11-21 14:45:40 -06:00

README.md

Shipyard Airflow

A python REST workflow orchestrator

To run:

$ virtualenv -p python3 /var/tmp/shipyard
$ . /var/tmp/shipyard/bin/activate
$ python setup.py install
$ uwsgi --http :9000 -w shipyard_airflow.shipyard --callable shipyard -L