This repository has been archived by the owner on May 22, 2024. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 14
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Issue 429 Add list of 10 most recent FAILED builds to status page (#67)
* TxManager - added job counts per module and total. DashboardTest - unit test for TxManager.generate_dashboard() * bumped version number * test_manager.py - fixed test_generate_dashboard to account for job counts. Removed dashboard_tests. * test_manager.py - improved test_generate_dashboard to verify job counts. manager.py - tweaked ids of totals for easy validation. * TxManager.generate_dashboard - get list of failed jobs. * TxManager.generate_dashboard - First pass with failure table entries. ManagerTest.test_generate_dashboard() - added error table validation * TxManager.generate_dashboard - Added more failure table entries. * TxManager.generate_dashboard - code cleanup. * TxManager.generate_dashboard - code cleanup. * TxManager.generate_dashboard - code cleanup. * TxManager.generate_dashboard - code cleanup. * TxManager.generate_dashboard - put in guesstimated links to source and destination. * TxManager.generate_dashboard - tweaks to table format. * TxManager.generate_dashboard - tweaks to table format. * ManagerTest.test_generate_dashboard() - init gogs_url. TxManager.generate_dashboard - tweaks for testing. * TxManager.generate_dashboard - default value for self.gogs_url. * ManagerTest.test_generate_dashboard() - changed to use output field for destination. TxManager.generate_dashboard - tweaks for testing. * DashboardHandler - added support for max failures count. ManagerTest.test_generate_dashboard() - added max_failures parameter. test_dashboardHandler.py - expanded thoroughness of test stealing from manager_tests. * test_dashboardHandler.py - fixing imports to get to run on travis. * test_dashboardHandler.py - fix path to query string. * test_dashboardHandler.py - fix path to query string. * test_dashboardHandler.py - narrowed down tests to just test that max_failures is getting set properly. * generate_dashboard() - Now has links to source repo, preconverted, converted, and destination build log. ManagerTest - added test_generate_dashboard_max_two to test max failures parameter. * DashboardHandlerTest - fix for unit testing on Travis. * DynamoDBHandler.query_items() - fix for when return data exceeds 1MB. added exclusive_start_key parameter and detection when query returns partial data. TxManager.query_jobs() - added fix to for when only partial data is returned. Continues to query until all data fetched. TxManager.generate_dashboard() - added check for unregistered modules in jobs. * DynamoDBHandler.query_items() - return last_key as tuple. mock_db_handler.query_items() - return last_key (None) as tuple. * DynamoDBHandlerTests - fix for query_items() to handle last_key tuple. * TxManager - tweak missing modules. * TxManager - tweaks to improve code coverage. Added more jobs to test_manager. * Tweaked test_manager to reflect higher job count. * Tweaked test_manager to reflect higher job count. * Tweaked test_manager to reflect higher job count. * DynamoDBHandler.query_items() - removed last_key in return value and modified grab all chunks. Also added a query limit. * DynamoDBHandler.query_items() - fixed problem that when only one query item, it gets ignored. TxManager.generate_dashboard() - no loads only supported modules. * DynamoDBHandler - added get_item_count(). TxManager - added get_job_count(), generate_dashboard() - now only loads jobs for supported modules, added unregistered job count. * TxManager - generate_dashboard() - fix for issue that AWS table size is only updated every 6 hours.
- Loading branch information
1 parent
a55d618
commit e475c82
Showing
8 changed files
with
331 additions
and
58 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -2,7 +2,7 @@ | |
|
||
setup( | ||
name='tx-manager', | ||
version='0.2.62', | ||
version='0.2.63', | ||
packages=[ | ||
'client', | ||
'manager', | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.