diff options
author | Jenkins <jenkins@review.openstack.org> | 2017-02-16 00:42:21 +0000 |
---|---|---|
committer | Gerrit Code Review <review@openstack.org> | 2017-02-16 00:42:21 +0000 |
commit | 4da3416c3ea9d8281f3340213cb9bb4a76329ac9 (patch) | |
tree | 64cd3d874d3e58e0d75190296e9cb1c001fee903 /tests/fixtures | |
parent | b67cd7232e71547287bf4bf2c3193878e7859746 (diff) | |
parent | d78b44878c58304f78e6d88047febf7572992575 (diff) | |
download | zuul-4da3416c3ea9d8281f3340213cb9bb4a76329ac9.tar.gz |
Merge "Add support for sqlalchemy reporter"
Diffstat (limited to 'tests/fixtures')
-rw-r--r-- | tests/fixtures/layout-sql-reporter.yaml | 27 | ||||
-rw-r--r-- | tests/fixtures/zuul-connections-bad-sql.conf | 50 | ||||
-rw-r--r-- | tests/fixtures/zuul-connections-same-gerrit.conf | 8 |
3 files changed, 85 insertions, 0 deletions
diff --git a/tests/fixtures/layout-sql-reporter.yaml b/tests/fixtures/layout-sql-reporter.yaml new file mode 100644 index 000000000..c79a4328d --- /dev/null +++ b/tests/fixtures/layout-sql-reporter.yaml @@ -0,0 +1,27 @@ +pipelines: + - name: check + manager: IndependentPipelineManager + source: + review_gerrit + trigger: + review_gerrit: + - event: patchset-created + success: + review_gerrit: + verified: 1 + resultsdb: + score: 1 + failure: + review_gerrit: + verified: -1 + resultsdb: + score: -1 + resultsdb_failures: + score: -1 + +projects: + - name: org/project + check: + - project-merge: + - project-test1 + - project-test2 diff --git a/tests/fixtures/zuul-connections-bad-sql.conf b/tests/fixtures/zuul-connections-bad-sql.conf new file mode 100644 index 000000000..150643d0f --- /dev/null +++ b/tests/fixtures/zuul-connections-bad-sql.conf @@ -0,0 +1,50 @@ +[gearman] +server=127.0.0.1 + +[zuul] +layout_config=layout-connections-multiple-voters.yaml +url_pattern=http://logs.example.com/{change.number}/{change.patchset}/{pipeline.name}/{job.name}/{build.number} +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 + +[swift] +authurl=https://identity.api.example.org/v2.0/ +user=username +key=password +tenant_name=" " + +default_container=logs +region_name=EXP +logserver_prefix=http://logs.example.org/server.app/ + +[connection review_gerrit] +driver=gerrit +server=review.example.com +user=jenkins +sshkey=none + +[connection alt_voting_gerrit] +driver=gerrit +server=alt_review.example.com +user=civoter +sshkey=none + +[connection outgoing_smtp] +driver=smtp +server=localhost +port=25 +default_from=zuul@example.com +default_to=you@example.com + +[connection resultsdb] +driver=sql +dburi=mysql+pymysql://bad:creds@host/db + +[connection resultsdb_failures] +driver=sql +dburi=mysql+pymysql://bad:creds@host/db diff --git a/tests/fixtures/zuul-connections-same-gerrit.conf b/tests/fixtures/zuul-connections-same-gerrit.conf index b3b0e3f92..2609d3091 100644 --- a/tests/fixtures/zuul-connections-same-gerrit.conf +++ b/tests/fixtures/zuul-connections-same-gerrit.conf @@ -40,3 +40,11 @@ server=localhost port=25 default_from=zuul@example.com default_to=you@example.com + +[connection resultsdb] +driver=sql +dburi=$MYSQL_FIXTURE_DBURI$ + +[connection resultsdb_failures] +driver=sql +dburi=$MYSQL_FIXTURE_DBURI$ |