Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Added midterm exam files #67

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
26 changes: 26 additions & 0 deletions Sumagang_question1.md
Original file line number Diff line number Diff line change
@@ -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)
23 changes: 23 additions & 0 deletions Sumagang_question2.md
Original file line number Diff line number Diff line change
@@ -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"]
22 changes: 22 additions & 0 deletions Sumagang_question3.md
Original file line number Diff line number Diff line change
@@ -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.
Binary file added images/toolchain.png
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.