use mysqlclient for db connection
Change-Id: I86ce9ff337642a441d3fba2f1a299673eda858e1
This commit is contained in:
@@ -13,5 +13,6 @@
|
||||
name: ranger-tox-bandit
|
||||
parent: openstack-tox
|
||||
timeout: 600
|
||||
pre-run: playbooks/run_unit_test_job.yaml
|
||||
vars:
|
||||
tox_envlist: bandit-baseline
|
||||
|
||||
2
bindep.txt
Normal file
2
bindep.txt
Normal file
@@ -0,0 +1,2 @@
|
||||
python3-dev [platform:dpkg test]
|
||||
default-libmysqlclient-dev [platform:dpkg test]
|
||||
8
playbooks/run_unit_test_job.yaml
Normal file
8
playbooks/run_unit_test_job.yaml
Normal file
@@ -0,0 +1,8 @@
|
||||
- hosts: all
|
||||
roles:
|
||||
- role: bindep
|
||||
bindep_profile: test
|
||||
bindep_dir: "{{ zuul_work_dir }}"
|
||||
- test-setup
|
||||
- ensure-tox
|
||||
- tox
|
||||
@@ -18,3 +18,4 @@ sqlalchemy-migrate>=0.11.0 # Apache-2.0
|
||||
keystoneauth1>=3.9.0 # Apache-2.0
|
||||
keystonemiddleware>=4.17.0 # Apache-2.0
|
||||
python-keystoneclient>=3.8.0 # Apache-2.0
|
||||
mysqlclient>=1.4.0
|
||||
|
||||
1
tools/test-setup.sh
Normal file
1
tools/test-setup.sh
Normal file
@@ -0,0 +1 @@
|
||||
#!/bin/bash -xe
|
||||
Reference in New Issue
Block a user