Commit Graph

27 Commits

Author SHA1 Message Date
Stephen Finucane 31f8ad4eb4 db: Enable auto-generation of database migrations
Alembic does lots of new things. Provide docs for how to use this. This
doesn't actually work that well at the moment because it appears our
database migrations are not in sync with the models. Those issues will
have to be resolved separately.

Change-Id: I6645ca951114b94ce9ed5a83e5e11d53879a7cd5
Signed-off-by: Stephen Finucane <stephenfin@redhat.com>
2022-02-20 19:06:01 +00:00
Eric Harney 6e53c264b6 Add mypy tox env
Add a "mypy" tox environment which runs mypy
type checking against Cinder code.

Taken from Stephen Finucane's Nova work at
https://review.opendev.org/#/c/676208/

Added "show_error_codes" and "pretty" options.

Generates an html report in ./mypy-report/

This adds stubs for oslo.i18n, so that _() calls
are annotated as intended.  It may be possible to
do this with less .pyi files carried along here.

Change-Id: I2589d22c1f16f2e177d34730a520591743c0c1e3
2020-10-14 08:24:13 -04:00
Sean McGinnis cff7fffc36 Tell reno to ignore the kilo branch
When reno 3.x runs under setuptools, it scans all of the branches it can
find, including any that look like they're closed and have an -eol tag.
The old kilo branch in this repository has a jumbled history that
somehow makes it look like it should include tags that it doesn't. We
know that there are no release notes in that branch, because reno wasn't
adopted while it was open. The releasenotes/source/index.rst links to
separate release notes in the wiki.

This patch tells reno to ignore that branch so that it doesn't throw an
exception when it gets confused about the old tag.

Change-Id: Idd56c3f37d5786daae7181c36d38d267cbf1885c
Co-Authored-By: Doug Hellmann <doug@doughellmann.com>
Signed-off-by: Sean McGinnis <sean.mcginnis@gmail.com>
2020-02-15 14:15:18 -06:00
Brian Rosmaita 674f9b60d6 Add policy sample file to gitignore
Eliminates a minor inconvenience.

Change-Id: I69571f48db92770b188f1dc5554adcd9e9f01e8d
2019-07-10 12:28:24 -04:00
ZhongShengping 1a34b278f2 Change blockbox to block-box
Change-Id: Iefd95987627df382ba7fdf0dd7b8f5a0398a0aa2
2018-07-10 14:20:53 +08:00
Jon Bernard a8a9dda300 Unignore .stestr.conf
Commit 676195e009 added .stestr.conf to
the repository, so not ignoring it seems prudent.

Change-Id: I4c7ff97ab9cb52d211186b43b558dccef8f27320
2018-04-06 10:38:15 -07:00
Masayuki Igawa f1cd25861b
Add doc/source/_static/cinder.policy.yaml.sample to .gitignore
This commit adds doc/source/_static/cinder.policy.yaml.sample to
.gitignore which is created by sphinx build.

Change-Id: I6f80c766fed3a98d050290be179b91b218bedcef
2017-11-15 16:46:57 +09:00
Eric Harney 5601d336ca Add .zuul.yaml with LIO job
This replaces the legacy-tempest-dsvm-full-lio job.

Skip tests that are currently failing.

Change-Id: Ief6ff0771488417fc80a3ffe7505a0d478ec5eb6
2017-11-08 17:22:25 -05:00
John Griffith 3a2205e393 Update BlockBox
There have been a number of changes to LOCI since the introduction
of BlockBox.  In particular LOCI now offers a `universal` Dockerfile
and employees bindeps and new ARGS features of Docker to customize
images.

This patch modifies BlockBox to use the new universal LOCI repo and
also cleans up a bunch of cruft and adds an updated conf entry with
key-manager.

This patch also removes the dev environment as it's out dated and
doesn't seem to be gaining much usage.  It's easy enough to set
this up on your own, so rather than maintain it just remove it.

Change-Id: Id03ff9310fd53c4e6df300f2866b7a17cba82561
2017-10-04 13:59:01 -06:00
Sean McGinnis 8148038e92 Add driver list to doc build
We have tox -e gendriverlist that outputs an RST-ish report of all drivers
in the tree. This output can be used in the docs build to automatically
publish the list of drivers to make it easier to find officially supported
drivers.

This effectively removes the existing drivers.html that was generated prior
that did not actually contain any useful information.

Change-Id: I8de78723af76aabcc976733ac4b248db0b8ca16f
2016-07-26 11:09:05 -05:00
Jenkins b230cb743c Merge "Add sample config file to cinder docs" 2016-06-09 23:00:39 +00:00
Sean McGinnis fcd7fcea3e Add sample config file to cinder docs
The oslo sphinxconfiggen module was added to the oslo.config
2.3.0 release. This enables config file generation as part of
the sphinx doc generation.

The generated config file will pick up the current config
options from the code base. And as an added bonus, it will
now be published to the docs.openstack.org site for easy
reference or download.

This also puts us inline with what other projects like Nova
are doing for sample config files and is the recommended
method from the Oslo team.

Change-Id: I912a97eb2686d3dc56e50d8641d7bd930179bc18
2016-05-17 08:52:21 -05:00
Sheel Rana 8659ff0ef5 WADL to RST migration in cinder tree
This patch is for converting API Reference to RST and host it
in the Cinder tree.
This patch contains all the RST for cinder to bring over to their
repos to begin building API reference information from within.
This contains .inc files which have all the contents of the .rst files
but are grouped together for easier editing

This is the results of the RST conversion from WADL. It creates a
single index plus a bunch of included files which represent sections
of the API.

Cleaning task will be done once this part is merged.

As we have removed XML API support in Newton release, we need to
remove XML from API reference as well.

But we still have installations which are using XML.
So implementation plan is to first merge this patch in Newton release
keeping XML for now, then I will backport same to stable branches.
After that I will remove same from Newton release to match API
reference with actual API implementation.

Implements: bp api-reference-to-rst
Change-Id: I865ac922538bfa5bd45c24eb4bc49f5e966dc811
2016-05-12 19:07:30 +00:00
Michał Dulko 7da1684f3c Add reno for release notes management
Change-Id: Id4d6604d9775c34e9a8e911ec6e7afd02d56ef47
2015-11-05 14:58:17 +01:00
John Griffith bda8d4fc6a Add cinder.conf.sample to gitignore
Now that we have some sort of conf checking again in the
tox ini file, we should make sure we don't inadvertenly
commit a generated sample (which I've done twice now).

Change-Id: I51124971ee52a1caf48123c5c2df2759bbcc045d
2015-09-01 03:20:30 +00:00
Eric Harney a4461abe86 gitignore /.*
Ignore all dotfiles in the base dir of the tree except for
.gitignore, .coveragerc, .mailmap, and .testr.conf.

This should solve the "ignore my IDE's files" problem in a
general way.

Change-Id: Ia53fff4b97e4e99b6827030573973377beddb22b
2014-10-09 15:23:48 -04:00
Sushil Kumar 62523bb7d7 Updates .gitignore
To ignore swap files from getting into repository
currently the implemented ignore is *.swp
however vim adds more swap files if .swp exists,
so improving this with .*.sw?

Closes-Bug: #1255857

Change-Id: I22b6fa351dd565d4783f432c01785c706acd8397
2013-11-28 09:52:23 +00:00
Luis A. Garcia a579431c19 Add eclipse project files to .gitignore
Like some of the other projects (nova, heat, oslo) git ignore eclipse
project files. This will remove manual steps for people developing from
eclipse.

Change-Id: Ib908c8d419072b440f5ec647bea8f13b97e48f7c
2013-08-05 17:56:07 +00:00
Victor Rodionov 928e11ad5b Fix pep8 and pylint violation in Nexenta volume driver
Change-Id: Iec7f37ddd0f3850cb84e1cafe223b8f503a3629c
2013-08-02 04:53:12 +04:00
Doug Hellmann 2de66f4381 Ignore files created by Sphinx build
Change-Id: I5eafa7aefc8da18527ec14b9b116f7132787f667
Signed-off-by: Doug Hellmann <doug.hellmann@dreamhost.com>
2013-07-05 16:09:50 -04:00
John Griffith e6f7751afa Add testrepository to git ignores.
Now that we're updating our test runner we need
to add the git ignore rule for testrepository.

Change-Id: I0cf33598ef947750953624eccb5d34d78df462ed
2013-05-30 11:14:36 -06:00
Yun Mao d75fafa88f Add pylint-based lintstack test to tox environment
lintstack is a pylint-based static analysis tool to find bugs
in Python code.

To run the test via tox: $ tox -e pylint
To run the test directly: $ tools/lintstack.sh

Change-Id: If155f47ed84eb820ac505ee741bdd18edd41b1eb
2013-05-10 07:22:05 -04:00
Duncan Thomas f50c8cbed1 Implement a basic backup-volume-to-swift service
Implements: blueprint volume-backups

This patch adds the new service, api and basic unit tests

Change-Id: Ibe02c680c5e9201d208c92e796e86ad76b4b54b3
2013-02-21 00:00:30 +00:00
john-griffith 11c80571ae Add *.swp to gitignore.
Add swap files and alphabetize the list.

Change-Id: Idaa9aec831740aa965a8d2d2486f4d9ffbb50746
2012-12-13 16:57:40 -07:00
Rongze Zhu 0f8269afca Clean up .gitignore
remove:
* nova.egg-info
* .nova-venv
* tools/conf/nova.conf*

Change-Id: I6578a75314b86628a5afbd4c4282fb271b9a830e
2012-09-09 18:49:19 +08:00
Chmouel Boudjnah 3a2036cccb Use openstack.common.setup.
- Remove Authors and add it to .gitignore since this is now auto
  generated.

Change-Id: I513b362a0ea8aca9cf5e06807834316b46a5f430
2012-07-20 20:02:36 +00:00
Jenkins c53d8e343e Initial fork out of Nova. 2012-05-03 10:48:26 -07:00