03 Git Handout


 branch per bugfix or feature



Download 6,87 Mb.
Pdf ko'rish
bet3/4
Sana28.06.2022
Hajmi6,87 Mb.
#715817
1   2   3   4
Bog'liq
03 - Git Handout

: 1 branch per bugfix or feature
Common branch names:
main, dev, feature, bugfix
E.g. bugfix/ticket-2134


Concept of Branches - 2
Branch for "feature-1"
was merged into the
main branch:
Branch is based on main branch. So, it starts from same
codebase:
When finished, the complete branch can be merged back
to the main branch
Goal is to have a stable main branch,
ready for production deployment


Merge Requests or Pull Requests
For that we have "merge request" or also called "pull
request"
It's basically a request to merge one branch into another
(usually in the main branch)
Best Practice: Other developer 
reviews code
changes before merging
Reviewer can see the
changes made and either
approve or decline the
merge request


Why to know Git as DevOps Engineer? - 1
As a DevOps engineer you write code (configuration files
and scripts) to create and provision infrastructure
Use Case 1) Infrastructure as Code
Tracked - history of changes
Securely stored in one place
Shareable to collaborate as team
Just like software code, files should be:
So these files should also "live" in a
remote repository and be tracked
and versioned by Git
Git Repository
Use Case 2) Automation Scripts
As a DevOps engineer you write automation scripts e.g.
with Python to automate different tasks


CI means: On each merge, checkout code from repository, test and build application
For that, you need integration for the build automation tool with application git
repository
You need to setup integration with build automation tool and git repository
You need to know git commands for example for:
Why to know Git as DevOps Engineer? - 2
Use Case 3) 
CI/CD Pipeline and Build Automation

Download 6,87 Mb.

Do'stlaringiz bilan baham:
1   2   3   4




Ma'lumotlar bazasi mualliflik huquqi bilan himoyalangan ©hozir.org 2024
ma'muriyatiga murojaat qiling

kiriting | ro'yxatdan o'tish
    Bosh sahifa
юртда тантана
Боғда битган
Бугун юртда
Эшитганлар жилманглар
Эшитмадим деманглар
битган бодомлар
Yangiariq tumani
qitish marakazi
Raqamli texnologiyalar
ilishida muhokamadan
tasdiqqa tavsiya
tavsiya etilgan
iqtisodiyot kafedrasi
steiermarkischen landesregierung
asarlaringizni yuboring
o'zingizning asarlaringizni
Iltimos faqat
faqat o'zingizning
steierm rkischen
landesregierung fachabteilung
rkischen landesregierung
hamshira loyihasi
loyihasi mavsum
faolyatining oqibatlari
asosiy adabiyotlar
fakulteti ahborot
ahborot havfsizligi
havfsizligi kafedrasi
fanidan bo’yicha
fakulteti iqtisodiyot
boshqaruv fakulteti
chiqarishda boshqaruv
ishlab chiqarishda
iqtisodiyot fakultet
multiservis tarmoqlari
fanidan asosiy
Uzbek fanidan
mavzulari potok
asosidagi multiservis
'aliyyil a'ziym
billahil 'aliyyil
illaa billahil
quvvata illaa
falah' deganida
Kompyuter savodxonligi
bo’yicha mustaqil
'alal falah'
Hayya 'alal
'alas soloh
Hayya 'alas
mavsum boyicha


yuklab olish