Commit Graph

2 Commits

Author SHA1 Message Date
Ghanshyam Mann b55cc013c1 [goal] Migrate testing to ubuntu focal
As per victoria cycle testing runtime and community goal[1]
we need to migrate upstream CI/CD to Ubuntu Focal(20.04).

Fixing:
- bug#1885825
Fix user creation with GRANT in MySQL 8.0(Ubuntu Focal)
Ubuntu Focal (20.04) has mysql 8.0 and with mysql 8.0 there
is no implicit user creation with GRANT. We need to
create the user first before using GRANT command.

Story: #2007865
Task: #40196

Closes-Bug: #1885825

[1] https://governance.openstack.org/tc/goals/selected/victoria/migrate-ci-cd-jobs-to-ubuntu-focal>

Change-Id: Idb053c8b1bfde9870eea80f66e5aef156422a668
2020-09-17 14:46:27 +00:00
Andreas Jaeger ac4d52bd4c Prepare for using standard python tests
Add simple script to setup mysql and postgresql databases, this script
can be run by users during testing and will be run by CI systems for
specific setup before running unit tests. This is exactly what is
currently done by OpenStack CI in project-config.

This allows to change in project-config the python-db jobs to
python-jobs since python-jobs will call this script initially.

See also
http://lists.openstack.org/pipermail/openstack-dev/2016-November/107784.html

Change-Id: I93265cd17899e090377cd5399b46ef5c5b86bc75
Needed-By: Ib5a91fd4e7211f4418ca1dc1bd2fa5c31b986bd5
2017-02-08 21:15:39 +01:00