Add CLA config to gerrit.
Also add the echosign "cla" which just points devs to the wiki page. Change-Id: I0ef37511d9f7e7495d78f2f3cd9fde47f88aa99c
This commit is contained in:
parent
f1b1a8e925
commit
ebac164ee0
15
modules/gerrit/files/echosign-cla.html
Normal file
15
modules/gerrit/files/echosign-cla.html
Normal file
@ -0,0 +1,15 @@
|
||||
<html>
|
||||
<body>
|
||||
<div>
|
||||
<p>In order to contribute to OpenStack, you need to sign the Contributor License Agreement.</p>
|
||||
|
||||
<p>
|
||||
Follow <a href="http://wiki.openstack.org/HowToContribute">these instructions</a> to sign the agreement. Once your membership in the openstack-cla group has been approved,
|
||||
you will be able to submit changes.
|
||||
</p>
|
||||
|
||||
<p>(This page is not the actual agreement, do not fill out the form below.)</p>
|
||||
|
||||
</div>
|
||||
</body>
|
||||
</html>
|
@ -98,6 +98,15 @@ $commentlinks = [ { name => 'changeid',
|
||||
source => 'puppet:///modules/gerrit/patchset-created',
|
||||
replace => 'true',
|
||||
}
|
||||
|
||||
file { '/home/gerrit2/review_site/static/echosign-cla.html':
|
||||
owner => 'root',
|
||||
group => 'root',
|
||||
mode => 444,
|
||||
ensure => 'present',
|
||||
source => 'puppet:///modules/gerrit/echosign-cla.html',
|
||||
replace => 'true',
|
||||
}
|
||||
|
||||
} else {
|
||||
notice('Gerrit is not installed')
|
||||
|
@ -13,6 +13,7 @@
|
||||
type = OPENID_SSO
|
||||
openIdSsoUrl = <%= openidssourl %>
|
||||
cookieSecure = true
|
||||
contributorAgreements = true
|
||||
[sendemail]
|
||||
smtpServer = localhost
|
||||
[container]
|
||||
|
Loading…
Reference in New Issue
Block a user