14cef9c397
Nodepool.yaml.erb in system-config no longer contains any secrets. Let's move it to the project-config repo. Add the nodepool validation jobs and tox environment, initially as non-voting until it is boot strapped. The version of nodepool.yaml proposed matches the version in system-config depends-on patch. A follow-up patch will be submitted with any deltas needed when the needed-by patch is ready to merge. Until that happens, this nodepool.yaml file won't be used and is safe to merge. Make both gate-project-config-nodepool and gate-system-config-nodepool non-voting to aid in bootstrapping this change. The nodepool logging template file and associated tool that generates the file will remain in system-config. In the short term, updates to nodepool.yaml in this repo may require a related change in system-config to update the logging configuration. In the longer term, nodepool will be updated to automatically log image creations without needing a customized logging configuration. Needed-By: I2b45a7145805368b1598d3a3e8a94f0e4eb8cf2d Depends-On: Ib045c104daac15360e62f46e3e5683c7a387bc96 Depends-On: I89207d100eb4b6bbb502a6ed38831f49e4b29096 Change-Id: I473a1b78acdb035eb379394a7ed5f771434dc942
98 lines
2.0 KiB
INI
98 lines
2.0 KiB
INI
[tox]
|
|
minversion = 1.6
|
|
envlist = pep8,gerrit,grafyaml,projects,jjb,jenkins-project,zuul
|
|
skipsdist = True
|
|
|
|
[testenv]
|
|
deps = -r{toxinidir}/test-requirements.txt
|
|
|
|
[testenv:pep8]
|
|
commands =
|
|
flake8
|
|
{toxinidir}/tools/run-bashate.sh
|
|
|
|
[testenv:gerrit]
|
|
commands =
|
|
{toxinidir}/tools/check_valid_gerrit_config.sh gerrit/acls/
|
|
|
|
[testenv:projects]
|
|
deps = PyYAML
|
|
GitPython
|
|
commands =
|
|
{toxinidir}/tools/check_valid_gerrit_projects.py gerrit/projects.yaml
|
|
{toxinidir}/tools/check_projects_yaml_alphabetized.sh gerrit/projects.yaml
|
|
|
|
[testenv:venv]
|
|
commands = {posargs}
|
|
|
|
[testenv:docs]
|
|
commands = python setup.py build_sphinx
|
|
|
|
[testenv:irc]
|
|
deps = PyYAML
|
|
irc
|
|
commands =
|
|
{toxinidir}/tools/check_irc_access.py -l accessbot/channels.yaml openstackinfra
|
|
{toxinidir}/tools/irc_tests.py
|
|
{toxinidir}/tools/check-channels-yaml.sh
|
|
|
|
[flake8]
|
|
show-source = True
|
|
exclude = .tox,.test
|
|
ignore = E125,H
|
|
select = H231
|
|
|
|
[testenv:grafyaml]
|
|
basepython = python2.7
|
|
commands = grafana-dashboard validate grafana
|
|
|
|
[testenv:jjb]
|
|
basepython = python2.7
|
|
deps = jenkins-job-builder
|
|
whitelist_externals =
|
|
mkdir
|
|
rm
|
|
commands =
|
|
rm -rf {envdir}/tmp
|
|
mkdir -p {envdir}/tmp
|
|
jenkins-jobs -l debug test -o {envdir}/tmp jenkins/jobs
|
|
|
|
[testenv:jenkins-project]
|
|
deps =
|
|
commands =
|
|
{toxinidir}/tools/jenkins-projects-checks.py
|
|
|
|
[testenv:zuul]
|
|
basepython = python2.7
|
|
deps = PyYAML
|
|
commands =
|
|
{toxinidir}/tools/run-layout.sh
|
|
{toxinidir}/tools/layout-checks.py
|
|
|
|
[testenv:infra-docs]
|
|
deps =
|
|
Jinja2
|
|
PyYAML
|
|
commands = {toxinidir}/docs-site/generate_infra_index.py {toxinidir}/docs-site/infra-documents.yaml
|
|
|
|
[testenv:specs]
|
|
deps =
|
|
Jinja2
|
|
PyYAML
|
|
commands = {toxinidir}/specs/generate_specs_site.py {toxinidir}/specs/specs.yaml
|
|
|
|
[testenv:dib]
|
|
deps =
|
|
diskimage-builder
|
|
changedir = {toxinidir}/nodepool
|
|
commands = dib-lint
|
|
|
|
[testenv:renames]
|
|
deps = PyYAML
|
|
six
|
|
commands =
|
|
{toxinidir}/tools/tests/mass_rename_projects_unit_test.py
|
|
|
|
[testenv:nodepool]
|
|
commands = nodepool -c {toxinidir}/nodepool/nodepool.yaml config-validate
|