Streamlit app to visualize several DIRAC performance tests generated by GitHub Actions CI/CD. Online platform avaliable at https://dirac-performance.streamlit.app/. The reports are generated from https://gitlab.com/gfaym/dirac/-/tree/performance-builds and downloaded from the corresponding create-pages artifacts.
-
Clone repository
- Go to share.streamlit.io
- Connect to the GitHub repository that contains the project
-
Deployment configuration
- Main file path:
streamlit_app.py - Branch:
main
- Main file path:
-
Required directory structure
static/ html/REPORT-NAME Index.html build-(...)/ benchmark_report.html benchmark_summary.csv *.png build-(...)/ benchmark_report.html benchmark_summary.csv *.png build-(...)/ benchmark_report.html benchmark_summary.csv *png ``` -
Important notes
- HTML reports are generated by GitHub Actions CI/CD
- The app only reads and visualizes the files. It does not modify them
-
To deploy
- Click on "Deploy"
- Wait for deployment
- The app will be available at
https://dirac-performance.streamlit.app/
-
Create Python virtual environment
$ python -m venv venv_streamlit -
Activate Python virtual environment
$ source venv_streamlit/bin/activate -
Install the requirements
$ pip install -r requirements.txt -
Run the app
$ streamlit run streamlit_app.py
The current version does not allow to open this directly in Streamlit. Work is in progress...