https://github.com/mozilla-mobile/testops-dashboard
https://github.com/mozilla-mobile/testops-dashboard
Last synced: 3 months ago
JSON representation
- Host: GitHub
- URL: https://github.com/mozilla-mobile/testops-dashboard
- Owner: mozilla-mobile
- License: mpl-2.0
- Created: 2021-02-17T21:07:43.000Z (over 5 years ago)
- Default Branch: master
- Last Pushed: 2025-04-08T17:58:42.000Z (about 1 year ago)
- Last Synced: 2025-04-08T18:30:42.094Z (about 1 year ago)
- Language: Python
- Homepage:
- Size: 1.08 MB
- Stars: 3
- Watchers: 3
- Forks: 5
- Open Issues: 16
-
Metadata Files:
- Readme: README.md
- License: LICENSE
- Code of conduct: CODE_OF_CONDUCT.md
Awesome Lists containing this project
README
# testops-dashboard
The Mozilla Mobile TestOps Dashboard is a data pump that collects data from diverse APIs and aggregates it in a Cloud SQL database for display in Looker graphs.
## Overview
This repository contains the backend which enables data collection and processing for visualization in Looker.
### High-Level Workflow
1. `__main__.py` script is invoked via GitHub workflow cron job to initiate data extraction.
2. Data is pulled from the source API.
3. The data is transformed into a payload (usually a pandas dataframe).
4. The payload is used to update a Cloud SQL database.
Once the data is in the database, it's accessed via BigQuery views for use in Looker dashboards.
## Usage
Run the following to retrieve and update mobile project test data:
```
Usage: __main__.py [-h] --project {fenix,focus-android,reference-browser,firefox-ios,focus-ios,ALL}
--report-type {test-case-coverage,test-run-counts,issue-regression} [--num-days NUM_DAYS]
```
**Arguments:**
- `--project`: Choose which project to pull data for.
- `--report-type`: Select type of report.
- `--num-days`: Optional number of historical days to include.
## Connected APIs
- Bitrise.io
- Bugzilla
- Confluence
- GitHub (TBD)
- Jira
- Looker
- Sentry
- Testrail
## Database
Data is stored in a Cloud SQL database and made available through BigQuery views.
> See [`DB/README.md`](db/README.md) for more details on working with the database, environment variables, and helper scripts.
## Diagram
