zuul can now be installed from a different git repo
$git_source_repo is a new optional parameter to the zuul class, let you specify from which repository you want to install zuul. The default is the maintainer version on GitHub. The reason for this change is that some third party always hosts their software on their own infrastructure. That is the case of the Wikimedia Foundation which is reusing this module. Change-Id: I5ac8852b08d158ff3531f6795855df20a204789e Reviewed-on: https://review.openstack.org/13576 Reviewed-by: Clark Boylan <clark.boylan@gmail.com> Approved: Monty Taylor <mordred@inaugust.com> Reviewed-by: Monty Taylor <mordred@inaugust.com> Tested-by: Jenkins
This commit is contained in:
parent
5250ec59c9
commit
87778caaee
@ -4,7 +4,8 @@ class zuul (
|
||||
$jenkins_apikey,
|
||||
$gerrit_server,
|
||||
$gerrit_user,
|
||||
$url_pattern
|
||||
$url_pattern,
|
||||
$git_source_repo='https://github.com/openstack-ci/zuul.git'
|
||||
) {
|
||||
$packages = ["python-webob",
|
||||
"python-daemon",
|
||||
@ -27,7 +28,7 @@ class zuul (
|
||||
ensure => latest,
|
||||
provider => git,
|
||||
revision => "master",
|
||||
source => "https://github.com/openstack-ci/zuul.git",
|
||||
source => $git_source_repo,
|
||||
}
|
||||
|
||||
exec { "install_zuul":
|
||||
|
Loading…
Reference in New Issue
Block a user