Commit Graph

44 Commits

Author SHA1 Message Date
Ghanshyam Mann 0eddd35da5 Update python classifier in setup.cfg
As per the current release tested runtime, we test
till python 3.11 so updating the same in python
classifier in setup.cfg

Change-Id: I462764b6ff8f8da0270daba82f2d6937070ba3c7
2024-01-08 20:21:53 -08:00
wu.chunyang 8ccad439a4 Add python 3.10 to setup.cfg metadata
Add python 3.10 to setup.cfg
refer to https://governance.openstack.org/tc/reference/runtimes/2023.2.html

Change-Id: I008e32434e5046e3d7d2bd0cdf08ff3a37dc59b3
2023-06-21 09:36:55 +08:00
jiaqi07 3c0a54ed81 Drop support for python 3.6 and 3.7
In Zed cycle, we have dropped the python 3.6/3.7[1] testing
and its support. Updating the python classifier also to reflect the same.

[1] https://governance.openstack.org/tc/reference/runtimes/zed.html

Change-Id: If7955df1073adadad2d306c3d9b74d1479cd334a
2022-08-30 05:52:32 +00:00
wu.shiming eb79ef827d Updating python testing classifier as per Yoga testing runtime
Yoga testing runtime[1] has been updated to add py39
testing as voting. Unit tests update are handled by the
job template change in openstack-zuul-job

- https://review.opendev.org/c/openstack/openstack-zuul-jobs/+/820286

this commit updates the classifier in setup.cfg file.

[1] https://governance.openstack.org/tc/reference/runtimes/yoga.html

Change-Id: I86613b863e40fc0d22a12fc230ef57f45ee9db25
2022-02-16 16:26:48 +08:00
Pierre Riteau 8c9cfb07f7 setup.cfg: Replace dashes with underscores
Setuptools v54.1.0 introduces a warning that the use of dash-separated
options in 'setup.cfg' will not be supported in a future version [1].
Get ahead of the issue by replacing the dashes with underscores. Without
this, we see 'UserWarning' messages like the following on new enough
versions of setuptools:

  UserWarning: Usage of dash-separated 'description-file' will not be
  supported in future versions. Please use the underscore name
  'description_file' instead

[1] https://github.com/pypa/setuptools/commit/a2e9ae4cb

Change-Id: I11660b10e55b3e6e0d7056d49a68f74eff61094c
2021-05-05 10:00:17 +02:00
zhangboye 37de8cd8e9 Add py38 package metadata
Change-Id: I82365abd451755e3403529e98358f6f44a3c8e66
2020-05-22 16:14:15 +08:00
Radosław Piliszek 6c480c3d89 Cleanup py27 support
Removes and/or replaces all mentions of py27.

Cleans up obsolete requirements and their lower-constraints.

Change-Id: Id43f1bbd6a454832ab8dbf003a058403f6b34b5d
2020-04-17 18:07:29 +02:00
Marcin Juszkiewicz ceae02f09d Get rid of Python 2 support
2020 came, everyone should be using Python 3 now.

As per the official python support timeline set forth
by the OpenStack TC [1], OpenStack Train (in our case,
kolla 9.x) is the last release that will support python2.7.

[1] https://governance.openstack.org/tc/resolutions/20180529-python2-deprecation-timeline.html

Related bug: https://bugs.launchpad.net/tripleo/+bug/1856678

Merging depends on TripleO team - once they move CI job to CentOS 8 we
can merge.

Implements: blueprint drop-py2-support

Change-Id: Ic459561ab6ab8c62993c044c7a82d887839da289
2020-02-17 18:01:41 +00:00
caoyuan 749df3ced3 setup.cfg: Cleanup
- pbr hasn't need the hook configuration since forever [1]

[1] c84876dc0f

Change-Id: I5fdbed24a588f72247f1cc1a384726b556ee6de0
2019-10-13 00:48:14 +08:00
confi-surya b21b19105e Update programming language mentioned in setup.cfg
As py35 has been dropped and py36, py37 jobs are running, so
updated the setup.cfg accordingly.

Change-Id: I85af2a9116d9b15a4fa6b35cb562f4de277a828f
2019-03-14 16:47:58 +05:30
Zuul 0ac6162cf2 Merge "Change openstack-dev to openstack-discuss" 2018-12-18 14:41:50 +00:00
Michal Nasiadka a8eafa8034 Add contrib/ dir to setup.cfg
contrib directory contains ovs-dpdk.j2 template override, but
exists only in git repository - not in the pip package contents.

Change-Id: Ic034331032810a2003a328b82492c6fd56ddd85f
Closes-Bug: #1808302
2018-12-13 10:10:49 +01:00
zhangbailin 3d9bcb93f4 Change openstack-dev to openstack-discuss
Mailinglists have been updated. Openstack-discuss replaces
openstack-dev.

Change-Id: I600b78dd0ec1708e1ed34aac5364ff9e90ce8c01
2018-12-04 01:49:28 -05:00
confi-surya 0f2c0d54b8 Following the new PTI for document build
For compliance with the Project Testing Interface [1] as described in
[2]

[1]
https://governance.openstack.org/tc/reference/project-testing-interface.html
[2]
http://lists.openstack.org/pipermail/openstack-dev/2017-December/125710.html

Change-Id: Ic0b3f6c24b3229bbee19b39f9264a40884c700c9
2018-04-12 13:48:50 +09:00
chenxing 5493fb64e1 Rearrange existing documentation to fit the new standard layout
For more detail, see the doc migration spec.
http://specs.openstack.org/openstack/docs-specs/specs/pike/os-manuals-migration.html

Partially-Implements: blueprint queens-doc-restructure

Co-Authored-By: Kurt Taylor <kurt.r.taylor@gmail.com>
Change-Id: Iab93bf023a13b953a31152b91d4fea0fa75bf2d0
2017-10-11 14:06:08 +08:00
chenxing 7384f7eae5 Update the documentation link for doc migration
Change-Id: I93ecb6c27c2780e9cd86c8df065302b216fe7850
2017-07-21 09:50:25 +00:00
Eduardo Gonzalez 5289c6b428 Fix doc build warnings
Fix warnings:
doc/image-building.rst:415:undefined label: deploy_a_registry
(if the link has no caption the label must precede a section header)

Change-Id: I8d921f3b05acf9304ccf41e172926887088b97d7
2017-07-13 16:26:41 +01:00
chenlx 50f75729eb Use https links for documentation
Use https instead of http to ensure the safety.

Change-Id: Iaf09b5b878e117d2333c30b8a769304a4a20f7ee
2017-06-12 23:06:35 +08:00
indicoliteplus 044eb6b213 Remove py34 settings from gating
The gating on python 3.4 is restricted to <= Mitaka. This is due to
the change from Ubuntu Trusty to Xenial, where only python3.5 is
available. There is no need to continue to keep these settings.

Change-Id: I04cc81852392e659dca0002b33f037383fb814c3
2017-03-20 20:31:40 +08:00
Paul Bourke 10e649a5f8 Remove kolla-genpwd from setup.cfg
This is now in kolla-ansible
Co-Authored-By: caoyuan <cao.yuan@99cloud.net>

Change-Id: I787a8ba7053f55480125dda64737466300bf7357
2017-01-05 10:11:06 +08:00
Jenkins 8584ec2bf5 Merge "Clean up docs around local registry" 2016-11-22 13:29:48 +00:00
Jeffrey Zhang 6b7a173a3b Remove tools/init-runonce in setup.cfg
tools/init-runonce script is removed. But it is not removed in
setup.cfg.

Change-Id: I9b56304711bb25d24bff4d625346e86b4c36f564
2016-11-18 23:01:39 +08:00
Steven Dake 3fcef82946 Remove Ansible from Kolla
Change-Id: I5396e4b9927d3e65b6aa4185238a43a4765a996b
2016-11-15 21:34:17 -07:00
Paul Bourke d8fec8ec0a Clean up docs around local registry
* Remove duplicated info between the 'image-building' and 'multinode'
  guides regarding deploying a local insecure registry.

* Add a helper script to easily start a local registry in a consistent
  way.

* Remove warnings around bugs in older registries, 2.3+ is now the
  default

* Remove references to running the local registry on port 4000, this
  causes confusion as Docker expects port 5000 by default unless
  specified, and registries are not required for all-in-one deployments
  anyhow.

TrivialFix

Change-Id: I89f231df09102e3f1d5f21c8a8ca938ea60ae95b
2016-11-15 12:52:37 +00:00
Steven Dake d323d39b66 Set the license field in pip
TrivialFix

Change-Id: I2aa6ec14f6d9da40423eabc9cd170826a65ba194
2016-11-02 04:51:13 -07:00
Borne Mace 9685eca025 Added missing cleanup-images in setup.cfg
The destroy playbook calls the cleanup-images script.  All other
scripts related to destroy were in setup.cfg while cleanup-images
was missing.

TrivialFix

Change-Id: I3d5dc435d03aded9e8b415dda8435b5e1c5ec937
2016-10-10 14:11:17 -07:00
Lu lei df40ff8914 Fix Kolla home-page URL
The link http://docs.openstack.org/developer/openstack-projects.html
contains project-specific documentation for OpenStack services and
libraries.
And here you will see kolla home-page url as follow:
http://docs.openstack.org/developer/kolla/

TrivialFix.

Change-Id: I77d822f3f7211d02d58529128f9b37d6096ca32a
2016-08-18 10:56:50 +08:00
Christian Berendt 18fb1b2412 Add "Programming Language :: Python :: 3" to setup config file
TrivialFix

Change-Id: Ifd7a60d4cf25e7ec628ad6913803539b8edc83e8
2016-08-01 01:48:40 +02:00
Yatin Kumbhare bcebc7cb47 Add Python 3.5 classifier and venv
Now that there is a passing gate job, we can claim support for
Python 3.5 in the classifier. This patch also adds the convenience
py35 venv.

Change-Id: Ia7b1fb88ac108e1e8fd6ed963967e731ae3ca5a4
Closes-Bug: #1603006
2016-07-14 15:59:37 +05:30
Mauricio Lima 8588bd655e Add a role to cleanup containers after deployment
Change-Id: I5f422574d7e50ec9a1e5862b66ecbf39fe1594d2
Closes-Bug: #1531721
Implements: blueprint ansible-cleanup-role
2016-04-19 10:00:59 -04:00
Steven Dake 801ef2e843 Add reno support
For proper release note generation on the releases.openstack.org
website, this change will need to be backported into mitaka and
liberty as well.  Then a special one-file reno file will have to
be added for mitaka describing the features and the same story
for liberty.

See log of the discussion here:
http://eavesdrop.openstack.org/irclogs/%23openstack-release/%23openstack-release.2016-03-23.log.html#t2016-03-23T18:00:05

Change-Id: I3c298ae08ec4645f384ea5829cb0851fe82f4557
Partially-Implements: blueprint add-reno
2016-03-23 11:59:35 -07:00
Steven Dake 31634c4df4 Add PBR generation of version information
Change-Id: I6391392645d8608a92c885071b26210eed3f5466
Partially-Implements: blueprint add-reno
2016-03-22 20:45:46 -07:00
SamYaple f03e06e09b Add generate_passwords.py to generate passwords
As with all tools, this is a first pass at the generation. Perhaps we
even want to move this into kolla/kolla/cmd and be generated with tox
itself in the future.

This tool, when run, will only populate empty fields that have no
values meaning that it is safe to run repeatedly on the same file.

Of note, there is no way to preserve comments in the file after it has
been processed by the yaml parser in python. Comments and sections
will remain in the passwords.yml template for additional documentation
if the user wishes to populate the file themselves.

Use SystemRandom and clean up the docs a bit to not use pronouns.

Co-Authored-By: Steven Dake <stdake@cisco.com>

Closes-Bug: #1559266
Change-Id: I2932d592df8871f1b7811059206d0b4d0553a687
2016-03-21 17:02:23 +00:00
Éric Lemoine 645be62c5c Remove unexisting data_files in setup.cfg
TrivialFix

Change-Id: Ib5621f21d51f05acd851801134a97bac283b6c74
2016-02-02 17:46:17 +01:00
Jeffrey Zhang 620d610eaa Generate the kolla-build.conf file using oslo_config
Closes-Bug: #1530122
Change-Id: I96039eade2aacf1bcd9d14d958cdddd915fc9a5c
2016-01-06 08:11:06 +08:00
SamYaple 82fcf8fad0 Fix version in master
Master version was still set to 1.0.0. This became alot more obvious
in a recent patch when we started pulling that version number for the
tag...

TrivialFix

Change-Id: Ie9c95a4dc606d0527c44fcd624b4473e45f7f3cf
2015-12-27 17:59:31 +00:00
Proskurin Kirill 8b5afbf295 Add setup.cfg to kolla tools pip data dir
kolla-build requires setup.cfg to fetch its version and right now it's not
installed to pip data dir.

Change-Id: Id1df6aab72314710d436cd7584c89bcda5d2b1a0
Closes-Bug: 1525949
2015-12-14 18:17:52 +03:00
Steven Dake 418428a1ad Release version 1.0.0
Our current version based upon conversations with TTX was
0.1.0. It appears now that the full API is nearly stable.  It is
stable enough to call our first Liberty release 1.0.0.

The API consists of the following data:
The locations of config files passed to the container
The environment variables expected by the container
The JSON encoded file containing the copy and cmd operations

Each container in current master follows the same sytnax and
style for all of the implementations of every container that
atleast has been Ansibilized.

backport: liberty

Change-Id: I2064689ca6fd9f332ad26624e1b93f6aaa08e79b
Closes-Bug: #1503494
2015-10-06 21:47:48 -07:00
Martin André 6c5aeeee41 Consolidate kolla-build configuration in one file
The source location definition previously in build.ini was merged in
etc/kolla/kolla-build.conf since it is really configuration for the
kolla-build tool.

Change-Id: I7531af0029bdfeabbaefb8a6aa97b70bb12c021a
Closes-Bug: #1496702
2015-09-21 21:20:48 +09:00
Martin André ad670bb30c Make kolla-build able to build source images
The pip installed kolla-build script was not able to build source images
due to missing build.ini file containing information where to download
sources.

Change-Id: Ibc347daff76b445f032d8366bea3a58549cda766
Closes-Bug: #1493728
2015-09-09 17:37:09 +09:00
Steven Dake 233864ff32 Rename docs dir to doc for publishing
The publishing docs expect the documentation to be present in the
/doc directory not the /docs directory.  If the documentation is in
the /docs directory, according to fungi the docs won't be published
properly.

Change-Id: I718fec7e69d298a5cb2376ca4e2455e12169566e
Partially-Implements: blueprint kola-tox-doc
2015-09-02 22:37:36 -07:00
Sam Yaple cbd42ca6e9 Move docker_templates to docker dir
Updated build.py to reflect this change.
Deprecate --template option and make it a noop.

Change-Id: I7cd98d1ee684a4c64984a49597159868152683b2
Partially-Implements: blueprint remove-docker-dir
2015-08-28 13:33:50 +00:00
Kai Qiang Wu(Kennan) eae8903ae0 Add developer docs automatic produce support
Partially-Implements: blueprint kolla-tox-doc

Change-Id: Ie950667a61d9ce45fcc7e26915a7aa0f0ca6b597
2015-08-28 06:11:08 +00:00
Suhail Syed d3872aa9ee Make Kolla installable via PIP
Install Ansible code, etc file examples, scripts, an open
rc example, a tool to initialize the OpenStack deployment,
and other various useful bits.

Start the versioning at 0.1.0 as recommended by ttx.

Change-Id: I35fa4042040957e7725c7fc3b146009e0135499a
Partially-Implements: blueprint python-package
2015-08-24 16:08:49 -07:00