Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/theoneoh1/octo-doodle
This project demonstrates a simple DevOps CI/CD pipeline using GitHub Actions
https://github.com/theoneoh1/octo-doodle
cicd containers docker github-actions sonarqube
Last synced: 24 days ago
JSON representation
This project demonstrates a simple DevOps CI/CD pipeline using GitHub Actions
- Host: GitHub
- URL: https://github.com/theoneoh1/octo-doodle
- Owner: TheOneOh1
- Created: 2024-05-16T10:06:32.000Z (7 months ago)
- Default Branch: main
- Last Pushed: 2024-06-12T10:50:35.000Z (7 months ago)
- Last Synced: 2024-06-12T15:37:54.299Z (7 months ago)
- Topics: cicd, containers, docker, github-actions, sonarqube
- Language: HTML
- Homepage:
- Size: 1.64 MB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Octo-doodle
- This project demonstrates a simple DevOps CI/CD pipeline using GitHub Actions to automatically deploy a static HTML web page using Docker and Nginx.
- The pipeline builds a Docker image, checks for any running containers, stops them if they exist, performs code analysis with SonarQube, and deploys a new container with the updated changes. Additionally, the final container image is saved as an artifact.### Technologies Used
1. GitHub
2. GitHub Actions
3. Docker
4. SonarQube (optional)### Project Structure
| **File** | **Purpose** |
| ------------------------ | --------------------------------------------------------------------- |
| index.html | The main static HTML file |
| Images | A directory containing images used in the website. |
| Dockerfile | Defines how to build a Docker image using Nginx as the base. |
| kill_container.sh | A script to stop any previously running container to avoid conflicts. |
| sonar-project.properties | Configuration file for SonarQube code analysis. |
| .github/workflows/ci.yml | The YAML file defining the GitHub Actions workflow. |