
- upgraded Airflow to 1.10.15 - https://airflow.apache.org/docs/apache-airflow/1.10.15/changelog.html - disabled xenial, bionic and opensuse images build gates - added focal image build gate - added focal zuul build node - adjusted Makefile for focal - added bindep.txt to utilize bindep zuul base role for zuul build node pre-setup - added focal Dockerfile - implemented freeze requirements.txt approach like in other Airship projects - removed specific requirements.txt for airflow in favor of using requirements-frozen.txt from shipyard_airflow project when building airflow docker image - fixed docker image publishing to Quay - replaces deprecated LOG.warn with new LOG.warning call - replaced deprecated body attribute in responce wiht responce.text attribute - update of falcon module deprecated .API call - replaced wiht falcon.App call - deprecated routing.create_http_method_map method replaced with routing.map_http_methods - re-formatted code tabulations based on yapf recommendations - replaced deprecated protocol attribute in Pytest create_environ() with http_version attribute - replaced deprecated app attribute in Pytest create_environ() with root_path attribute - fixed airflow CLI commands to match 1.10.15 version - updated zuul gates to work on focal nodes and added focal specific node setup items by adding appriate ansible tasks and roles - uplifted Helm to 3.9.4 - uplifted stable HTK commit id - updated tox.in to with with tox v4 - uplifted dependences references to other Airship projects - common python dependences were syncronized with other Airship projects(Promenade, Deckhand, Armada, Drydock) - fixed airskiff deployment gate - fixed genconfig* profiles in shipyard-airflow tox.ini responsible for maintanance of policy.yaml.sample and shipyard.conf.sample Change-Id: I0c85187dc9bacf0849382563dd5ff7e9b2814c59
55 lines
1.4 KiB
INI
55 lines
1.4 KiB
INI
[tox]
|
|
skipsdist=True
|
|
envlist = all_jobs, docs
|
|
|
|
[testenv]
|
|
setenv=
|
|
PYTHONWARNING=all
|
|
passenv=
|
|
HTTP_PROXY
|
|
HTTPS_PROXY
|
|
http_proxy
|
|
https_proxy
|
|
NO_PROXY
|
|
no_proxy
|
|
|
|
[testenv:venv]
|
|
commands = {posargs}
|
|
|
|
# Please use `make docs` instead
|
|
[testenv:docs]
|
|
allowlist_externals=
|
|
rm
|
|
cp
|
|
tox
|
|
commands=
|
|
tox -c {toxinidir}/src/bin/shipyard_airflow/tox.ini -e gen_all
|
|
cp {toxinidir}/src/bin/shipyard_airflow/etc/shipyard/policy.yaml.sample {toxinidir}/doc/source/_static/shipyard.policy.yaml.sample
|
|
cp {toxinidir}/src/bin/shipyard_airflow/etc/shipyard/shipyard.conf.sample {toxinidir}/doc/source/_static/shipyard.conf.sample
|
|
rm -rf {toxinidir}/doc/build
|
|
sphinx-build -W -b html {toxinidir}/doc/source {toxinidir}/doc/build/html
|
|
deps= -r{toxinidir}/doc/requirements.txt
|
|
|
|
# `all_jobs` is here to support invocation as simply `tox`, as is done in
|
|
# current pipeline.
|
|
[testenv:all_jobs]
|
|
allowlist_externals=
|
|
tox
|
|
commands=
|
|
tox -c {toxinidir}/src/bin/shipyard_airflow/tox.ini
|
|
tox -c {toxinidir}/src/bin/shipyard_client/tox.ini
|
|
|
|
[testenv:py38]
|
|
allowlist_externals=
|
|
tox
|
|
commands=
|
|
tox -c {toxinidir}/src/bin/shipyard_airflow/tox.ini -e py38
|
|
tox -c {toxinidir}/src/bin/shipyard_client/tox.ini -e py38
|
|
|
|
[testenv:pep8]
|
|
allowlist_externals=
|
|
tox
|
|
commands=
|
|
tox -c {toxinidir}/src/bin/shipyard_airflow/tox.ini -e pep8
|
|
tox -c {toxinidir}/src/bin/shipyard_client/tox.ini -e pep8
|