This PS bumps up Airflow version to the latest
2.8.2 and also bumps up openstack dependences to
Antelope 2023.1
Change-Id: Iae72c6da9406749cf157437495f31dc3b9f6ba2c
This PS updates python modules and code to match Airflow 2.6.2:
- bionic py36 gates were removed
- python code corrected to match new modules versions
- selection of python modules versions was perfoemed based on
airflow-2.6.2 constraints
Change-Id: I9c3e139b3437414a61af7e7c0b7d7e533fadefda
This PS restores image build for ubuntu_bionic and adds appropriate
gates to keep it tested by appropriate functional and integrational
tests.
Change-Id: I8ef524a1f66f1a88593a18334b8c37c4db0175c6
upgrades kubernetes client to v1.26.0
remove installation of containerd during genesis.sh to prevent containerd downgrade
update bitnami kubectl image to image with curl installed for readiness check
Change-Id: I3afd5a7e7211bae3f52263167a62a012da0619a0
add focal dockerfile
update zuul jobs for focal
update tox for tox4 changes
update all requirements to latest and match deckhand
update cfssl from R1.2 to v1.6.3
fixed local gates for focal
updated examples promenade manifests to run on focal
Change-Id: I2af4043784766d36588c6f738053ad66e7b89a90
Readthedocs failed to render Promenade exceptions with error:
> WARNING: autodoc: failed to import exception 'xxx' from module
> 'promenade'; the following exception was raised: No module
> named 'falcon'
Trying to add Promenade requirements to the installed requirements list,
so that Readthedocs has all modules, including those needed for the
Promenade itself.
Unify docs building by utilizing Zuul docs-on-readthedocs template job.
Cosmetic readability changes:
1. combined all Makefile .PHONY targets into one
2. merged multiple LABEL instructions in Dockerfile into one
Change-Id: I731ee3426a631fa765f13ba7091dcb4b9ebd0353
This patch set fixes Promenade's failing documenation job (it
is currently issuing a number of warnings that should be treated
as errors):
/home/zuul/src/git.openstack.org/openstack/airship-promenade/doc/source/configuration/index.rst:10: WARNING: toctree contains reference to nonexisting document 'configuration/encryption-policy'
WARNING: autodoc: failed to import exception 'exceptions.ApiError' from module 'promenade'; the following exception was raised:
No module named 'falcon'
The first one indicates that the file has the wrong extension
and the second one that autodoc is failing to import something
(first case => rename file, second case => add requirement to
test-requirements.txt)
.. http://logs.openstack.org/18/605818/1/gate/airship-promenade-unit-py35/c733138/ara-report/
Change-Id: I974d5929aaac8a6e27d4196eed5f8bc97703e61d
This was removed in Iccf6228ab9e6d621d3047994b3adc192d67273c9 but should
not have been as it has allowed for code format drift.
This also
* Pins the version of yapf to 0.24.0
* Fixes some drift
* Updates formatting to the version of yapf being used
Change-Id: Ie3d9fd6344a29d8ddb76a36d4a31d001a4c8b7c6
This change adds the global zuul pep8 tox job, which runs both
bandit and pep8 using tox. This also removes the two other airship
specific lint-pep8 and bandit zuul jobs since they are both covered
by the default openstack global one.
Also cleaned up the tox.ini by moving the requirements into the
test-requirements.txt file.
Change-Id: Iccf6228ab9e6d621d3047994b3adc192d67273c9
This patchset renames the tox.ini jobs:
* coverage => cover
* lint => pep8
* unit => py35
to comply with OpenStack standards [0].
[0] e.g. 04469a5181/tox.ini (L119)
Change-Id: I1a542c5e36f29d3788df8a5ebdce3cbe49ab4046
This patchset updates docs to doc to align with OpenStack
standard. Follow-up patchset will be needed to publish
documentation to OpenStack [0].
[0] https://docs.openstack.org/doc-contrib-guide/project-guides.html
Change-Id: I0f2346801bc3749e74fcc3104cc2258626747185
- Uplift deckhand commit to include fix for document replacement
- Add pod status polling to genesis bootstrap
Change-Id: I32d22110749b334d1fbf19f910e41ab0b7ff3a16
Running tox -e lint in an environment with python2.7 for example
as the default python interpreter causes the following errors
to be emitted:
lint runtests: commands[0] | yapf -rd /opt/stack/ucp/promenade/promenade /opt/stack/ucp/promenade/tests
lint runtests: commands[1] | flake8 /opt/stack/ucp/promenade/promenade
/opt/stack/ucp/promenade/promenade/renderer.py:18:39: E999 SyntaxError: invalid syntax
/opt/stack/ucp/promenade/promenade/config.py:17:19: E999 SyntaxError: invalid syntax
/opt/stack/ucp/promenade/promenade/tar_bundler.py:17:20: E999 SyntaxError: invalid syntax
/opt/stack/ucp/promenade/promenade/logging.py:76:12: E999 SyntaxError: invalid syntax
/opt/stack/ucp/promenade/promenade/generator.py:11:33: E999 SyntaxError: invalid syntax
/opt/stack/ucp/promenade/promenade/builder.py:15:33: E999 SyntaxError: invalid syntax
/opt/stack/ucp/promenade/promenade/pki.py:59:43: E999 SyntaxError: invalid syntax
/opt/stack/ucp/promenade/promenade/cli.py:13:16: E999 SyntaxError: invalid syntax
This PS just adds basepython=python3.5 to the base [testenv] category
from which jobs like tox -e lint inherit causing tox to use the python3.5
interpreter. Since Promenade only supports Python 3.5+ (since it isn't
tested against anything else), this won't break anything.
Change-Id: I549a02dbfa5f3b53bab26b87ad3042192e315530
* Add ability to fetch design from Deckhand
* Add functional testing for Deckhand design_ref integration
* Update complete example to work with changes to Ceph chart
Change-Id: Ice25a27b340e68a8ab38a23021cd91e032ca537b
* Move docs dependencies out of test-requirements.txt
* Eliminate python version specific test (py35)
* Re-order default envlist to shorten feedback cycle
* Minor whitespace changes
* Simplify versions unit test
* Add /.cache to .gitignore
* Include tests directory in basic format requirements, but not flake8
* Fix sample noauth-api-paste.ini config
Change-Id: I440f5c2d988098287f9914449f7103735f832192
Varying versions of yapf were reformatting the code in slightly
different ways. Freezing all lint deps to avoid related issues.
Change-Id: I2ae889c883fb8954588dabc7a2b02b110d000f33
Includes:
* JSON-schema to validate gate manifests.
* `tox -e gate-lint` job to check gate manifests.
* More robust handling of conformance test results.
* Bufix in `tools/g2/lib/kube.sh` where a missing `fail` method was
called.
Change-Id: I90740f659a691cb6ee92144205976ef97133f7bf
Currently the Dockerfile specifies running `pip install -e ...`, which
will indirectly install dependencies from `requirements.txt`. This is
generally safe, but should be avoided, since we are exclusively using
frozen dependencies.
Change-Id: Ie368ddb9f1229cc248c8d8804c71889c4339aa85
This change includes several interconnected features:
* Migration to Deckhand-based configuration. This is integrated here,
because new configuration data were needed, so it would have been
wasted effort to either implement it in the old format or to update
the old configuration data to Dechkand format.
* Failing faster with stronger validation. Migration to Deckhand
configuration was a good opportunity to add schema validation, which
is a requirement in the near term anyway. Additionally, rendering
all templates up front adds an additional layer of "fail-fast".
* Separation of certificate generation and configuration assembly into
different commands. Combined with Deckhand substitution, this creates
a much clearer distinction between Promenade configuration and
deployable secrets.
* Migration of components to charts. This is a key step that will
enable support for dynamic node management. Additionally, this paves
the way for significant configurability in component deployment.
* Version of kubelet is configurable & controlled via download url.
* Restructuring templates to be more intuitive. Many of the templates
require changes or deletion due to the migration to charts.
* Installation of pre-configured useful tools on hosts, including calicoctl.
* DNS is now provided by coredns, which is highly configurable.
Change-Id: I9f2d8da6346f4308be5083a54764ce6035a2e10c
This PS adds tooling and automation to automatically generate
Promenade's documentation into feature-rich HTML pages that can
be hosted.
To run the documentation job, simply execute:
tox -e docs
Change-Id: I5a925c82544c14c34c1796da5804cf12b45ae575