Commit Graph

43 Commits

Author SHA1 Message Date
zhurong b56fd57651 Remove the ReleaseReporter
Change-Id: I36bf3e10de1c50879d30f2bade17f0e4ad015bce
2022-01-18 00:56:06 +00:00
zhurong 71c002a8c3 Add py39 classifier
Change-Id: Id4f96845d6fed200de055ba8d35353bbfbe45d4d
2022-01-04 08:52:46 +00:00
Ghanshyam Mann 86765728bb [goal] Deprecate the JSON formatted policy file
As per the community goal of migrating the policy file
the format from JSON to YAML[1], we need to do two things:

1. Change the default value of '[oslo_policy] policy_file''
config option from 'policy.json' to 'policy.yaml' with
upgrade checks.

2. Deprecate the JSON formatted policy file on the project side
via warning in doc and releasenotes.

Also replace policy.json to policy.yaml ref from doc and tests.

[1]https://governance.openstack.org/tc/goals/selected/wallaby/migrate-policy-format-from-json-to-yaml.html

Change-Id: I1d74949c9d19ff543571382f887b5ed40756ecb9
2021-03-06 17:56:17 -06:00
zhurong 28330e91f8 Cleanup py27 support
This repo is now testing only with Python 3, so let's make
a few cleanups:
- Remove obsolete sections from setup.cfg
- Remove babel.cfg, this is not needed here at all
- Update requirements, no need for python_version anymore
- Switch to using sphinx-build
- Use newer openstackdocstheme and Sphinx versions
- Cleanup */source/conf.py to remove now obsolete content.
- Remove install_command from tox.ini, the default is fine
- Use TOX_CONSTRAINTS_FILE, UPPER_CONSTRAINTS_FILE is obsolete

Change-Id: Ie04a0c0c5270ae49097c3784bac3467c8e43acca
2020-05-11 11:08:24 +08:00
Sean McGinnis 355c85e6cb
Add py38 package metadata
Now that we are running the Victoria tests that include a
voting py38, we can now add the Python 3.8 metadata to the
package information to reflect that support.

Change-Id: I296bd778de7c7698c71c24584c019511e91afbf1
Signed-off-by: Sean McGinnis <sean.mcginnis@gmail.com>
2020-04-24 08:23:21 -05:00
zhurong ae2d276d78 Cleanup py27 support
Make a few cleanups:
- Remove python 2.7 stanza from setup.py
- Add requires on python >= 3.6 to setup.cfg so that pypi and pip
  know about the requirement
- Remove obsolete sections from setup.cfg:
  * Wheel is not needed for python 3 only repo
  * Some other sections are obsolete
- Update classifiers
- Update requirements, no need for python_version anymore

Change-Id: I29117a38a43a445eb21bb5cfa920f0e50324a5b3
2020-04-07 04:18:46 -07:00
Ghanshyam Mann 3384d14117 [ussuri][goal] Drop python 2.7 support and testing
OpenStack is dropping the py2.7 support in ussuri cycle.

Solum is ready with python 3 and ok to drop the
python 2.7 support.

Complete discussion & schedule can be found in
- http://lists.openstack.org/pipermail/openstack-discuss/2019-October/010142.html
- https://etherpad.openstack.org/p/drop-python2-support

Ussuri Communtiy-wide goal:
https://governance.openstack.org/tc/goals/selected/ussuri/drop-py27.html

Depends-On: https://review.opendev.org/#/c/693631/

Change-Id: If6bdeb65a08e4b0329e78a23ccdb642dfd308dde
2019-11-26 01:32:24 +00:00
Corey Bryant a4c97c4778 Add Python 3 Train unit tests
This is a mechanically generated patch to ensure unit testing is in place
for all of the Tested Runtimes for Train.

See the Train python3-updates goal document for details:
https://governance.openstack.org/tc/goals/train/python3-updates.html

Change-Id: Ia9a1f77382ffea8150babd4577f4836ea5e43f30
Story: #2005924
Task: #34247
2019-07-05 16:15:45 -04:00
Ghanshyam Mann d3289e898c Dropping the py35 testing
All the integration testing has been moved to
Bionic now[1] and py3.5 is not tested runtime for
Train or stable/stein[2].

As per below ML thread, we are good to drop the py35
testing now:
http://lists.openstack.org/pipermail/openstack-discuss/2019-April/005097.html

[1] http://lists.openstack.org/pipermail/openstack-discuss/2019-April/004647.html
[2]
https://governance.openstack.org/tc/reference/runtimes/stein.html
https://governance.openstack.org/tc/reference/runtimes/train.html

Change-Id: I7a94e085499d98fc84ea8686bc66f12e2b183f0d
2019-04-16 17:10:58 +00:00
pandatt 46d5b81bc5 Change openstack-dev to openstack-discuss
Change-Id: Ib5a44bbb4ac161370f141501fe13519e0d9175f2
2018-12-04 11:32:11 +08:00
whoami-rajat 19a686dd1a Add solum-status upgrade check command framework
This adds basic framework for solum-status upgrade
check commands. For now it has only "check_placeholder"
check implemented.
Real checks can be added to this tool in the future.

Change-Id: Icd92e2105e99354a8b184d9be086cc97ce4c12fa
Story: 2003657
Task: 26155
2018-10-27 18:28:15 +05:30
melissaml f1aeb5d4b6 Follow the new PTI for document build
For compliance with the Project Testing Interface as described in:
https://governance.openstack.org/tc/reference/project-testing-interface.html

For more detials information, please refer to:
http://lists.openstack.org/pipermail/openstack-dev/2017-December/125710.html

Change-Id: I8916d952b1603873dbde84c3f671e540a4e81707
2018-03-23 14:27:49 +08:00
zhurong 47581a44c3 Policy in code[1]
1.add requirements
2.add policy generator
3.add base policy

Partially Implements: blueprint policy-in-code
Change-Id: I7f57049253f38c1753b12f212147576aa673e066
2018-01-10 11:05:50 +08:00
zhurong f15ab604d0 Add rootwrap config and command for solum
link is: https://blueprints.launchpad.net/solum/+spec/solum-rootwrap
Partially-Implements: blueprint solum-rootwrap

Change-Id: Ic45e5ba20cb3e69553e7b8de5a097fc92c420f5a
2017-09-07 14:52:42 +08:00
zhurong ede34099c7 Adding warning-is-error to doc building
warning-is-error should be set for doc building. This change sets
the flag and corrects the warnings.

Change-Id: Ic7b007219c1351519b0d37567870c7477b239fa6
2017-08-19 03:53:04 +00:00
Hangdong Zhang 0b3c691d7c Update the documentation link for doc migration
Change-Id: I14415ca59dc12c4f64bf61cfcabe52b2ecc1c177
2017-07-25 11:22:16 +08:00
zhurong b2a84e9883 Fix solum gate and switch to using keystoneauth1
1.Fix solum gate
2.Switch using keystoneauth1
3.Skip some tests, but we should unskip those, the bug link is:
https://bugs.launchpad.net/solum/+bug/1686560

bp link: https://blueprints.launchpad.net/solum/+spec/keystone-v3-support

Implements: blueprint keystone-v3-support
Change-Id: I777b79c08cd6f10664534786baf728ce1689b87a
2017-04-27 03:02:40 +00:00
zhurong 7d68ffa899 Add apache support script for solum API
This patch add scripts for running API services via apache.
The follow-up patch will add the devstack install support.

bp: https://blueprints.launchpad.net/solum/+spec/solum-api-under-wsgi
ref: https://github.com/openstack/heat/blob/master/heat/httpd/heat_api.py

Change-Id: Ia1c892e1b53b2d0ac247f33604cf891792a829a9
Partially-Implements: blueprint solum-api-under-wsgi
2017-03-23 00:49:42 +00:00
Cao Xuan Hoang 0d975ebf53 Remove support for py34
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: I2d8a2ceb58e94bbb6706ca21cadae2cbca322a92
2017-02-08 02:35:21 +00:00
Jenkins cbfb9ac314 Merge "Add Python 3.5 classifier and venv for solum" 2017-01-12 12:00:27 +00:00
Eli Qiao 300bfe081c Remove solum-builder-api from setup.cfg
There's no solum.cmd.builder:main at all.
Cleanup it.

Change-Id: I28e39f0d8756e7dba9dad93bc596abf99c7ef9f4
2016-09-30 16:31:48 +08:00
gengchc2 69de54d600 Add Python 3.5 classifier and venv for solum
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: Ia827cfe406e77c06e84b0bf48e015e03e9d55f08
2016-09-05 09:53:15 +08:00
Doug Hellmann e0c796d01d register the config generator default hook with the right name
No config generator hooks should ever be registered with a name that
belongs to another project. In this case, using oslo.middleware.cors
means that *every other project* that loads the middleware gets this
application's defaults when the generator is run on a system with
everything installed (such as a dev box with devstack). Use the name
of the app instead, to ensure that the defaults are only set when this
app's sample config and documentation are being generated.

Change-Id: I6a8c7d44b9db9325003ff2fdb667b0ced7739e96
Signed-off-by: Doug Hellmann <doug@doughellmann.com>
2016-03-11 15:47:38 -05:00
Michael Krotscheck dbfdf9f5db Moved CORS middleware configuration into oslo-config-generator
The default values needed for solum's implementation of cors
middleware have been moved from paste.ini into the configuration
hooks provided by oslo.config. Furthermore, these values have been
added to the default configuration parsing. This ensures
that if a value remains unset in solum.conf, it will be set
to use sane defaults, and that an operator modifying the
configuration file will be presented with a default set of
necessary sane headers.

Change-Id: I6f30224ac1b11fc4019dbc5ae5ec1e1fedbfe97d
Closes-Bug: 1551836
2016-03-04 16:09:17 +00:00
Jenkins 9920039d78 Merge "Migrate to oslo config generation" 2016-01-25 18:28:00 +00:00
David Höppner 1934b6232f Migrate to oslo config generation
- Defined "list_opts" method in relevant files.
- Defined a new config-generator.conf to drive the configurator.
- Added config entry points for "list_opts" to setup.cfg.
- Deleted the old generator script and the oslo incubator files.

Change-Id: I4bdbf4f6769fa7e02689bd24f3e4b3734502aa17
Closes-Bug: 1476839
2016-01-13 19:59:24 +01:00
OTSUKA, Yuanying 084101ac51 Drop py33 support
"Python 3.3 support is being dropped since OpenStack Liberty."
written in following URL.
https://wiki.openstack.org/wiki/Python3

And already the infra team and the oslo team are dropping py33
support from their projects.

Since we rely on oslo for a lot of our work, and depend on infra
for our CI, we should drop py33 support too.

Change-Id: I453abf7ed4ff7ed0996bfb1578e68a791c3b40a5
Closes-Bug: #1526170
2015-12-24 14:52:54 +09:00
venkatamahesh c690a1b272 Remove py26 from tox.ini and setup.cfg
As of https://wiki.openstack.org/wiki/python3 openstack
is targeted to py34 and py27 and also dropping py26
for mitaka. And also added solum docs in setup.cfg

Change-Id: Idb2810569321e29bd5d3e09b737d0b2e69552c1c
Closes-Bug: #1523188
2015-12-06 05:33:13 +00:00
Ed Cranford acaf99ebcd Update pbr version to 2015.1.1 in setup.cfg
Change-Id: I0e4e4c2b67a58454f7b9c46a592870e1ac2d542b
2015-06-16 15:36:02 -05:00
Ed Cranford 0b4583e1e5 Updating version in setup.cfg
Change-Id: Idcf39cb2f31b79a682b1e158d38915de93c8441f
2015-05-01 13:45:40 -05:00
Ed Cranford 3fc89244e4 Updating version in setup.cfg
Change-Id: Ia2752e022970fb4bc5074093ef8ba6643c271adb
2014-09-02 11:25:52 -05:00
Robert Collins 3b788ce907 Next version is 2014.2.1.
pbr pre-versioning causes current sdist to have versions leading up to
2014.1.0, but that is a release in the past...  already released - we
should be leading up to 2014.2, but solum already has a tag of
2014.2.0 (which is equivalent to 2014.2) so we need to increment the
minor version getting 2014.2.1.

Change-Id: Id2a89ec88a8b8b721abddd5f42d2e53069ebd8b5
2014-08-20 14:17:30 +12:00
Angus Salkeld 5684b5e6dd Move to oslo.db
Some notes:
- mysql_traditional_mode is now a configuration option (on by default)
- the objects classes must be late imported as the db config options
  are registered a bit later.
- solum-db-manage needs log imported to avoid a configuration conflict

Change-Id: I94b44c4cbaeeb61882c94ff1e5480eaa917fb5a2
2014-08-19 10:39:51 +10:00
Angus Salkeld 61c911a597 Add the start of a default workbook
https://blueprints.launchpad.net/solum/+spec/pipeline
Change-Id: Idadfa7330bb13b5d8ead8032f64f30a445239512
2014-07-22 16:40:03 +10:00
Ed Cranford 03e7549ebc Added common RPC service and API classes
Also added skeletons of three services

Co-Authored-by:  Angus Salkeld <angus.salkeld@rackspace.com>
Change-Id: I21ff5e71273c421803fca917e5ee6294600879e4
2014-03-19 23:04:04 +10:00
Angus Salkeld f8655a2f0e Add an image builder api
This is a totally seperate endpoint so it can be deployed seperately
and we can abstract the implemention well away from the rest of
solum. Also this could be used seperatly from solum to simply
build images (once the implementation matures).

part of blueprint lang-pack
Change-Id: I42fc352e787e2d98f933016c0da7fd2f18fe262e
2014-03-04 22:03:49 +10:00
Angus Salkeld 50358c4f6a Add the alembic migration framework
This includes a new binary "solum-db-manage".

Change-Id: I55910c3b4c02ea89159e28266cb9927cbfbdc5a6
2014-02-04 12:57:29 +10:00
Chris Alfonso c5020149d2 Setting project summary to be consistent with project intent
Change-Id: If1a2c194d6e1de225046b411b380a174bd21c832
2013-12-05 16:58:24 -05:00
Sam Kottler caba395795 Remove excess whitespace from setup.cfg
Change-Id: Id2cbac3b2689d161174749ed2455972fd0a3da9f
2013-11-24 19:27:55 -05:00
Sascha Peilicke 8df29f2b64 Support building wheels (PEP-427)
With that, building and uploading wheels to PyPI is only one "python
setup.py bdist_wheel" away.

Also, changes LC_ALL from C to UTF-8 to get around a bug in pip:

https://github.com/pypa/pip/issues/761

Change-Id: I508ab6436c29b23f6b8d56c0ec63eb26f3568819
2013-11-19 15:16:57 -05:00
Noorul Islam K M 7c61d4bad7 Move version code into separate file and set pbr version to 2014.1.0
This structure is used in most of the OpenStack projects.

Change-Id: I60ca5999793215c0805703c34040b693c1c07596
2013-11-15 20:44:17 +05:30
Russell Bryant 15848df115 Add a solum-api command
There are a couple of reviews up for deciding on the REST API
infrastructure.  Regardless which is picked, they will need a solum-api
command that serves up the API.  This commit puts those base pieces in
place.

Part of blueprint rest-api-base

Change-Id: Ie7d22d3ece0e81eca7959ad2d3ba5d756264d797
2013-11-12 18:30:53 -05:00
Alex Gaynor 1c67354756 Initial cookie-cuttere'd repo 2013-09-20 23:44:03 -05:00