Commit Graph

93 Commits

Author SHA1 Message Date
Zuul 0208269813 Merge "Add Venus as log-management service" 2022-09-13 15:36:40 +00:00
Zuul a7d33e4a21 Merge "Update api-ref for cyborg" 2022-09-13 13:25:03 +00:00
Dr. Jens Harbott 8b55798f8a Update api-ref for cyborg
Cyborg has now published their api-ref at the default location[0], drop
the old override.

[0] https://docs.openstack.org/api-ref/accelerator/

Signed-off-by: Dr. Jens Harbott <harbott@osism.tech>
Change-Id: I93b0d4c021f710667d4b8e0f8e78f16dc3b7fa67
2022-09-13 14:23:33 +02:00
zhangbailin ceb2df317b Add Venus as log-management service
Change-Id: I4f222ef2ffc242bb81df71bc47ff212815c2f49e
2022-09-13 11:48:30 +00:00
Dr. Jens Harbott 78e31e75b0 Set py_modules to an empty list in setup.py
This prevents setuptools 61.0.0 doing autodiscovery and failing
since this is not a python module.

Signed-off-by: Dr. Jens Harbott <harbott@osism.tech>
Change-Id: I52164b745c5fa2182d8116877eec3a314c930373
2022-09-13 13:45:56 +02:00
Andreas Jaeger c99dfcf7a7 Switch to newer openstackdocstheme version
Switch to openstackdocstheme 2.2.1 version. Using
this version will allow especially:
* Linking from HTML to PDF document
* Allow parallel building of documents
* Fix some rendering problems

Update Sphinx version as well.

Disable openstackdocs_auto_version to not auto-version the documents.

Disable openstackdocs_auto_name to use 'project' variable as name.

Change pygments_style to 'native' since old theme version always used
'native' and the theme now respects the setting and using 'sphinx' can
lead to some strange rendering.

openstackdocstheme renames some variables, so follow the renames
before the next release removes them. A couple of variables are also
not needed anymore, remove them.

See also
http://lists.openstack.org/pipermail/openstack-discuss/2020-May/014971.html

Change-Id: I7f07fc60f45deb2a415af1216ab5b37398cb2929
2020-06-10 16:09:27 +02:00
Andreas Jaeger 40c278a449 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
- Cleanup doc/source/conf.py to remove now obsolete content.
- Use newer openstackdocstheme version
- Remove hacking from requirements, it's required in tox.ini already

Change-Id: Ie5d87c62cca191c345bc273e9e43415ec4501df7
2020-04-11 16:24:10 +02:00
Andreas Jaeger 2ba6eedfd9 Remove html_last_updated_fmt
openstackdocstheme handles this itself and parses git date, no need
to set it anymore.

Change-Id: I9a832d7dbe48dae569afee252f63ec2cf6f42df0
2020-02-21 21:10:53 +01:00
Andreas Jaeger 37984a6273 Minor cleanup to test publishing
Remove now obsolete python 2.7.x support from setup.py,
update pbr version and make dependency explicit via requirements.txt

This change was pushed to test that the dependent change fixes
publishing content to https://service-types.openstack.org/ . So,
please merge once dependency is in and then we can check that publishing
to server works correctly.

Depends-On: https://review.opendev.org/709060
Change-Id: Iac2be67dbef5510679f5cda658b591e52d537051
2020-02-21 17:06:12 +01:00
Zuul c7d3fe75cb Merge "Small cleanups" 2020-02-20 14:14:31 +00:00
Andreas Jaeger ed1451da87 Switch service-types-authority-tox-publish for promote
Switch the job service-types-authority-tox-publish to parent to
opendev-tox-docs so that as a followup we can use a promote job.

This is a step in changing the service-type website to AFS
publishing.

Change-Id: Ibeb60fd5805befc21c9d6d00fa7a615a106393cf
Depends-On: https://review.opendev.org/708517
Task: #37723
Story: #2006598
2020-02-18 22:06:48 +01:00
Andreas Jaeger b05ce7a695 Small cleanups
* Update git URLs to use opendev.org.
* Remove obsolete sphinx instructions from setup.cfg, those are note
  used anymore.
* Change homepage to publish page of this repo.
* Remove install_command, the default works just fine.

Change-Id: I9f763b0daa513868e6ce04291cea5f4c1b88a942
2020-02-18 21:57:35 +01:00
Ian Wienand a4d762bf57 Move proposal job into project-config
Change Iac9054de55728601d839c1feede15c2a5acc45b6 made the
propose-updates job protected, meaning it can only be defined in the
project-config repo.  Move it to there

Needed-By: https://review.opendev.org/678135
Change-Id: Id839ac69ed44553a8d2d88547b2c54502af4a913
2019-08-23 13:32:48 +10:00
Andreas Jaeger 69b5e7d5c9 Update api-ref location
The api documentation is now published on docs.openstack.org instead
of developer.openstack.org. Update all links that are changed to the
new location.

Note that redirects will be set up as well but let's point now to the
new location.

For details, see:
http://lists.openstack.org/pipermail/openstack-discuss/2019-July/007828.html

Change-Id: Iad1424ec96f0f768d5429e6593ff48d425a31a29
2019-07-22 20:56:53 +02:00
Zuul 4a8e2d261f Merge "Fix api-references" 2019-05-01 19:38:59 +00:00
Andreas Jaeger 9d2474de42 Fix api-references
Watcher now has an API on developer.o.o, we can use the default.

Update broken links with current version.

Change-Id: Ifa61ffc163e22066b091e2c1874215279ae99d11
2019-05-01 18:11:19 +00:00
Andreas Jaeger 72857514ad Fix api-ref for barbican
Barbican has an in-doc api document, link to it.

Change-Id: I4d7058339b2c06b31fd0834eda60143d6d50d5a1
2019-05-01 18:11:08 +00:00
Andreas Jaeger 7d8a34237f Switch to openstackdocstheme
Remove oslosphinx, it is deprecated and does not work with Sphinx 2.0.
Instead use openstackdocstheme.

Use newer sphinx-build in tox docs environment following PTI.

Change-Id: Ib19f12e5603b7b5c787cafd77551eb3cf7fbc4cd
2019-05-01 20:02:17 +02:00
OpenDev Sysadmins cee4d3bd30 OpenDev Migration Patch
This commit was bulk generated and pushed by the OpenDev sysadmins
as a part of the Git hosting and code review systems migration
detailed in these mailing list posts:

http://lists.openstack.org/pipermail/openstack-discuss/2019-March/003603.html
http://lists.openstack.org/pipermail/openstack-discuss/2019-April/004920.html

Attempts have been made to correct repository namespaces and
hostnames based on simple pattern matching, but it's possible some
were updated incorrectly or missed entirely. Please reach out to us
via the contact information listed at https://opendev.org/ with any
questions you may have.
2019-04-19 19:44:04 +00:00
Adrian Turjak 0691036888 Add Adjutant as admin-logic
Rather than business-logic, because it may not exactly
be used by a business, and avoiding the word 'workflow'.

Story: 2004498

Change-Id: Ie565e06f48980d49a1527949ad55088fc506c48d
2019-03-01 01:17:19 +00:00
Sundar Nadathur 60d8d4c899 Add Cyborg as accelerator service.
Change-Id: Ia5bbfed9e7fa0f9ac20e4b0e22c39a0a20be7166
2019-01-18 10:08:32 -08:00
huang.zhiping 55c97aa05f Change openstack-dev to openstack-discuss
Mailinglists have been updated. Openstack-discuss replaces openstack-dev.

Change-Id: I04530b6c173cf03895f6e438cd343c1a6662a4cb
2018-12-04 11:08:19 +00:00
Chris Dent 7445358848 Update placement project to placement
It had been nova, but is in the process of becoming placement.
Thus it is also no longer "secondary".

api-ref continues to be in the same place.

Change-Id: I64b579180542342afe71f05afe175d14e10a539d
2018-10-31 15:00:37 +00:00
Doug Hellmann a953e55f56 fix whitespace from scripted edit
Change-Id: Ic95c53dbe328c70e1b01de8ee4d531417f706e10
Signed-off-by: Doug Hellmann <doug@doughellmann.com>
2018-08-23 10:23:49 -04:00
Doug Hellmann e73153ef21 import zuul job settings from project-config
This is a mechanically generated patch to complete step 1 of moving
the zuul job settings out of project-config and into each project
repository.

Because there will be a separate patch on each branch, the branch
specifiers for branch-specific jobs have been removed.

Because this patch is generated by a script, there may be some
cosmetic changes to the layout of the YAML file(s) as the contents are
normalized.

See the python3-first goal document for details:
https://governance.openstack.org/tc/goals/stein/python3-first.html

Change-Id: Iafd8de12b2955193e2f10d5219d55f30f361ddac
Story: #2002586
Task: #24757
2018-08-20 13:07:54 -04:00
Monty Taylor 23fd2d542a
Add container-infra as an alias for magnum
This is a service-type used out in the wild, and was one of the names
for the service back in the day. Add it, otherwise some things break.

Change-Id: Ie8a7cff4b6f83456fbe8ff685b1fd28585fe2473
2018-07-23 11:26:06 -05:00
Lingxian Kong 5b97acc64f Add qinling project
Change-Id: I99e0601b293cc42c2da67ead82c50ba412dc022e
2018-03-15 04:11:48 +00:00
Zuul 6c2697de16 Merge "Add historical aliases for openstacksdk names" 2018-02-14 15:18:41 +00:00
Nguyen Hung Phuong 7a1190b99d Replaces yaml.load() with yaml.safe_load()
Yaml.load() return Python object may be dangerous if you receive a YAML
document from an untrusted source such as the Internet. The function
yaml.safe_load() limits this ability to simple Python objects like integers or
lists.

Reference:
https://security.openstack.org/guidelines/dg_avoid-dangerous-input-parsing-libraries.html

Change-Id: Iea14d26e6937472d1ac4b8f441bd59c959d2deb0
2018-02-13 09:30:54 +00:00
Zuul 50f29bc828 Merge "Update build to put content into sphinx location" 2018-02-06 17:49:01 +00:00
Hiroaki Kobayashi bc497b4b2f Add a reservation service type (blazar project)
Change-Id: I69db3dc2152b8c8cadcb5b1704487f84fa7cea2c
2018-02-06 16:48:32 +09:00
Nguyen Hung Phuong 40c587d0df Remove pbr warnerrors in favor of sphinx check
This change removes the now unused "warnerrors" setting, which is
replaced by "warning-is-error" in sphinx releases >= 1.5 [1].

[1] http://lists.openstack.org/pipermail/openstack-dev/2017-March/113085.html

Change-Id: I619f26e1de7eed17c481cbe4bd67d53dcc7023ff
Closes-Bug:#1693670
2018-02-05 01:18:38 +00:00
Monty Taylor e021ccb5ef
Update build to put content into sphinx location
The publication job looks in doc/build/html but we're writing it to
publish/. Update the location ... and also add a success-url to the job
so we can verify the content.

Change-Id: I44de36fcac19a754ec107554b7a300dacd62aa3a
2018-01-30 10:23:49 -06:00
Zuul d86f1821ce Merge "Add masakari and service-type instance-ha" 2018-01-30 14:19:01 +00:00
Andreas Jaeger c67bf8ba0f Add .zuul.yaml file with tox job
Move legacy tox job in-tree and convert to Zuul v3 native syntax.

Use tox as parent, we do not need constraints setup.

Name the job "publish" instead of previously validate since it calls
the publish environment.

Change-Id: Ib676370e4ccf6c6a0c2f9384a0e023b54521a3b7
2018-01-26 21:57:36 +01:00
Monty Taylor d3ed01e063
Add historical aliases for openstacksdk names
python-openstacksdk has updated itself to drive the names of the service
objects it presents from the service-types-authority, using the official
service-type in the source code and docs but also registering each on
the Connection object by each of its known aliases. It was already
close, but in four cases it had chosen names that were more consistent
from an English point of view.

Add aliases for each of those.

Change-Id: I973b67043aa0bca305d7b10035567c175ac782b8
2018-01-24 14:28:45 -06:00
Monty Taylor 65b865dbe9
Add masakari and service-type instance-ha
The masakari project is an Official OpenStack project.

It has used the 'ha' service-type up until now, but that's a bit broad.
It was agreed that 'instance-ha' would be better. Add it to the registry.

The api-ref documentation is not currently published, but it does exist
in tree:

  http://git.openstack.org/cgit/openstack/masakari/tree/api-ref/source

The jobs to publish it have been added:

  https://review.openstack.org/#/c/534878

but as the api-ref publication jobs use service-types-authority to
determine the correct place to publish to, the api-ref docs won't exist
until we land this. Once we do and once a publication job runs, they
should be found at the appropriate place.

Change-Id: Icdd0b09060ddd71b2313a90c1d62d84c31cdbb8d
2018-01-24 14:26:57 -06:00
Hongbin Lu 671b42dda7 Update the link of Zun API reference
Change-Id: Ia23425a0f80b17694e3c1f591ca4d27c30ca5238
2017-09-07 20:53:50 +00:00
Eric Fried 5a9eab7684 Generate standard api_reference
The api_reference for a service_type should usually be
'https://developer.openstack.org/api-ref/{service_type}/'.

With this change set, the source yaml may omit the api_reference field,
whereupon it will be generated according to the above format.

(At this time it is recommended, though not enforced, that the
api_reference field *should* be omitted if it conforms to the above
format.)

Change-Id: I860c1373c72765d4abad1ce8744c8174e5c64de0
2017-08-21 16:50:59 +00:00
Monty Taylor c1bd90f8f7
Sort json output for ease of tracking changes
This makes comparing changes to the file easy for a human while not violating
the files as computer readable data files. The ordering doesn't have meaning,
it's just for ease of human consumption.

Change-Id: I16f9e4df1acdcc2436cfd413707625a31007a0a2
2017-08-17 09:38:04 -05:00
Jenkins e9b1b4a14a Merge "Revert "Revert "Use 'clustering' as senlin's official service_type""" 2017-08-17 14:21:17 +00:00
Eric Fried 40b2a7a94f Revert "Revert "Use 'clustering' as senlin's official service_type""
This reverts commit 492010c2ce.

Restore this once project-config is updated to support secondary services (and maybe aliases).

Change-Id: Id59ebc3aadcd68b4654251962426bc4a0066136e
2017-08-17 12:54:34 +00:00
Jenkins 11bd292191 Merge "Revert "Use 'clustering' as senlin's official service_type"" 2017-08-17 12:47:36 +00:00
Andreas Jaeger 492010c2ce Revert "Use 'clustering' as senlin's official service_type"
The breaks project-config, the sanity check in project-config
needs work to handle aliases.

Let's revert this, update project-config - and then readd.

This reverts commit 3f136b6a21.

Change-Id: I49796742d8e23b475c62ee96ed969785749af903
2017-08-17 11:48:25 +00:00
Jenkins 8fdecc444d Merge "Use 'clustering' as senlin's official service_type" 2017-08-16 23:49:18 +00:00
Eric Fried 51b9808085 Historical services can violate naming rules
After a few attempts at retrofitting the newly-minted service type
naming rules to established services, we've discovered that's more
hassle than it's worth.

This change updates the guidelines to make it okay for historical
service types to keep their established names, while reinforcing that
new service types should conform to the stated rules.

Change-Id: I1f9d45ae1ccc0a397e2cc83dc8bb61a9b61971fe
2017-08-16 10:38:44 -05:00
jonnary 3f136b6a21 Use 'clustering' as senlin's official service_type
Senlin has historically used `clustering` as its service_type.  We've
decided [1] to stop trying to retrofit existing historical services'
official service_types to conform to the naming guidelines, because it's
more painful than it's worth.

However, since at this point we've published sta with
`resource-cluster`, we now need to maintain that as an alias :(

[1] https://review.openstack.org/494241

Change-Id: Ic3c04c6d6ce98a56f333f8566d1cba9c65431313
2017-08-16 10:26:55 -05:00
Monty Taylor 42338a434c
Add three more transformations
The os-service-types project generates some internal mappings that are
useful. Generate them here on publication so that others can benefit as
well.

Change-Id: Ib761cf9de875e7b80404797d4aa8d294ca56347a
2017-08-15 07:38:59 -05:00
Monty Taylor 288127acb0
Only run json.dump once
Rather than dump twice, once for each file, dump once to a variable.
Then, while we've got it in memory, strip trailing spaces. It's not
required that json output have no trailing spaces, but gerrit shows them
as does vim when opening files to look at them. It's easy to rememdy,
and we're rolling out some file updates in the next patch anyway.

Change-Id: Id3d04655264480b202a58b93a813360003707508
2017-08-15 07:38:59 -05:00
Eric Fried 4088c19d86
Add placement service
It's in the nova repo, which is the first time we've done that. Mark it
as secondary so that project-to-service-type can find compute from nova
still.

Closes-Bug: #1709353
Publish placement-api-ref
Depends-On: If5ff9bcc31e2680861e959ef7dc8581210e619e9
Support secondary services
Depends-On: I01ad2934bdcb9346f4af88520f572d9b4f852b5d
Change-Id: Id319fc48e37ccbf68c8086296a1e18b7545e7400
2017-08-15 07:38:59 -05:00