From 09b1e91b630335e575a963745f740498beacc0ae Mon Sep 17 00:00:00 2001 From: Jeremy Stanley <fungi@yuggoth.org> Date: Wed, 8 Jan 2014 01:31:11 +0000 Subject: [PATCH] Pass a zuul scratch subpath to create-cgitrepos * modules/openstack_project/manifests/git_backend.pp: Pass "zuul" as the SCRATCH_SUBPATH environment variable for the create-cgitrepos utility. With a new enough jeepyb to support this, it will generate empty shadow git repositories where zuul can stow its throwaway job references. Change-Id: I26828ab9935e47382f6706a5c590f32b806d1713 --- modules/openstack_project/manifests/git_backend.pp | 1 + 1 file changed, 1 insertion(+) diff --git a/modules/openstack_project/manifests/git_backend.pp b/modules/openstack_project/manifests/git_backend.pp index a6d53f4122..abfa338665 100644 --- a/modules/openstack_project/manifests/git_backend.pp +++ b/modules/openstack_project/manifests/git_backend.pp @@ -84,6 +84,7 @@ class openstack_project::git_backend ( exec { 'create_cgitrepos': command => 'create-cgitrepos', path => '/bin:/usr/bin:/usr/local/bin', + environment => 'SCRATCH_SUBPATH=zuul', require => File['/home/cgit/projects.yaml'], subscribe => File['/home/cgit/projects.yaml'], refreshonly => true,