Commit Graph

10 Commits

Author SHA1 Message Date
Al Bailey 932ff63d6d Update tox.ini to work with tox 4
This change will allow this repo to pass zuul now
that this has merged:
https://review.opendev.org/c/zuul/zuul-jobs/+/866943

Tox 4 deprecated whitelist_externals.
Replace whitelist_externals with allowlist_externals

Partial-Bug: #2000399

Signed-off-by: Al Bailey <al.bailey@windriver.com>
Change-Id: Id3fc303e6febdbe434bb3e3b70d8e4e94cc098ed
2022-12-27 01:29:24 +00:00
Thiago Brito 4d34b1ac65 Add flake8-import-order and use python3.9 on tox
Improving the code quality of upstream by adding the flake8 check on
zuul and adding the flake8-import-order plugin to standardize imports.
Also, defaults testenv to python3.9 configuration that should be used
for now on with the debian migration.

Story: 2010100
Task: 45669
Signed-off-by: Thiago Brito <thiago.brito@windriver.com>
Change-Id: I55aa952c4f22a7af53e1f1c11a4a51997afa4bcf
2022-06-22 21:59:14 +00:00
Al Bailey c3aafc8cea Remove unused openstack files that are no longer in use
Containerized builds do not use src rpms, but instead
build directly from git repos or upstream sources.

A clean workspace build passed, as well as building wheels and
containers.

A later commit will remove or rename the containerized pike
files, which are almost all not being built anymore.

Removing:
 aodh
 ceilometer
 cinder
 glance
 glance-store
 gnocchi
 ironic
 heat
 magnum
 magnum-ui
 murano
 murano-ui
 nova
 neutron
 neutron-lib
 python-networking-bgpvpn
 python-networking-sfc
 python-networking-odl
 python-neutron-dynamic-routing
 panko
 panko-config

This also fixes some minor tox issues
1) bashate needed the argument -r to handle empty input to xargs
2) bashate needs to process files individually otherwise
failures may not be reported.
3) bashate line too long no longer needed to be suppressed since
the file with the issue was removed.

The existing folders still exist to provide the docker image
directives.  A future commit may relocate the docker image
directives into their own centralized location.

Story: 2004764
Task: 30213
Change-Id: I4b724e4630593326dead7e86b0bfc74b556cfb9f
Signed-off-by: Al Bailey <Al.Bailey@windriver.com>
2019-03-28 08:54:38 -05:00
Kristine Bujold cf99b286ce Remove wrs-heat-templates SDK Module
With the StarlingX move to supporting pure upstream OpenStack, the
majority of the SDK Modules are related to functionality no longer
supported. The remaining SDK Modules will be moved to StarlingX
documentation.

Examples of templates can be found here
https://github.com/openstack/heat-templates

Story: 2005275
Task: 30164

Change-Id: I17c33432c7384471627bbd8493239c4a575e7888
Signed-off-by: Kristine Bujold <kristine.bujold@windriver.com>
2019-03-25 12:58:28 -04:00
98k d92353b985 fix tox python3 overrides
We want to default to running all tox environments under python 3, so
set the basepython value in each environment.

We do not want to specify a minor version number, because we do not
want to have to update the file every time we upgrade python.

We do not want to set the override once in testenv, because that
breaks the more specific versions used in default environments like
py35 and py36.

Change-Id: I525cf90bc8a9e61b4cd682ba8e95d9e70f7f61f3
2018-10-05 11:05:44 +00:00
Abraham Arce f1911d6904 [Doc] Release Notes Management
Baseline changes to comply with Release Notes Management
based in Reno [0]:

* Use build-openstack-releasenotes job for release notes
  (We can't use the OpenStack releasenotes template as it includes
  publish jobs, stx needs its own)
* Add newnote tox environment as convenience for creating new release
  notes, re-using the releasenotes venv.
* Changed to SPDX-License-Identifier: Apache-2.0

[0] https://docs.openstack.org/reno/latest/

Story: 2003101
Task: 26722

Change-Id: I5643b035a660a257a1e0b9ca2d70e8fe5cb13d3a
Signed-off-by: Abraham Arce <abraham.arce.moreno@intel.com>
2018-09-25 14:43:18 -05:00
Abraham Arce 31405554d1 [Doc] Building docs following Docs Contrib Guide
Baseline changes to comply with OpenStack Documentation
Contributor Guide [0] starting with the following sections:

- Project guide setup
  - [1] sphinx-quickstart
  - [2] doc/source/ layout
- Building documentation
  - [3] tox -e docs
- Using documentation tools
  - [4] openstackdocstheme
- Use build-openstack-docs-pti job template for docs
- Adding SPDX-License-Identifier: Apache-2.0

[0] https://docs.openstack.org/doc-contrib-guide
[1] http://www.sphinx-doc.org/en/master/usage/quickstart.html
[2] https://docs.openstack.org/doc-contrib-guide/project-guides.html
[3] https://docs.openstack.org/doc-contrib-guide/docs-builds.html
[4] https://docs.openstack.org/openstackdocstheme/

Story: 2002708
Task: 26720

Story: 2002813
Task: 26721

Change-Id: I96b3ad56b8de2a7a21008e976f2fedee149c1e22
Signed-off-by: Abraham Arce <abraham.arce.moreno@intel.com>
2018-09-25 14:41:22 -05:00
Sun Austin f01fd03136 Fix linters error and enable linters zuul gate
Fix below linters errors and exclude openstack path for linter
E003 Indent not multiple of 4
E011 Then keyword is not on same line as if or elif keyword
E001 Trailing Whitespace

ignore :
E006 Line too long

Story: 2003372
Task: 24435

Change-Id: I9221fc4c07633c49d8a7cb9afa0f6a1624304cb9
Signed-off-by: Sun Austin <austin.sun@intel.com>
2018-08-31 13:24:21 +08:00
Sun Austin 0de76ec71d flake8 codestyle fixes and tox flake8 setting enable
Fix major below issues:
E741 ambiguous variable name 'l'
./openstack/python-horizon/centos/files/guni_config.py
E402 module level import not at top of file
./openstack/python-horizon/centos/files/local_settings.py
E265 block comment should start with '# '
./openstack/python-horizon/centos/files/local_settings.py

Story: 2003428
Task: 24617

Change-Id: I9d4d6c33ce032849f09e2ec232c83909fc6690a3
Signed-off-by: Sun Austin <austin.sun@intel.com>
2018-08-24 23:19:50 +08:00
Dean Troyer 24c92163e4 Add default test framework
Change-Id: I63420abc27ebd4ee33ae39112d8cbdf15e138200
Signed-off-by: Dean Troyer <dtroyer@gmail.com>
2018-06-12 10:26:12 -05:00