diff options
author | James E. Blair <jim@acmegating.com> | 2022-01-17 13:15:58 -0800 |
---|---|---|
committer | Clark Boylan <clark.boylan@gmail.com> | 2022-01-25 16:07:08 -0800 |
commit | 41d8e478a5298699cef1e8364667945070e620d7 (patch) | |
tree | 6c16f91c3dd0c7b22bcc1d31192b4e0e8a0762b8 /tests/fixtures | |
parent | 07b0b5c5fa4d8174132f59e86bc3eb914e565fa2 (diff) | |
download | zuul-41d8e478a5298699cef1e8364667945070e620d7.tar.gz |
Remove "sql connection" backwards compatability for database
In 4.0 we deprecated connections using the "sql" driver in favor of
using the new "database" config file section. Remove the backwards
compatible handling of that so that "sql" connections or lack of
"database" section report an error.
Change-Id: I7e592cf5ff63f73f487e41bb6e3e4a4ae523e3fc
Diffstat (limited to 'tests/fixtures')
5 files changed, 0 insertions, 20 deletions
diff --git a/tests/fixtures/config/sql-driver/git/common-config/zuul.yaml b/tests/fixtures/config/sql-driver/git/common-config/zuul.yaml index ff0f9d685..57d50ca43 100644 --- a/tests/fixtures/config/sql-driver/git/common-config/zuul.yaml +++ b/tests/fixtures/config/sql-driver/git/common-config/zuul.yaml @@ -10,7 +10,6 @@ failure: gerrit: Verified: -1 - resultsdb_failures: null - pipeline: name: gate @@ -28,7 +27,6 @@ failure: gerrit: Verified: -2 - resultsdb_failures: null start: gerrit: Verified: 0 @@ -41,8 +39,6 @@ gerrit: - event: ref-updated ref: ^refs/tags/.*$ - failure: - resultsdb_failures: null - nodeset: name: test-nodeset diff --git a/tests/fixtures/zuul-sql-driver-mysql.conf b/tests/fixtures/zuul-sql-driver-mysql.conf index ab34cb4c0..094efdd63 100644 --- a/tests/fixtures/zuul-sql-driver-mysql.conf +++ b/tests/fixtures/zuul-sql-driver-mysql.conf @@ -18,7 +18,3 @@ sshkey=fake_id_rsa1 [database] dburi=$MYSQL_FIXTURE_DBURI$ - -[connection resultsdb_failures] -driver=sql -dburi=$MYSQL_FIXTURE_DBURI$ diff --git a/tests/fixtures/zuul-sql-driver-postgres.conf b/tests/fixtures/zuul-sql-driver-postgres.conf index 13e8523c5..436d16de4 100644 --- a/tests/fixtures/zuul-sql-driver-postgres.conf +++ b/tests/fixtures/zuul-sql-driver-postgres.conf @@ -18,7 +18,3 @@ sshkey=fake_id_rsa1 [database] dburi=$POSTGRESQL_FIXTURE_DBURI$ - -[connection resultsdb_failures] -driver=sql -dburi=$POSTGRESQL_FIXTURE_DBURI$ diff --git a/tests/fixtures/zuul-sql-driver-prefix-mysql.conf b/tests/fixtures/zuul-sql-driver-prefix-mysql.conf index c16620474..bbe2993b2 100644 --- a/tests/fixtures/zuul-sql-driver-prefix-mysql.conf +++ b/tests/fixtures/zuul-sql-driver-prefix-mysql.conf @@ -19,7 +19,3 @@ sshkey=fake_id_rsa1 [database] dburi=$MYSQL_FIXTURE_DBURI$ table_prefix=prefix_ - -[connection resultsdb_failures] -driver=sql -dburi=$MYSQL_FIXTURE_DBURI$ diff --git a/tests/fixtures/zuul-sql-driver-prefix-postgres.conf b/tests/fixtures/zuul-sql-driver-prefix-postgres.conf index 85745b6e4..8cf5530e0 100644 --- a/tests/fixtures/zuul-sql-driver-prefix-postgres.conf +++ b/tests/fixtures/zuul-sql-driver-prefix-postgres.conf @@ -20,7 +20,3 @@ sshkey=fake_id_rsa1 driver=sql dburi=$POSTGRESQL_FIXTURE_DBURI$ table_prefix=prefix_ - -[connection resultsdb_failures] -driver=sql -dburi=$POSTGRESQL_FIXTURE_DBURI$ |