shipyard/shipyard_airflow
Anthony Lin 2abf00876b Update DeckHand Dag/Operator
We are facing an issue with the Deckhand Client [0]
and will need to skip the 'shipyard_retrieve_rendered_doc'
for the time being while we wait for a resolution for [0].
Note that 'shipyard_retrieve_rendered_doc' is not really needed
for actual deployment to work and was introduced as part of
the Shipyard-270 story.

Also fix bugs with the deckhand operator [2] after [1] was merged.

[0] https://github.com/att-comdev/deckhand/issues/18
[1] https://review.gerrithub.io/#/c/395922/

[2]

Error 1:

INFO - Subtask:   File "/usr/local/airflow/plugins/deckhand_operator.py", line 132, in execute
INFO - Subtask:     revision_id=revision_id)
INFO - Subtask: TypeError: keystone_token_get() got an unexpected keyword argument 'revision_id'

Error 2:

INFO - Subtask:   File "/usr/local/airflow/plugins/deckhand_operator.py", line 219, in deckhand_validate_site
INFO - Subtask:     context['revision_id'])
INFO - Subtask: KeyError: 'revision_id'

Change-Id: I03ce29b24d1b3ff6148f2eb4970614b1389a58a6
2018-01-31 09:16:25 +00:00
..
conf Add database upgrade entrypoint 2018-01-25 09:37:00 -05:00
control Support ValidationMessage for validations 2018-01-30 11:24:12 -05:00
dags Update DeckHand Dag/Operator 2018-01-31 09:16:25 +00:00
db Implement the inquiry API for Shipyard. 2017-10-19 14:54:31 -04:00
plugins Update DeckHand Dag/Operator 2018-01-31 09:16:25 +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
shipyard_upgrade_db.py Add database upgrade entrypoint 2018-01-25 09:37:00 -05: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