DevOps Practical
Introduction to DevOps
DevOps is a set of practices that companies/startups follow for writing software.
- The practice is to build, test and deploy each change in the software as soon as the changes are submitted.
- It increases speed of software development and make sure that the software quality is high.
DevOps stages
Devops has these stages
- Plan
- Code
- Build
- Test
- Release
- Deploy
Steps to run DevOps using gitlab
Gitlab provides ready-to-use templates to run DevOps on sample programs.
For Example:
We will use a simple CPP program which adds
and substracts
2 numbers.
-
Fork the repository.
- Go to link - https://gitlab.iotiot.in/newbies/pre-office-office/devops-trial
- Click on Fork.
- Select your username in the next window.
-
Clone the repository.
-
Make changes to the code.
-
Submit the changes.
-
See your code Build, Test and Deploy.
-
Thats is it done, you have successfully seen your code Build, Test and Deployed.