
This change allows to run functional tests with in-memory sqlite DB. Tests will use DB schema memoization. Here is the algorithm: 1. Statically create global DB fixture 2. Run migration script (only once) 3. Copy DDL and save it in the global state 4. Run DDL to initialize DB for each test This algorithm allows to skip long-running migration scripts and initialize database in one step. Based on openstack/ironic tests. Co-Authored-By: Ruslan Kamaldinov <rkamaldinov@mirantis.com> Change-Id: If80abd1b616548495d3466037aef54ade8f1614d
Storyboard
Storyboard is a task tracker for OpenStack.
Project Resources
Project status, bugs, and blueprints are tracked at:
Source code can be found at:
Documentation can be found here:
Additional resources are linked from the project wiki page:
Anyone wishing to contribute to an OpenStack project should find plenty of helpful resources here:
All OpenStack projects use Gerrit for code reviews. A good reference for that is here:
Getting Started as a Developer
Storyboard has two components: this API server, and the Javascript-based web client. To start the API server, make sure you have the following packages installed locally:
- libpq-dev
- libmysqlclient-dev
Then run:
mysql -u $DB_USER -p $DB_PASSWORD -e 'DROP DATABASE IF EXISTS storyboard;'
mysql -u $DB_USER -p $DB_PASSWORD -e 'CREATE DATABASE storyboard;'
cp ./etc/storyboard.conf.sample ./etc/storyboard.conf
Edit ./etc/storyboard.conf and set the connection
parameter in the [database]
section. Then run:
tox -e venv "storyboard-db-manage --config-file ./etc/storyboard.conf upgrade head"
tox -e venv "storyboard-api --config-file ./etc/storyboard.conf"
Then to use the web client, clone the repo and follow the instructions in the README:
git clone https://git.openstack.org/openstack-infra/storyboard-webclient