VIDYAVARDHAKA COLLEGE OF ENGINEERING
P.B. No.206, Gokulam, III - Stage, Mysore - 570 002, Karnataka, INDIA.
Phone: +91 821 4276201 / 202 / 225.
DEVOPS LABORATORY
BCSDO503
(ACADEMIC YEAR 2024-25)
Activity Based Assessment
Submitted By
AC SANDEEP GOWTHAM [4VV22CS001]
CHETAN T P [4VV22CS036]
GUNASRI J R [4VV22CS050]
HARSHITHA S M [4VV22CS057]
HEMANT MANJUNATH KADLER [4VV22CS058]
Department of Computer Science and Engineering
Devops Laboratory – Activity Based Assessment
Tools Used
1. Git and Git Hub
2. Jenkins
3. Docker and Docker Hub
Introduction to tools
git and Github
git and GitHub are not the same thing. Git is an open-source, version control tool created in
2005 by developers working on the Linux operating system; GitHub is a company founded
in 2008 that makes tools which integrate with git. You do not need GitHub to use git, but
you cannot use GitHub without using git. There are many other alternatives to GitHub, such
as GitLab, BitBucket, and “host-your-own” solutions such as gogs and gittea. All of these
are referred to in git-speak as “remotes”, and all are completely optional. You do not need to
use a remote to use git, but it will make sharing your code with others easier.
Jenkins
Jenkins Tutorial is designed for both beginners and professionals. Our Tutorial provides all
the basic and advanced concepts of Jenkins, such as Jenkins installation, Jenkins
Configuration, Jenkins Pipeline, etc.
Jenkins is an open source automation tool written in Java programming language that allows
continuous integration.
Jenkins builds and tests our software projects, which continuously making it easier for
developers to integrate changes to the project, and making it easier for users to obtain a fresh
build.
Docker Hub
Docker Hub is a repository service and it is a cloud-based service where people push their
Docker Container Images and also pull the Docker Container Images from the Docker
Hub anytime or anywhere via the internet. It provides features such as you can push your
images as private or public. Mainly DevOps team uses the Docker Hub. It is an open-source
tool and freely available for all operating systems. It is like storage where we store the
images and pull the images when it is required. When a person wants to push/pull images
from the Docker Hub they must have a basic knowledge of Docker. Let us discuss the
requirements of the Docker tool.
Architecture of Pipeline
Implementation of Pipeline
Code
Github Repo
Collaboration with the team members
Pushing the code into git hub using git bash
Git repository
Jenkins
SCM Configuration
Build Triggers Configuration
Docker-compose.yml File
Docker configuration in Jenkins
Successful build
Docker Image
Docker container
Container details
Website live on localhost:8000 (port 8000)
Editing index.html in the repository
Jenkins build for each edit
Automatic build started by SCM
Updated website
Conclusion
Aligned with SDG Goal 13: Climate Action, our project leveraged AI/ML to analyse
environmental factors like CO2 levels and nutrient content, showcasing a practical approach
to sustainability. The success of this initiative was driven by adopting DevOps practices,
which streamlined collaboration, automation, and deployment across the team.
Tools like Git and GitHub facilitated efficient version control and team coordination, while
Jenkins automated the Continuous Integration (CI) pipeline to ensure smooth and error-free
builds. Docker further enhanced the workflow by enabling consistent and reliable application
deployment across various environments.
The DevOps culture played a pivotal role in uniting the team and optimizing our processes,
fostering innovation and adaptability throughout the project. This experience highlights the
transformative potential of DevOps in delivering high-quality results efficiently while
supporting impactful and sustainable goals.