Update projects.yaml for new upstream tracking

jeepyb gets a new upstream tracking syntax in
https://review.openstack.org/#/c/35535/

Switch to use it.

The new syntax will operate via git push, so that changes to upstream
can trigger zuul events.

Change-Id: Ideca999aca0e8583cce9a1227089243216175158
This commit is contained in:
Monty Taylor 2013-10-06 13:41:53 -04:00 committed by Jeremy Stanley
parent d6095f63a1
commit 69cdb6a449
4 changed files with 22 additions and 8 deletions

View File

@ -178,12 +178,13 @@ that periodically marks reviews that have seen little activity as
`Abandoned`. Their owners may use the Gerrit interface to restore
them when they are ready for further review.
Fetching Remotes
----------------
Manage Projects
---------------
Some projects may have remotes defined in Jeepyb; the
``fetch-remotes`` cron job will update these remotes so that their
commits are available in Gerrit.
Some projects may have upstreams defined in Jeepyb; the
``manage-projects`` cron job will update these remotes so that their
commits are available in Gerrit. It will also ensure that project metadata
is set up as defined in projects.yaml.
RSS feeds
---------

View File

@ -5,8 +5,14 @@ class gerrit::remotes($ensure=present) {
ensure => $ensure,
user => 'gerrit2',
minute => '*/30',
command => 'sleep $((RANDOM\%60+90)) && /usr/local/bin/fetch-remotes',
require => Class['jeepyb'],
command => 'sleep $((RANDOM\%60+90)) && /usr/local/bin/manage-projects',
require => [Class['jeepyb'], File['/var/lib/jeepyb']],
}
file { '/var/lib/jeepyb':
ensure => directory,
owner => 'gerrit2',
require => User['gerrit2'],
}
file { '/home/gerrit2/remotes.config':

View File

@ -170,6 +170,10 @@ jobs:
voting: false
- name: check-tempest-devstack-vm-cells-full-stable-havana
voting: false
- name: ^(gate|check)-gerrit-unittests$
branch: ^openstack/.*$
- name: gerrit-package
branch: ^openstack/.*$
- name: gate-nova-pylint
voting: false
- name: gate-cinder-pylint

View File

@ -47,7 +47,10 @@
description: The jenkins gearman plugin
- project: openstack-infra/gerrit
description: Fork of Gerrit used by OpenStack
remote: https://gerrit.googlesource.com/gerrit
upstream: https://gerrit.googlesource.com/gerrit
upstream-prefix: upstream
options:
- track-upstream
- project: openstack-infra/gerritbot
- project: openstack-infra/gerritlib
- project: openstack-infra/git-review