Add option to report build page

This adds a tenant option to use the Zuul web build page as the
URL reported to the code review system when a build completes.

The setting is per-tenant (because it requires that the tenant
have a working SQL reporter configured in all pipelines) and
defaults to false, since we can't guarantee that.  In the future,
we expect to make SQL reporting implicit, then this can default
to true and eventually be deprecated.

A new zuul.conf option is added and marked required to supply
the root web URL.  As we perform further integration with the web
app, we may be able to deprecate other similar settings, such
as "status_url".

Change-Id: Iaa3be10525994722d020d2aa5a7dcf141f2404d9
This commit is contained in:
James E. Blair
2019-08-08 09:24:13 -07:00
parent 29bbbd69b4
commit f13cc924df
18 changed files with 188 additions and 1 deletions

View File

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

View File

@@ -0,0 +1,24 @@
- pipeline:
name: check
manager: independent
trigger:
gerrit:
- event: patchset-created
success:
gerrit:
Verified: 1
failure:
gerrit:
Verified: -1
- job:
name: base
parent: null
- job:
name: python27
nodeset:
nodes:
- name: controller
label: ubuntu-trusty
run: playbooks/python27.yaml

View File

@@ -0,0 +1 @@
test

View File

@@ -0,0 +1,4 @@
- project:
check:
jobs:
- python27

View File

@@ -0,0 +1 @@
test

View File

@@ -0,0 +1,4 @@
- project:
check:
jobs:
- python27

View File

@@ -0,0 +1 @@
test

View File

@@ -0,0 +1,4 @@
- project:
check:
jobs:
- python27