Merge "Test gerrit and github drivers in same tenant" into feature/zuulv3

This commit is contained in:
Jenkins
2017-05-17 23:00:10 +00:00
committed by Gerrit Code Review
8 changed files with 144 additions and 0 deletions

View File

@@ -0,0 +1,2 @@
- hosts: all
tasks: []

View File

@@ -0,0 +1,2 @@
- hosts: all
tasks: []

View File

@@ -0,0 +1,46 @@
- pipeline:
name: check_github
manager: independent
trigger:
github:
- event: pull_request
action:
- opened
- changed
- reopened
success:
github:
status: 'success'
failure:
github:
status: 'failure'
- pipeline:
name: check_gerrit
manager: independent
trigger:
gerrit:
- event: patchset-created
success:
gerrit:
verify: 1
failure:
gerrit:
verify: 1
- job:
name: project-gerrit
- job:
name: project1-github
- project:
name: org/project
check_gerrit:
jobs:
- project-gerrit
- project:
name: org/project1
check_github:
jobs:
- project1-github

View File

@@ -0,0 +1 @@
test

View File

@@ -0,0 +1 @@
test

View File

@@ -0,0 +1,11 @@
- tenant:
name: tenant-one
source:
github:
config-projects:
- common-config
untrusted-projects:
- org/project1
gerrit:
untrusted-projects:
- org/project

View File

@@ -0,0 +1,31 @@
[gearman]
server=127.0.0.1
[zuul]
tenant_config=config/multi-driver/main.yaml
job_name_in_report=true
[merger]
git_dir=/tmp/zuul-test/git
git_user_email=zuul@example.com
git_user_name=zuul
zuul_url=http://zuul.example.com/p
[executor]
git_dir=/tmp/zuul-test/executor-git
[connection gerrit]
driver=gerrit
server=review.example.com
user=jenkins
sshkey=none
[connection github]
driver=github
[connection outgoing_smtp]
driver=smtp
server=localhost
port=25
default_from=zuul@example.com
default_to=you@example.com