Overhaul database package

- Remove SQLite
- Centralize/unify database usage, add lots of config helper functions
- Add setup script
- Add buildbot_migratedb

BUG=skia:

Review URL: https://codereview.chromium.org/813443002
22 files changed
tree: 003e64b32f515f70c03c2c33805b7cc8d27565cc
  1. alertserver/
  2. appengine_scripts/
  3. bash/
  4. bug_chomper/
  5. cluster_telemetry/
  6. compute_engine_scripts/
  7. ct/
  8. datahopper/
  9. doc/
  10. go/
  11. golden/
  12. grains/
  13. influxdb/
  14. logserver/
  15. nginx/
  16. perf/
  17. prober/
  18. push/
  19. res/
  20. scripts/
  21. site_config/
  22. skfe/
  23. tools/
  24. webtools/
  25. webtry/
  26. .gitignore
  27. codereview.settings
  28. DEPS
  29. LICENSE
  30. Makefile
  31. PRESUBMIT.py
  32. README.md
  33. run_unittests
  34. whitespace.txt
README.md

Skia-Buildbot Repository

This repo contains infrastructure code for Skia.

Quick Start

Tests require a local installation of MySQL. For a Debian based distro: $ sudo apt-get install mysql-client mysql-server

Then, to set up local versions of the production databases: $ cd go/database $ ./setup_test_db

Database Setup for Testing

Tests which use the database package's testutils require you to have a MySQL instance running with a database named “sk_testing” and users called “readwrite” and “test_root” with appropriate permissions for sk_testing. The ‘setup_test_db’ script in ‘go/database’ is included for convenience in setting up this test database and user.