[ews-app] Add method to save Build data to database
authoraakash_jain@apple.com <aakash_jain@apple.com@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Mon, 28 Jan 2019 23:00:35 +0000 (23:00 +0000)
committeraakash_jain@apple.com <aakash_jain@apple.com@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Mon, 28 Jan 2019 23:00:35 +0000 (23:00 +0000)
commit101a549beaa1ed7a6a2c323207bdd23ddc85459d
tree8a25856326c72bed05bbf6a9e919cd0387042b21
parentab6dc4a6b91b5ebb003fe2a9286bf367c4387b39
[ews-app] Add method to save Build data to database
https://bugs.webkit.org/show_bug.cgi?id=193735

Reviewed by Lucas Forschler.

* BuildSlaveSupport/ews-app/ews/models/build.py:
(Build.save_build): Method to save build information to database.
(Build.get_existing_build): Method to fetch existing build from database.
(Build.is_valid_result): Method to validate build result.
* BuildSlaveSupport/ews-app/ews/common/util.py:
(is_valid_int_id): Method to validate valid id.

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@240603 268f45cc-cd09-0410-ab3c-d52691b4dbfc
Tools/BuildSlaveSupport/ews-app/ews/common/util.py
Tools/BuildSlaveSupport/ews-app/ews/models/build.py
Tools/ChangeLog