thirdmadman / rsschool-devops-course-tasks

GNU General Public License v3.0
1 stars 0 forks source link

feat: add simple WP deploy #13

Closed thirdmadman closed 1 week ago

thirdmadman commented 2 weeks ago

DevOps. Task 5. Simple Application Deployment with Helm

Notes

You can find readme for softawrare in its repo https://github.com/thirdmadman/rsschool-devops-course-wordpress/blob/master/wordpress/Readme.md

I used infrastructure from task 3. Basically, in terraform infrastructure, there are no changes. So I deployed infrastructure and then used another repo for software.

Here is the link for the software repository with WordPress helm chart and CI/CD pipeline via GHA. https://github.com/thirdmadman/rsschool-devops-course-wordpress

You can find successfully applied GHA pipeline workflow:

https://github.com/thirdmadman/rsschool-devops-course-wordpress/actions/runs/11787800547/job/32833777197

Even though I'm using t3.micro ec2 instances, they are really eating free tier fast, and I won't hold them. All infrastructure is deleted after making screenshots to save money (after going beyond free tier limits, I will be charged as usual).

Evaluation Criteria (100 points for covering all criteria)

  1. Helm Chart Creation (40 points)

    • [x] A Helm chart for the WordPress application is created.
  2. Application Deployment (30 points)

    • [x] The application is deployed using the Helm chart.
    • [x] The application is accessible from the internet.
  3. Repository Submission (5 points)

    • [x] A new repository is created with the WordPress and Helm chart.
  4. Verification (5 points)

    • [x] The application is verified to be running and accessible.
  5. Additional Tasks (20 points)

    • CI/CD Pipeline (10 points)
      • [x] A CI/CD pipeline is set up to automate the deployment of the application.
    • Documentation (10 points)
      • [x] The application setup and deployment process are documented in a README file. Work in progress.

Screenshots

Wordpress is accessible by public ip from the internet:

image

Helm chart is deployed on custer and verified via GHA CI/CD pipeline

https://github.com/thirdmadman/rsschool-devops-course-wordpress/actions/runs/11787800547/job/32833777197 image