Since both pep8 and bashate are voting, we can merge the two lint
targets into the "common" pep8 lint target. There's no need for a
separate bashate run.
This change is the second part for this.
Since the jobs are changed, we can now remove the obsolete bashate
tox.ini target.
Change-Id: I572ba3fe8b3a9a05f5239a858d2f701bfd8f684d
This is a partial cargo-culting of the index job and associated
files from the specs.o.o site, to generate a simple top-level index
page for the http://docs.openstack.org/infra/ tree.
Change-Id: Idb5a8dba58a53c7c8ea1de69e9a4d9b5ef410c78
* Fix print syntax in check_valid_gerrit_projects.py
* tox.ini: jenkins-project env works also on Python 3, no need to force
Python 2.7
Change-Id: I3c643470c6b5db666aeab208c615382719f8768d
This is the first part of merging pep and bashate jobs: Remove
bashate job from project-config queues.
Since both pep8 and bashate are voting, we can merge the two lint
targets into the "common" pep8 lint target. There's no need for a
separate bashate run.
The second part will remove the bashate job from tox.ini. This cannot
be done as part of this change since it would break gating.
Change-Id: I9522b2b7478590bf41dc1dab763de01d38b70404
Add new test that checks that channels mentioned in gerritbot are also
in accessbot.
Enhance the irc tox target so that it runs the checks, and update Zuul
so that the job is run for changes to gerritbot.
Add channels openstack-mistral and puppet-openstack to accessbot,
openstackinfra now has access to the channels. These two channels are
already in gerritbot.
Make check_irc_access.py script executable.
Change-Id: Ic68ba9a1c60854e68817fcadb1a5df2144944af7
Use a YAML file listing the projects to generate the specs.openstack.org
root page and an OPML file for all of the available RSS feeds.
These changes are based on the work of Maish Saidel-Keesing
<maishsk@gmail.com> in https://review.openstack.org/#/c/140041/
Change-Id: I828d65f10fb7608b59e3561cedc9553d4d96ee75
This patch adds a check for Gerrit ACL configs. In this initial
version, the test being added checks that the config defines
at least one team that acts as a core/admin one.
The current check is intentially pretty loose to ensure some
flexibility.
Currently the check applies to stackforge and openstack-dev only.
Change-Id: I2b04f2d94130699d6fd1c16a9b00b9c81d1ba07d
Fix the python interpreter used by layout-checks.py so that the "tox -e
zuul" target works correctly on a local system.
Add the PyYAML dependency needed by layout-checks.py to the tox
configuration for the zuul target.
Add the zuul target to the default list for tox.
Change-Id: Ic4db9fc3bb236d36365abfe966eb9e7769896011
Rename check_upstream_url_scheme.py to check_valid_gerrit_projects.py
and extend the check so that:
* It shows all errors, not only the first one
* It checks that the keywords are valid
This was triggered by seen twice in a week the keyword "description"
misspelled.
Script now outputs in error case:
Error: Upstream URLs should use a scheme in ['https://', 'http://', 'git://'],
found git@://github.com/emonty/cookiecutter-openstack.git in
openstack-dev/cookiecutter
Error: Unknown keyword 'decription' in project stackforge/ec2-driver
Found 2 error(s) in /tmp/projects.yaml
Also add the usual license header.
Change-Id: I334dcadc6fd4472fb28d379aec317c1a16dee2e2
Add jenkins-project to the list of envs used when "tox" is run locally
without arguments. This should make it easier for someone working on a
change to test locally before submitting the patch.
Change-Id: I5f2732daa2509ff378429959bd15d0f2f7f98692
Example output of test:
$ tools/jenkins-projects-checks.py
Checking section 'OpenStack server projects'
Checking section 'OpenStack client projects'
Checking section 'oslo libraries'
Checking section 'Other OpenStack projects'
Wrong alphabetical order: tempest, qa-specs
Checking section 'OpenStack API projects'
Checking section 'OpenStack documentation projects'
Checking section 'OpenStack development projects'
Checking section 'OpenStack infrastructure projects'
Checking section 'Stackforge projects'
Found errors in jenkins/jobs/projects.yaml!
This patch fixes the order so that it passes.
It also creates a new job to test this.
Change-Id: I36fd522261363494f07b57e40f0d9b943cf08841
Also create tools/run-bashate.sh to wrap a find command to search for
files to run bashate on, and use it in tox.
Change-Id: I5ab07425f566a556f158a4b76b00aa35f9fb4385
Check that each project (with exception of z/tempest) has a merge-check
template.
Check projects - so far stackforge only - for alphabetical order.
The merge template check is taken from a test that Jeremy shared.
Change-Id: I2bc457ddfe0eca787bb88ceeb919f89d491978d7
Co-Authored-By: Jeremy Stanley <fungi@yuggoth.org>
Adjust tox environment, the check_projects_yaml_alphabetized.sh script
only works with gerrit/projects.yaml but not with layout.yaml, so remove
the call.
Change the job to use tox -e zuul.
Change-Id: I70d918ec1de94c6ec9aa0c2c6647aa8c791df303
Fix these warnings when invoking "tox -e jjb":
WARNING:test command found but not installed in testenv
cmd: /usr/bin/rm
env:
/home/aj/Software/vcs/OpenStack/openstack-infra/project-config/.tox/jjb
Maybe forgot to specify a dependency?
jjb runtests: commands[1] | mkdir -p
/home/aj/Software/vcs/OpenStack/openstack-infra/project-config/.tox/jjb/tmp
WARNING:test command found but not installed in testenv
cmd: /usr/bin/mkdir
env:
/home/aj/Software/vcs/OpenStack/openstack-infra/project-config/.tox/jjb
Maybe forgot to specify a dependency?
Change-Id: If1b56882d3b608450d2ab5fbf0af5cbe920471e8
Fix the default tox configuration so it works properly if a developer
just runs "tox" on their local system by removing environments from the
default list that do not exist. Add the jjb environment to the list.
Add the missing argument to check_projects_yaml_alphabetized.sh and
remove the unused arguments from run-layout.sh.
Exclude the .test directory created by the zuul test environment from
the files checked by flake8.
Change-Id: I72cb9aa3908d16f9e5b6d6445b07819563ce9104
Make the necessary changes for the jobs ported over from infra/config
to work in this repo.
Also, make the irc access job voting.
Add a .gitignore file.
Change-Id: If3b6c214881205a25e8148c23c3411338b66ef90