diff --git a/Sumagang_question1.md b/Sumagang_question1.md new file mode 100644 index 0000000..9b66f4c --- /dev/null +++ b/Sumagang_question1.md @@ -0,0 +1,26 @@ +********************************************************************** +* +* ISDEVOP S12 +* ISDEVOP Midterm Exam - Question 1 +* +* Author: Thea Verah Sumagang +* Date: March 6, 2024 +* +********************************************************************** + + +An effective DevOps workflow typically begins with version control, +where developers collaborate on code changes using platforms like Git. Continuous Integration (CI) +comes next, where automated builds and tests are triggered whenever new code is pushed to the repository. +This ensures early detection of issues and maintains code quality. Then, Continuous Deployment (CD) +automates the release process, pushing changes to production environments after passing through +various stages such as testing and staging. + +To support this workflow, a comprehensive set of tools is essential. For project management, a platform like Notion +help teams organize tasks and track progress. Git serves as the version control system for managing code changes. +Jenkins is utilized as the continuous integration server to automate the build process. For testing, +teams rely on automated testing frameworks like Selenium and containerization tools such as Docker +for efficient and reliable testing environments. By integrating these tools into a cohesive toolchain, +organizations can streamline their DevOps practices and deliver software more efficiently. + +![toolchain](images/toolchain.png) \ No newline at end of file diff --git a/Sumagang_question2.md b/Sumagang_question2.md new file mode 100644 index 0000000..f717594 --- /dev/null +++ b/Sumagang_question2.md @@ -0,0 +1,23 @@ +********************************************************************** +* +* ISDEVOP S12 +* ISDEVOP Midterm Exam - Question 2 +* +* Author: Thea Verah Sumagang +* Date: March 6, 2024 +* +********************************************************************** + +FROM centos:7 + +RUN yum install -y mysql-server + +RUN systemctl start mysqld + +RUN mysqladmin -u root password 'password' + +RUN mysql -u root -ppassword -e "GRANT ALL PRIVILEGES ON *.* TO 'sa'@'localhost' IDENTIFIED BY 'password'; FLUSH PRIVILEGES;" + +EXPOSE 3306 + +CMD ["mysqld_safe"] \ No newline at end of file diff --git a/Sumagang_question3.md b/Sumagang_question3.md new file mode 100644 index 0000000..b524cbb --- /dev/null +++ b/Sumagang_question3.md @@ -0,0 +1,22 @@ +********************************************************************** +* +* ISDEVOP S12 +* ISDEVOP Midterm Exam - Question 3 +* +* Author: Thea Verah Sumagang +* Date: March 6, 2024 +* +********************************************************************** + +Advantages of using Docker + +1. Docker simplifies running applications smoothly in various environments, from local computers to the cloud. +2. Docker ensures each application runs independently, avoiding conflicts and simplifying management. +3. Docker optimizes resource usage, leading to faster and more cost-effective deployment. + + +Benefits of DevOps framework + +1. DevOps enhances collaboration and speeds up software delivery, improving competitiveness. +2. DevOps detects and fixes issues early, ensuring software reliability and reducing errors. +3. DevOps promotes continuous improvement, enabling teams to adapt quickly and innovate efficiently. \ No newline at end of file diff --git a/images/toolchain.png b/images/toolchain.png new file mode 100644 index 0000000..454b97a Binary files /dev/null and b/images/toolchain.png differ