Commit Graph

9 Commits

Author SHA1 Message Date
ZhongShengping 8004df4190 Dissuade .gitignore references to personal tools
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
2019-01-21 09:51:26 +08:00
Kevin Carter 3cd456c867 Add vscode to the gitignore file
Change-Id: I22df3b1da5940c00f77b7706865388a2520c05f1
Signed-off-by: Kevin Carter <kevin.carter@rackspace.com>
2018-10-01 11:16:21 -05:00
Jesse Pretorius 0a4ac2a1c7 Have run_tests clone the test repo
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
2018-03-26 18:18:05 +01:00
Markos Chandras 34e03850b7 .gitignore: Whitespace fix
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>
2017-06-07 09:28:52 +01:00
Nolan Brubaker d7836428d4 Add clone of bowling ball testing tools
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
2017-05-24 11:58:33 +01:00
Markos Chandras f16a400e6e gitignore: Update file and add it to the sync list
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
2017-05-15 13:39:50 +01:00
Kevin Carter 7bef676c06 Update testing bits for consistency
Change-Id: Ibc139be4ff5c4fde7429284d1dc68f94b8291d7d
Signed-off-by: Kevin Carter <kevin.carter@rackspace.com>
2016-09-16 21:19:23 -05:00
Travis Truman 8c1fbd3bb0 Ansible 2.1.1 role testing
Change-Id: I5b42bea81f26af5e2d4e3a51645fafc3040eb490
2016-09-13 10:17:08 -04:00
Jean-Philippe Evrard 64e65750cd Introduced all the scaffolding for test repo
- 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
2016-08-12 14:50:07 +00:00