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. Add a comment block explaining this, for
clarity, and remove the one current editor-specific entry present.
We can, and should of course, continue to list files created by the
tools recommended by our workflow (test frameworks, documentation
and packaging builds, et cetera).
This change is a port of Ib58a57267b064e4142686de6c37a70dbff04b9a7
from the openstack-dev/cookiecutter repository.
Change-Id: I9b46f30550f1149c039510dfe17228eb177d8190
Current run_tests.sh executes another script (tests-repo-clone.sh)
to clone the tests repo. That script therefore has to be replicated
out to all the other repositories too.
In order to try to reduce the footprint of things that need to be
replicated out to the repositories, we fold the tests repo clone
into run_tests.sh and move the clone of the previous tests repo
into the common test script. We also remove the conditional for
the previous test repo clone as it does no harm to always have it.
To reduce the maintenance when creating new branches, we key the
branch to be cloned by run_tests.sh to the content in the .gitreview
file. This way as soon as a branch is created and that file is
updated, the right branch is cloned and the system becomes self
maintaining.
Some extra comments are added to explain the purpose of variables/
commands and the install_pkg_deps function is changed to just be
in line script as the function is no re-used anywhere else.
We change the set vars in the common script to add x and remove v
to reduce the output verbosity and only output the useful stuff.
Finally, the linters job definition is changed so that it uses
run_tests.sh to execute the lint tests. This simplifies the job
definition and also ensures that zuul runs tests in the same way
that humans do.
Change-Id: I9f26f4f438715ce6361cc9960f58f2d256c5a839
This change is trivial but aims to test the OpenStack CI propose job
to confirm that such changes are propagated correctly to the OSA
repositories.
Change-Id: I03eda8c35f051d867d7797f7e8d0106d1e30d6d4
Signed-off-by: Markos Chandras <mchandras@suse.de>
To keep the script simpler and support cross-repo
testing, the entire openstack-ansible-ops repo is
cloned.
To match the tests repo clone process, the
clonemap creation is moved into a function.
Change-Id: Ia0159aa512f50083b4c47c7fb2a92615adc480a9
Update the .gitignore file and add it to the sync-test-repos.sh so
it can be shared among all OSA repositories.
Change-Id: Ia11539e1a94d567df088a964026dc5d603009fe0
- gitignore to avoid bad files
- git review to enable git review/gerrit integration
- Vagrantfile like the other repos, but not useful (yet!)
- dummy inventory file
- setup.* files because docs use pbr
- requirements files
- tox.ini for test launcher to match openstack standards
- scaffolded docs and release notes for gates to pass
Change-Id: Iaf78c8fd3c2138e1d7d4384fb83c90cb7ddd6d10