Merge "Required SQL reporters"
This commit is contained in:
@@ -7,15 +7,10 @@
|
||||
success:
|
||||
gerrit:
|
||||
Verified: 1
|
||||
resultsdb_mysql: null
|
||||
resultsdb_postgresql: null
|
||||
failure:
|
||||
gerrit:
|
||||
Verified: -1
|
||||
resultsdb_mysql: null
|
||||
resultsdb_mysql_failures: null
|
||||
resultsdb_postgresql: null
|
||||
resultsdb_postgresql_failures: null
|
||||
resultsdb_failures: null
|
||||
|
||||
- pipeline:
|
||||
name: gate
|
||||
@@ -30,15 +25,10 @@
|
||||
gerrit:
|
||||
Verified: 2
|
||||
submit: true
|
||||
resultsdb_mysql: null
|
||||
resultsdb_postgresql: null
|
||||
failure:
|
||||
gerrit:
|
||||
Verified: -2
|
||||
resultsdb_mysql: null
|
||||
resultsdb_mysql_failures: null
|
||||
resultsdb_postgresql: null
|
||||
resultsdb_postgresql_failures: null
|
||||
resultsdb_failures: null
|
||||
start:
|
||||
gerrit:
|
||||
Verified: 0
|
||||
@@ -51,14 +41,8 @@
|
||||
gerrit:
|
||||
- event: ref-updated
|
||||
ref: ^refs/tags/.*$
|
||||
success:
|
||||
resultsdb_mysql: null
|
||||
resultsdb_postgresql: null
|
||||
failure:
|
||||
resultsdb_mysql: null
|
||||
resultsdb_mysql_failures: null
|
||||
resultsdb_postgresql: null
|
||||
resultsdb_postgresql_failures: null
|
||||
resultsdb_failures: null
|
||||
|
||||
- job:
|
||||
name: base
|
||||
|
||||
@@ -7,13 +7,9 @@
|
||||
success:
|
||||
gerrit:
|
||||
Verified: 1
|
||||
resultsdb_mysql: null
|
||||
resultsdb_postgresql: null
|
||||
failure:
|
||||
gerrit:
|
||||
Verified: -1
|
||||
resultsdb_mysql: null
|
||||
resultsdb_postgresql: null
|
||||
|
||||
- job:
|
||||
name: base
|
||||
|
||||
@@ -7,13 +7,9 @@
|
||||
success:
|
||||
gerrit:
|
||||
Verified: 1
|
||||
resultsdb_mysql: null
|
||||
resultsdb_postgresql: null
|
||||
failure:
|
||||
gerrit:
|
||||
Verified: -1
|
||||
resultsdb_mysql: null
|
||||
resultsdb_postgresql: null
|
||||
|
||||
- pipeline:
|
||||
name: gate
|
||||
|
||||
@@ -7,13 +7,9 @@
|
||||
success:
|
||||
gerrit:
|
||||
Verified: 1
|
||||
resultsdb_mysql: null
|
||||
resultsdb_postgresql: null
|
||||
failure:
|
||||
gerrit:
|
||||
Verified: -1
|
||||
resultsdb_mysql: null
|
||||
resultsdb_postgresql: null
|
||||
|
||||
- pipeline:
|
||||
name: gate
|
||||
|
||||
2
tests/fixtures/layouts/sql-build-error.yaml
vendored
2
tests/fixtures/layouts/sql-build-error.yaml
vendored
@@ -5,11 +5,9 @@
|
||||
gerrit:
|
||||
- event: patchset-created
|
||||
success:
|
||||
resultsdb_mysql: null
|
||||
gerrit:
|
||||
Verified: 1
|
||||
failure:
|
||||
resultsdb_mysql: null
|
||||
gerrit:
|
||||
Verified: -1
|
||||
|
||||
|
||||
@@ -29,3 +29,7 @@ realm=zuul.example.com
|
||||
client_id=zuul.example.com
|
||||
issuer_id=zuul_operator
|
||||
secret=NoDanaOnlyZuul
|
||||
|
||||
[database]
|
||||
dburi=$MYSQL_FIXTURE_DBURI$
|
||||
|
||||
|
||||
4
tests/fixtures/zuul-admin-web-oidc.conf
vendored
4
tests/fixtures/zuul-admin-web-oidc.conf
vendored
@@ -43,3 +43,7 @@ realm=myOIDC2
|
||||
client_id=zuul
|
||||
issuer_id=http://oidc2
|
||||
scope=openid profile email special-scope
|
||||
|
||||
[database]
|
||||
dburi=$MYSQL_FIXTURE_DBURI$
|
||||
|
||||
|
||||
@@ -30,3 +30,7 @@ client_id=zuul.example.com
|
||||
issuer_id=zuul_operator
|
||||
secret=NoDanaOnlyZuul
|
||||
max_validity_time=5
|
||||
|
||||
[database]
|
||||
dburi=$MYSQL_FIXTURE_DBURI$
|
||||
|
||||
|
||||
4
tests/fixtures/zuul-admin-web.conf
vendored
4
tests/fixtures/zuul-admin-web.conf
vendored
@@ -29,3 +29,7 @@ realm=zuul.example.com
|
||||
client_id=zuul.example.com
|
||||
issuer_id=zuul_operator
|
||||
secret=NoDanaOnlyZuul
|
||||
|
||||
[database]
|
||||
dburi=$MYSQL_FIXTURE_DBURI$
|
||||
|
||||
|
||||
4
tests/fixtures/zuul-connections-cgit.conf
vendored
4
tests/fixtures/zuul-connections-cgit.conf
vendored
@@ -25,3 +25,7 @@ server=localhost
|
||||
port=25
|
||||
default_from=zuul@example.com
|
||||
default_to=you@example.com
|
||||
|
||||
[database]
|
||||
dburi=$MYSQL_FIXTURE_DBURI$
|
||||
|
||||
|
||||
@@ -29,3 +29,7 @@ server=localhost
|
||||
port=25
|
||||
default_from=zuul@example.com
|
||||
default_to=you@example.com
|
||||
|
||||
[database]
|
||||
dburi=$MYSQL_FIXTURE_DBURI$
|
||||
|
||||
|
||||
4
tests/fixtures/zuul-connections-gitweb.conf
vendored
4
tests/fixtures/zuul-connections-gitweb.conf
vendored
@@ -24,3 +24,7 @@ server=localhost
|
||||
port=25
|
||||
default_from=zuul@example.com
|
||||
default_to=you@example.com
|
||||
|
||||
[database]
|
||||
dburi=$MYSQL_FIXTURE_DBURI$
|
||||
|
||||
|
||||
4
tests/fixtures/zuul-connections-merger.conf
vendored
4
tests/fixtures/zuul-connections-merger.conf
vendored
@@ -21,10 +21,10 @@ server=review.example.com
|
||||
user=jenkins
|
||||
sshkey=fake_id_rsa1
|
||||
|
||||
[connection resultsdb]
|
||||
driver=sql
|
||||
[database]
|
||||
dburi=$MYSQL_FIXTURE_DBURI$
|
||||
|
||||
|
||||
[connection smtp]
|
||||
driver=smtp
|
||||
server=localhost
|
||||
|
||||
@@ -30,3 +30,7 @@ server=localhost
|
||||
port=25
|
||||
default_from=zuul@example.com
|
||||
default_to=you@example.com
|
||||
|
||||
[database]
|
||||
dburi=$MYSQL_FIXTURE_DBURI$
|
||||
|
||||
|
||||
@@ -30,3 +30,7 @@ server=localhost
|
||||
port=25
|
||||
default_from=zuul@example.com
|
||||
default_to=you@example.com
|
||||
|
||||
[database]
|
||||
dburi=$MYSQL_FIXTURE_DBURI$
|
||||
|
||||
|
||||
4
tests/fixtures/zuul-crd-pagure.conf
vendored
4
tests/fixtures/zuul-crd-pagure.conf
vendored
@@ -37,3 +37,7 @@ server=localhost
|
||||
port=25
|
||||
default_from=zuul@example.com
|
||||
default_to=you@example.com
|
||||
|
||||
[database]
|
||||
dburi=$MYSQL_FIXTURE_DBURI$
|
||||
|
||||
|
||||
@@ -34,3 +34,7 @@ default_to=you@example.com
|
||||
|
||||
[web]
|
||||
static_cache_expiry=1200
|
||||
|
||||
[database]
|
||||
dburi=$MYSQL_FIXTURE_DBURI$
|
||||
|
||||
|
||||
4
tests/fixtures/zuul-disk-accounting.conf
vendored
4
tests/fixtures/zuul-disk-accounting.conf
vendored
@@ -25,3 +25,7 @@ server=localhost
|
||||
port=25
|
||||
default_from=zuul@example.com
|
||||
default_to=you@example.com
|
||||
|
||||
[database]
|
||||
dburi=$MYSQL_FIXTURE_DBURI$
|
||||
|
||||
|
||||
3
tests/fixtures/zuul-elastic-driver.conf
vendored
3
tests/fixtures/zuul-elastic-driver.conf
vendored
@@ -23,3 +23,6 @@ driver=elasticsearch
|
||||
uri=localhost:9200
|
||||
use_ssl=true
|
||||
verify_certs=false
|
||||
|
||||
[database]
|
||||
dburi=$MYSQL_FIXTURE_DBURI$
|
||||
|
||||
@@ -46,3 +46,7 @@ server=localhost
|
||||
port=25
|
||||
default_from=zuul@example.com
|
||||
default_to=you@example.com
|
||||
|
||||
[database]
|
||||
dburi=$MYSQL_FIXTURE_DBURI$
|
||||
|
||||
|
||||
4
tests/fixtures/zuul-executor-hostname.conf
vendored
4
tests/fixtures/zuul-executor-hostname.conf
vendored
@@ -30,3 +30,7 @@ server=localhost
|
||||
port=25
|
||||
default_from=zuul@example.com
|
||||
default_to=you@example.com
|
||||
|
||||
[database]
|
||||
dburi=$MYSQL_FIXTURE_DBURI$
|
||||
|
||||
|
||||
4
tests/fixtures/zuul-gerrit-github.conf
vendored
4
tests/fixtures/zuul-gerrit-github.conf
vendored
@@ -33,3 +33,7 @@ server=localhost
|
||||
port=25
|
||||
default_from=zuul@example.com
|
||||
default_to=you@example.com
|
||||
|
||||
[database]
|
||||
dburi=$MYSQL_FIXTURE_DBURI$
|
||||
|
||||
|
||||
4
tests/fixtures/zuul-gerrit-no-stream.conf
vendored
4
tests/fixtures/zuul-gerrit-no-stream.conf
vendored
@@ -31,3 +31,7 @@ server=localhost
|
||||
port=25
|
||||
default_from=zuul@example.com
|
||||
default_to=you@example.com
|
||||
|
||||
[database]
|
||||
dburi=$MYSQL_FIXTURE_DBURI$
|
||||
|
||||
|
||||
4
tests/fixtures/zuul-gerrit-web.conf
vendored
4
tests/fixtures/zuul-gerrit-web.conf
vendored
@@ -33,3 +33,7 @@ server=localhost
|
||||
port=25
|
||||
default_from=zuul@example.com
|
||||
default_to=you@example.com
|
||||
|
||||
[database]
|
||||
dburi=$MYSQL_FIXTURE_DBURI$
|
||||
|
||||
|
||||
4
tests/fixtures/zuul-git-driver.conf
vendored
4
tests/fixtures/zuul-git-driver.conf
vendored
@@ -29,3 +29,7 @@ server=localhost
|
||||
port=25
|
||||
default_from=zuul@example.com
|
||||
default_to=you@example.com
|
||||
|
||||
[database]
|
||||
dburi=$MYSQL_FIXTURE_DBURI$
|
||||
|
||||
|
||||
@@ -18,3 +18,7 @@ webhook_token=0000000000000000000000000000000000000000
|
||||
app_id=1
|
||||
app_key=$APP_KEY_FIXTURE$
|
||||
server=github.enterprise.io
|
||||
|
||||
[database]
|
||||
dburi=$MYSQL_FIXTURE_DBURI$
|
||||
|
||||
|
||||
4
tests/fixtures/zuul-github-driver.conf
vendored
4
tests/fixtures/zuul-github-driver.conf
vendored
@@ -26,3 +26,7 @@ sshkey=/home/zuul/.ssh/id_rsa
|
||||
driver=github
|
||||
sshkey=/home/zuul/.ssh/id_rsa
|
||||
server=github.enterprise.io
|
||||
|
||||
[database]
|
||||
dburi=$MYSQL_FIXTURE_DBURI$
|
||||
|
||||
|
||||
4
tests/fixtures/zuul-gitlab-driver.conf
vendored
4
tests/fixtures/zuul-gitlab-driver.conf
vendored
@@ -16,3 +16,7 @@ git_dir=/tmp/zuul-test/executor-git
|
||||
driver=gitlab
|
||||
server=gitlab
|
||||
api_token=0000000000000000000000000000000000000000
|
||||
|
||||
[database]
|
||||
dburi=$MYSQL_FIXTURE_DBURI$
|
||||
|
||||
|
||||
4
tests/fixtures/zuul-hold-expiration.conf
vendored
4
tests/fixtures/zuul-hold-expiration.conf
vendored
@@ -36,3 +36,7 @@ default_to=you@example.com
|
||||
[web]
|
||||
static_cache_expiry=1200
|
||||
root=https://zuul.example.com/
|
||||
|
||||
[database]
|
||||
dburi=$MYSQL_FIXTURE_DBURI$
|
||||
|
||||
|
||||
3
tests/fixtures/zuul-mqtt-driver.conf
vendored
3
tests/fixtures/zuul-mqtt-driver.conf
vendored
@@ -21,5 +21,8 @@ sshkey=fake_id_rsa1
|
||||
[connection mqtt]
|
||||
driver=mqtt
|
||||
|
||||
[database]
|
||||
dburi=$MYSQL_FIXTURE_DBURI$
|
||||
|
||||
[web]
|
||||
root=https://tenant.example.com/
|
||||
|
||||
@@ -17,3 +17,7 @@ driver=pagure
|
||||
server=pagure
|
||||
api_token=0000000000000000000000000000000000000000
|
||||
source_whitelist=::ffff:127.0.0.1
|
||||
|
||||
[database]
|
||||
dburi=$MYSQL_FIXTURE_DBURI$
|
||||
|
||||
|
||||
4
tests/fixtures/zuul-pagure-driver.conf
vendored
4
tests/fixtures/zuul-pagure-driver.conf
vendored
@@ -16,3 +16,7 @@ git_dir=/tmp/zuul-test/executor-git
|
||||
driver=pagure
|
||||
server=pagure
|
||||
api_token=0000000000000000000000000000000000000000
|
||||
|
||||
[database]
|
||||
dburi=$MYSQL_FIXTURE_DBURI$
|
||||
|
||||
|
||||
4
tests/fixtures/zuul-push-reqs.conf
vendored
4
tests/fixtures/zuul-push-reqs.conf
vendored
@@ -20,3 +20,7 @@ webhook_token=00000000000000000000000000000000000000000
|
||||
driver=gerrit
|
||||
server=review.example.com
|
||||
user=jenkins
|
||||
|
||||
[database]
|
||||
dburi=$MYSQL_FIXTURE_DBURI$
|
||||
|
||||
|
||||
3
tests/fixtures/zuul-sql-driver-bad.conf
vendored
3
tests/fixtures/zuul-sql-driver-bad.conf
vendored
@@ -18,8 +18,7 @@ server=review.example.com
|
||||
user=jenkins
|
||||
sshkey=fake_id_rsa1
|
||||
|
||||
[connection resultsdb_mysql]
|
||||
driver=sql
|
||||
[database]
|
||||
dburi=mysql+pymysql://bad:creds@host/db
|
||||
|
||||
[connection resultsdb_mysql_failures]
|
||||
|
||||
26
tests/fixtures/zuul-sql-driver-mysql.conf
vendored
Normal file
26
tests/fixtures/zuul-sql-driver-mysql.conf
vendored
Normal file
@@ -0,0 +1,26 @@
|
||||
[gearman]
|
||||
server=127.0.0.1
|
||||
|
||||
[scheduler]
|
||||
tenant_config=main.yaml
|
||||
|
||||
[merger]
|
||||
git_dir=/tmp/zuul-test/merger-git
|
||||
git_user_email=zuul@example.com
|
||||
git_user_name=zuul
|
||||
|
||||
[executor]
|
||||
git_dir=/tmp/zuul-test/executor-git
|
||||
|
||||
[connection gerrit]
|
||||
driver=gerrit
|
||||
server=review.example.com
|
||||
user=jenkins
|
||||
sshkey=fake_id_rsa1
|
||||
|
||||
[database]
|
||||
dburi=$MYSQL_FIXTURE_DBURI$
|
||||
|
||||
[connection resultsdb_failures]
|
||||
driver=sql
|
||||
dburi=$MYSQL_FIXTURE_DBURI$
|
||||
26
tests/fixtures/zuul-sql-driver-postgres.conf
vendored
Normal file
26
tests/fixtures/zuul-sql-driver-postgres.conf
vendored
Normal file
@@ -0,0 +1,26 @@
|
||||
[gearman]
|
||||
server=127.0.0.1
|
||||
|
||||
[scheduler]
|
||||
tenant_config=main.yaml
|
||||
|
||||
[merger]
|
||||
git_dir=/tmp/zuul-test/merger-git
|
||||
git_user_email=zuul@example.com
|
||||
git_user_name=zuul
|
||||
|
||||
[executor]
|
||||
git_dir=/tmp/zuul-test/executor-git
|
||||
|
||||
[connection gerrit]
|
||||
driver=gerrit
|
||||
server=review.example.com
|
||||
user=jenkins
|
||||
sshkey=fake_id_rsa1
|
||||
|
||||
[database]
|
||||
dburi=$POSTGRESQL_FIXTURE_DBURI$
|
||||
|
||||
[connection resultsdb_failures]
|
||||
driver=sql
|
||||
dburi=$POSTGRESQL_FIXTURE_DBURI$
|
||||
@@ -18,20 +18,10 @@ server=review.example.com
|
||||
user=jenkins
|
||||
sshkey=fake_id_rsa1
|
||||
|
||||
[connection resultsdb_mysql]
|
||||
driver=sql
|
||||
[database]
|
||||
dburi=$MYSQL_FIXTURE_DBURI$
|
||||
table_prefix=prefix_
|
||||
|
||||
[connection resultsdb_mysql_failures]
|
||||
[connection resultsdb_failures]
|
||||
driver=sql
|
||||
dburi=$MYSQL_FIXTURE_DBURI$
|
||||
|
||||
[connection resultsdb_postgresql]
|
||||
driver=sql
|
||||
dburi=$POSTGRESQL_FIXTURE_DBURI$
|
||||
table_prefix=prefix_
|
||||
|
||||
[connection resultsdb_postgresql_failures]
|
||||
driver=sql
|
||||
dburi=$POSTGRESQL_FIXTURE_DBURI$
|
||||
@@ -18,18 +18,11 @@ server=review.example.com
|
||||
user=jenkins
|
||||
sshkey=fake_id_rsa1
|
||||
|
||||
[connection resultsdb_mysql]
|
||||
driver=sql
|
||||
dburi=$MYSQL_FIXTURE_DBURI$
|
||||
|
||||
[connection resultsdb_mysql_failures]
|
||||
driver=sql
|
||||
dburi=$MYSQL_FIXTURE_DBURI$
|
||||
|
||||
[connection resultsdb_postgresql]
|
||||
[database]
|
||||
driver=sql
|
||||
dburi=$POSTGRESQL_FIXTURE_DBURI$
|
||||
table_prefix=prefix_
|
||||
|
||||
[connection resultsdb_postgresql_failures]
|
||||
[connection resultsdb_failures]
|
||||
driver=sql
|
||||
dburi=$POSTGRESQL_FIXTURE_DBURI$
|
||||
3
tests/fixtures/zuul-winrm.conf
vendored
3
tests/fixtures/zuul-winrm.conf
vendored
@@ -35,3 +35,6 @@ server=localhost
|
||||
port=25
|
||||
default_from=zuul@example.com
|
||||
default_to=you@example.com
|
||||
|
||||
[database]
|
||||
dburi=$MYSQL_FIXTURE_DBURI$
|
||||
|
||||
3
tests/fixtures/zuul.conf
vendored
3
tests/fixtures/zuul.conf
vendored
@@ -31,6 +31,9 @@ port=25
|
||||
default_from=zuul@example.com
|
||||
default_to=you@example.com
|
||||
|
||||
[database]
|
||||
dburi=$MYSQL_FIXTURE_DBURI$
|
||||
|
||||
[web]
|
||||
static_cache_expiry=1200
|
||||
root=https://zuul.example.com/
|
||||
|
||||
Reference in New Issue
Block a user