I made this project as a way for those new to DevOps to get started with the basic technologies involved. It requires setting up the basic accounts and then provides the user with an all-in-one place to see their progress and to better understand how these different tools interact in the DevOps lifecycle.
This project runs a Flask App, which serves the web dashboard. It is written in Python and most of the data is collected via external API calls, with Docker and Jenkins data being collected straight from your machine.
Besides displaying all your DevOps data neatly organized in the dashboard, you can send the data to a Webex space via message by clicking the 'Post to Webex' button in the menu.
This project runs as a Flask app. The original project, diy-devops-dashboard-in-docker, also runs as a Flask app, but in a Docker container. The Docker version would not pass the initial vulnerability scanning for acceptance into the Cisco Code Exchange, so I made this version, which the automated vulnerability scanning finds more agreeable.
GitHub, GitLab, Terraform, and Elastic-Cloud accounts must be created and the credentials placed in the .env file in order for the data from those platforms to display properly in the dashboard. Jenkins projects and Docker containers will also need to be present locally, for that data to be populated in the dashboard.
git clone https://github.com/xanderstevenson/diy-devops-dashboard.git
cd diy-devops-dashboard
pip install -r requirements.txt
GITHUB_USERNAME="your_username"
GITHUB_ACCESS_TOKEN="your_access_token"
...
...
*** The .env file is listed in the .gitignore file, so .env will not be pushed to GitHub if you decide to fork this project. ***
python3 app.py
or python app.py
Both actions reload the data to be presented.
Click on the image to watch the video
You can find out more about the DIY DevOps Dashboard on Cisco Code Exchange: http://cs.co/diy-devops-dashboard
Don’t forget to check out the DevOps Group Hub on the Cisco Community: https://cs.co/devops-community
This project is for demo purposes only and should not be used in a production environment.
Owner
Contributors
Categories
ObservabilityCollaborationProducts
WebexProgramming Languages
PythonLicense
Code Exchange Community
Get help, share code, and collaborate with other developers in the Code Exchange community.View Community