forked from docs/modelarts
initial setup
This commit is contained in:
commit
4dfba44517
30
.gitignore
vendored
Normal file
30
.gitignore
vendored
Normal file
@ -0,0 +1,30 @@
|
|||||||
|
*.DS_Store
|
||||||
|
*.egg*
|
||||||
|
*.log
|
||||||
|
*.mo
|
||||||
|
*.pyc
|
||||||
|
*.swo
|
||||||
|
*.swp
|
||||||
|
*~
|
||||||
|
AUTHORS
|
||||||
|
octavia_proxy-*/
|
||||||
|
.coverage
|
||||||
|
.idea
|
||||||
|
.stestr/
|
||||||
|
.testrepository
|
||||||
|
.tox
|
||||||
|
build
|
||||||
|
ChangeLog
|
||||||
|
dist
|
||||||
|
# Doc related
|
||||||
|
doc/build
|
||||||
|
api-ref/build
|
||||||
|
# Development environment files
|
||||||
|
.project
|
||||||
|
.pydevproject
|
||||||
|
cover
|
||||||
|
# Files created by releasenotes build
|
||||||
|
releasenotes/build
|
||||||
|
.ropeproject
|
||||||
|
test.py
|
||||||
|
.vscode
|
9
.zuul.yaml
Normal file
9
.zuul.yaml
Normal file
@ -0,0 +1,9 @@
|
|||||||
|
---
|
||||||
|
- project:
|
||||||
|
merge-mode: squash-merge
|
||||||
|
default-branch: main
|
||||||
|
templates:
|
||||||
|
- umn-hc-jobs
|
||||||
|
check:
|
||||||
|
jobs:
|
||||||
|
- noop
|
0
README.rst
Normal file
0
README.rst
Normal file
8
requirements.txt
Normal file
8
requirements.txt
Normal file
@ -0,0 +1,8 @@
|
|||||||
|
# The order of packages is significant, because pip processes them in the order
|
||||||
|
# of appearance. Changing the order has an impact on the overall integration
|
||||||
|
# process, which may cause wedges in the gate later.
|
||||||
|
os-api-ref>=1.4.0 # Apache-2.0
|
||||||
|
reno>=3.1.0 # Apache-2.0
|
||||||
|
otcdocstheme # Apache-2.0
|
||||||
|
sphinx>=2.0.0,!=2.1.0 # BSD
|
||||||
|
oslo.i18n>=3.15.3 # Apache-2.0
|
19
setup.cfg
Normal file
19
setup.cfg
Normal file
@ -0,0 +1,19 @@
|
|||||||
|
[metadata]
|
||||||
|
name = ma_docs
|
||||||
|
summary = Open Telekom Cloud Model Arts Service
|
||||||
|
description_file =
|
||||||
|
README.rst
|
||||||
|
author = Open Telekom Cloud
|
||||||
|
classifier =
|
||||||
|
Environment :: OpenStack
|
||||||
|
Intended Audience :: Information Technology
|
||||||
|
Intended Audience :: System Administrators
|
||||||
|
License :: OSI Approved :: Apache Software License
|
||||||
|
Operating System :: POSIX :: Linux
|
||||||
|
Programming Language :: Python
|
||||||
|
Programming Language :: Python :: 3.6
|
||||||
|
Programming Language :: Python :: 3.7
|
||||||
|
Programming Language :: Python :: 3.8
|
||||||
|
Programming Language :: Python :: 3.9
|
||||||
|
keywords =
|
||||||
|
OpenStack, openstackclient, openstacksdk, Open Telekom Cloud, otc, T-Systems, Telekom
|
18
setup.py
Normal file
18
setup.py
Normal file
@ -0,0 +1,18 @@
|
|||||||
|
# Licensed under the Apache License, Version 2.0 (the "License");
|
||||||
|
# you may not use this file except in compliance with the License.
|
||||||
|
# You may obtain a copy of the License at
|
||||||
|
#
|
||||||
|
# http://www.apache.org/licenses/LICENSE-2.0
|
||||||
|
#
|
||||||
|
# Unless required by applicable law or agreed to in writing, software
|
||||||
|
# distributed under the License is distributed on an "AS IS" BASIS,
|
||||||
|
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or
|
||||||
|
# implied.
|
||||||
|
# See the License for the specific language governing permissions and
|
||||||
|
# limitations under the License.
|
||||||
|
|
||||||
|
import setuptools
|
||||||
|
|
||||||
|
setuptools.setup(
|
||||||
|
setup_requires=['pbr>=2.0.0'],
|
||||||
|
pbr=True)
|
49
tox.ini
Normal file
49
tox.ini
Normal file
@ -0,0 +1,49 @@
|
|||||||
|
[tox]
|
||||||
|
minversion = 3.1
|
||||||
|
envlist = py36,py37,pep8
|
||||||
|
skipsdist = True
|
||||||
|
ignore_basepython_conflict = True
|
||||||
|
|
||||||
|
[testenv]
|
||||||
|
usedevelop = True
|
||||||
|
install_command = pip install {opts} {packages}
|
||||||
|
deps =
|
||||||
|
-r{toxinidir}/requirements.txt
|
||||||
|
commands = stestr run {posargs}
|
||||||
|
stestr slowest
|
||||||
|
|
||||||
|
[testenv:pep8]
|
||||||
|
commands =
|
||||||
|
doc8 doc/source README.rst
|
||||||
|
|
||||||
|
[testenv:venv]
|
||||||
|
deps =
|
||||||
|
-r{toxinidir}/requirements.txt
|
||||||
|
commands = {posargs}
|
||||||
|
|
||||||
|
[testenv:docs]
|
||||||
|
deps =
|
||||||
|
-c{env:UPPER_CONSTRAINTS_FILE:https://releases.openstack.org/constraints/upper/master}
|
||||||
|
-r{toxinidir}/doc/requirements.txt
|
||||||
|
commands =
|
||||||
|
sphinx-build -W --keep-going -b html doc/source/ doc/build/html
|
||||||
|
|
||||||
|
[testenv:api-ref]
|
||||||
|
# This environment is called from CI scripts to test and publish
|
||||||
|
# the API Ref to docs.otc-service.com
|
||||||
|
deps =
|
||||||
|
-r{toxinidir}/requirements.txt
|
||||||
|
whitelist_externals = rm
|
||||||
|
commands =
|
||||||
|
rm -rf api-ref/build
|
||||||
|
sphinx-build -W -b html -d api-ref/build/doctrees api-ref/source api-ref/build/html
|
||||||
|
|
||||||
|
[testenv:umn]
|
||||||
|
# This environment is called from CI scripts to test and publish
|
||||||
|
# the UMN to docs.otc-seervice.com
|
||||||
|
deps =
|
||||||
|
-r{toxinidir}/requirements.txt
|
||||||
|
whitelist_externals = rm
|
||||||
|
commands =
|
||||||
|
rm -rf umn/build
|
||||||
|
sphinx-build -W -b html -d umn/build/doctrees umn/source umn/build/html
|
Loading…
x
Reference in New Issue
Block a user