Use ensure_global_symlinks from ensure-tox to fix the CI fail. We need
to do that, because when we install the new sub environment in the new
project the tox is not visible. With the ensure_global_symlinks we do a
symlink into /usr/local/bin path.
Co-authored-by: Bernard Cafarelli <bcafarel@redhat.com>
Change-Id: I575e42fe15f16d0bd51597a540a13c4e384ec096
- add releasenotes to tox
- inherit requirements when is it possible in tox
- switch to hacking 2.x
- add gitignore rules related to reno
Change-Id: Id448fc31474fd29fb0799e96c5f1bb07c83f00bd
The documentation for apidoc recommends pointing the module_dir at
the module directory itself rather than the top-level directory for
the project so you don't have to explicitly omit setup.py or other
unpackaged Python files.
I did have to remove the _* exclusion because it was breaking in the
current version of Sphinx. It doesn't seem to be necessary in my
testing either. Private files are ignored anyway.
Change-Id: I2f1afcb2a20c3ee0bf8d52c294836e725b5a4e28
This verifies that the thing we generate will actually pass its
defined tests. It's a superset of the tests we were running before.
Also adds git config calls to make this work in the gate where
the user details aren't already set.
Change-Id: I96810e7cf132304ca700ebedd0c43e3d4d56bbd4
There is some additional setup required for the docs to be built.
We need to have an implementation so there is something to add to
the api docs, and openstackdocstheme requires a git commit so it
can get the last modified timestamp. Also, we no longer generate a
Changelog since we aren't using pbr now so we need to remove that
or we have a missing file.
Change-Id: Ic79aa0fb8f7e5813bec420c8b2690b0e9ef79cc2
We should be verifying that the tox target defined will run after
generating a project. There's no reason a brand new cookiecutter
repo should have failing tests.
Change-Id: Id142abd2f510a8cbfb42d32fb3f169a63552b981
.stestr.conf was missing, and in the lower-constraints tests we
weren't getting stestr installed, probably because we were using an
older version of oslotest that didn't depend on it. We should have
an explicit dep on it anyway so it is added to test-requirements.
Some old testr cruft is also cleaned up.
Change-Id: Ia754ee7bc01f87c96ca3e979ec0d6a54001f4bc7
This is particularly important for new projects as they may not have
the necessary redirects in place.
Change-Id: If60a49f6e760a573d8f65e973b1e596c3123f901
It's preferred not to have constraints in install_command as that
can cause problems with things like lower-constraints jobs which may
end up with conflicting constraints files. install_command is removed
entirely as it is no longer necessary.
Also updates the location of the constraints file to the releases
address as recommended by the release team.
Change-Id: I1415f66454d7394b6cadb5b0c9bb5b9666d10199
It has been retired and we don't want to use it in new projects.
Switch to openstackdocstheme for our Sphinx theme.
Change-Id: Ia41525f1b712e318054d3179d2cd6b0dab39912c
It looks like for some reason the script is getting a relative path
in ci, which does not work because we do a find on that path at the
end of the script. This is problematic because at that point we've
already cd'd into a different directory so the relative path is no
longer valid.
To fix this, the find is changed to just look at the current
directory, which is the path we wanted to look at anyway.
Change-Id: I13f046d0df2491d3bba04c3feb0fbac7cd188d3c
The openstack-dev mailing list has been retired and its
conversations now take place on openstack-discuss instead.
http://lists.openstack.org/pipermail/openstack-dev/2018-November/136501.html
Update this cookiecutter so that new projects don't copy over the
obsolete ML name.
Change-Id: If987022564d102658f43e95c2c0c45c89469ad7c
The commands used by constraints need at least tox 2.0. Update to
reflect reality, which should help with local running of constraints
targets.
Change-Id: Idb7268d350a63715e0b1f3a430046ac53bc811bd
Quotes around {posargs} cause the entire string to be combined into one
arg that gets passed to stestr. This prevents passing multiple args
(e.g. '--concurrency=16 some-regex')
Change-Id: I8e8ab558ca35e7265aef55b96ade5159520b75a2
Developers run all sorts of different tools within Git repositories,
any of which can leave their own special trashfiles all over the
place. We can't every hope to catalog them all, so better to
recommend developers simply configure a global core.excludesfile to
filter the irrelevant files which tend to get created by their
personal choice of tools.
To this end, remove the long-standing sections for "Mr Developer"
and "Editors" since their mere existence here sends the signal that
we welcome (and have time to review) additions for any old tool
someone ever might happen to try. Also add a comment block
explaining this, for clarity.
We can, and should of course, continue to list files created by the
tools recommended by our workflow (test frameworks called from tox,
documentation and packaging builds, et cetera).
This change is a port of Ib58a57267b064e4142686de6c37a70dbff04b9a7
from the openstack-dev/cookiecutter repository.
Change-Id: I1b41efac219fca44e2548fc36633724d0ecfc0cb
The -constraints environments are no longer needed, constraints are
the default configuration. Also update the envlist to reflect the
currently supported jobs.
Change-Id: I98d28ababca8d2ea848e0499d3abe6c46fe6df05
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: I93531c668cb64cd5fe0feb9ea3c1a605934aa999
Closes-Bug:#1693670
move legacy job legacy-oslo-cookiecutter-tox-cookiecutter in-tree and
convert it directly to Zuul v3.
Change-Id: I1ca853bdaf1e5c7088520ac913eff8cc258a4f34
OpenStack projects are no longer being tested under Python 2.6, so
remove the trove classifier implying that this project supports 2.6.
Change-Id: I470964a94fecde708eca3cedb91fb95f54b841f9