0a4ac2a1c7
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
73 lines
873 B
Plaintext
73 lines
873 B
Plaintext
# Compiled source #
|
|
###################
|
|
*.com
|
|
*.class
|
|
*.dll
|
|
*.exe
|
|
*.o
|
|
*.so
|
|
*.pyc
|
|
build/
|
|
dist/
|
|
doc/build/
|
|
|
|
# Packages #
|
|
############
|
|
# it's better to unpack these files and commit the raw source
|
|
# git has its own built in compression methods
|
|
*.7z
|
|
*.dmg
|
|
*.gz
|
|
*.iso
|
|
*.jar
|
|
*.rar
|
|
*.tar
|
|
*.zip
|
|
|
|
# Logs and databases #
|
|
######################
|
|
*.log
|
|
*.sql
|
|
*.sqlite
|
|
logs/*
|
|
|
|
# OS generated files #
|
|
######################
|
|
.DS_Store
|
|
.DS_Store?
|
|
._*
|
|
.Spotlight-V100
|
|
.Trashes
|
|
.idea
|
|
.tox
|
|
*.sublime*
|
|
*.egg-info
|
|
Icon?
|
|
ehthumbs.db
|
|
Thumbs.db
|
|
.eggs
|
|
|
|
# User driven backup files #
|
|
############################
|
|
*.bak
|
|
*.swp
|
|
|
|
# Generated by pbr while building docs
|
|
######################################
|
|
AUTHORS
|
|
ChangeLog
|
|
|
|
# Files created by releasenotes build
|
|
releasenotes/build
|
|
|
|
# Test temp files
|
|
tests/common
|
|
tests/*.retry
|
|
|
|
# Vagrant artifacts
|
|
.vagrant
|
|
|
|
# Git clones
|
|
openstack-ansible-ops
|
|
previous
|