For the book updates and community contributions


Figure 9: Waiting for an approval.  5. Select  Review deployments



Download 3,57 Mb.
Pdf ko'rish
bet38/49
Sana21.08.2022
Hajmi3,57 Mb.
#847402
1   ...   34   35   36   37   38   39   40   41   ...   49
Bog'liq
DevOps-for-ASP.NET-Core-Developers

Figure 9:
Waiting for an approval. 
5.
Select 
Review deployments
, select the 
PROD
checkbox, optionally add a comment, and then 
select 
Approve and deploy
to start the PROD job. 
Figure 10:
Approve the PROD deployment. 
6.
The deployment should only take a few seconds. Once it has completed, the URL for the PROD 
environment will update. 


59 
CHAPTER 3 | Continuous integration and deployment with Azure DevOps 
Figure 11:
PROD deployment completed. 
7.
Selecting the PROD URL will navigate you to the PROD site. 


60 
CHAPTER 3 | Continuous integration and deployment with Azure DevOps 
Figure 12:
The PROD site.
Add a manual queue option 
You now have an end-to-end build and deploy workflow, including approvals. One more change you 
can make is to add a manual trigger to the workflow so that the workflow can be triggered from 
within the 
Actions
tab of the repository. 
1.
Navigate to the 
.github/workflows/dotnet.yml
file and select the pencil icon to edit the file. 
2.
Add a new trigger between on and push on lines 3 and 4: 
on: 
workflow_dispatch:
# <-- this is the new line 
push:
3.
The workflow_dispatch trigger displays a Run workflow button in the 
Actions
tab of the 
repository

but only if the trigger is defined in the default branch
. However, once this trigger is 
defined in the workflow, you can select the branch for the run. 
4.
Commit the file. 
5.
To see the 
Run workflow
button, select the 

Download 3,57 Mb.

Do'stlaringiz bilan baham:
1   ...   34   35   36   37   38   39   40   41   ...   49




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