Skip to content

Commit

Permalink
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Adjust federatedDbName logic
Browse files Browse the repository at this point in the history
phil-davis committed Oct 29, 2020
1 parent aa91595 commit 5137f44
Showing 1 changed file with 5 additions and 3 deletions.
8 changes: 5 additions & 3 deletions .drone.star
Original file line number Diff line number Diff line change
@@ -1382,9 +1382,11 @@ def acceptance(ctx):
name = 'unknown'
federatedDb = db if params['federatedDb'] == '' else params['federatedDb']

if federatedDb == 'oracle':
# Do not try to run 2 sets of Oracle databases
# When testing with Oracle, let the federated server use mariadb
federatedDbName = getDbName(federatedDb)

if federatedDbName not in ['mariadb', 'mysql']:
# Do not try to run 2 sets of Oracle, Postgres etc databases
# When testing with these, let the federated server use mariadb
federatedDb = 'mariadb:10.2'

if isWebUI or isAPI or isCLI:

0 comments on commit 5137f44

Please sign in to comment.