Commit Graph

9 Commits

Author SHA1 Message Date
Adrian Vladu 28f4fbbd45 Fix Python 3 unit tests
Removed the functools partial from being mocked, as it is used
internally in the mocking implementation and generates unit test error.

Updated tox / unit test requirements according to new OpenStack gate
requirements.

Updating the tox requirements added a new set of flakes rules that had
to be skipped for now, which will be addressed in upcoming patches.

Change-Id: I231ca3b15313541e2c43785e80d9db5659aa1cc3
2020-09-30 15:14:05 +03:00
Adrian Vladu 493e57c195 Add support for jinja as userdata template engine
If the userdata starts with the text '## template:jinja',
Jinja2 templating engine will be used to render that
userdata.

This feature leverages the get_instance_data metadata
service implementation and tries to be as close as possible
with the cloud-init's implementation.

Change-Id: I79cb0066f7d65ae27867ac01b443e9be432b4dc3
2020-01-21 14:36:16 +02:00
Claudiu Belu a54fc82106 Updates tox.ini's cover environment
The openstack-tox-cover job expects a coverage report at the end.
This patch updates the cover environment in tox.ini, bringing it
in line with the other repos.

This also adds stestr in test-requirements, which is needed by the
new coverage env.

Finally, removes the cloudbaseinit import from releasenotes.
According to [1], a project shouldn't necessarely be installed
in order to build its releasenotes.

[1] http://lists.openstack.org/pipermail/openstack-dev/2017-November/124480.html

Change-Id: I77dfe57f1190fc62f7bd19284e2c86d55bb1804a
2018-10-05 08:14:04 -07:00
Claudiu Belu 74e3457769 Adds releasenotes configuration
Adds the necessary bits for the reno support.

Change-Id: Ib76aeb5e2e5616bfb6a293684de50eb727e012a7
2017-07-21 11:25:12 +00:00
Claudiu Belu 47d48afa75 updates hacking requirement
The current hacking requirement breaks the gate, due to
conflicting pbr requirements across the project's dependencies.

Change-Id: I804487c610198d9ea1b29db3c69414c54ffbe87d
2017-03-02 17:35:34 +02:00
Cosmin Poieana a48c33e280 Add cloudbase-init Sphinx documentation
Document plugins, metadata services, configuration file,
how the project is supposed to work and some user related usecases.

Change-Id: I184a9409a9e9173c346f0ab149cb7d78ed87e0b3
2015-09-04 20:46:15 +03:00
Claudiu Popa fccf0e6f00 Move to the new oslo_config and oslo_log modules
Since a couple of releases ago, the old oslo.config is now
oslo_config, the same thing happening to oslo.log as well.
This patch also removes the vendorized openstack package,
since it's redundant now that oslo_log is out of the
incubator.

Change-Id: Iae1318aa0d2a9aab2d4f6af7d11ed1dfda51e733
2015-08-12 17:43:45 +03:00
Alessandro Pilotti 23ddd33fa4 Fixes requirements on Linux
Platform specific requirements can not be included in requirements.txt

Includes also:

* testr configuration file
* PEP8 fixes
* Unit test fixes for passing OpenStack Jenkins checks

Change-Id: I6f3f367f3316e0b506bb62e66d7671f9e52c72b5
Closes-Bug: #1376816
2014-10-05 22:20:58 +03:00
Alessandro Pilotti 2177b88d14 Move setup to pbr usage 2014-02-10 05:33:17 +02:00