Sunday, April 16, 2023

Basic Understanding of DevSecOps, execute code and build artifact and deploy in the Azure portal apps service.

 

Basic Understanding of DevSecOps, execute code and build artifact and deploy in the Azure portal apps service.

DevSecOps is a philosophy. DevSecOps team work together.

Remember PETULA

P=Planning

E=Executing

T=Testing

U=UAT

L=Live. Go live

A=Associate Support. Monitoring and Support

 

PET = Perform Dev team

ULA= Perform Ops team

 

It is a philosophical approach. The DevSecOps definition:

P=Philosophy = Dev + Ops team work together

P=Process = Planning + Executing + Testing

T=Tools = Such as Azure, AWS DevSecOps for automations

 

Azure DevSecOps:

Boards = For planning

Repos = Executing. Check in and checkout code into repository

Testing Plan = Developer end testing = Internal Testing

 

Developer part = Boards + Repos + Test Plan

 

Build is automated called pipeline.

Pipeline = it is a group of small task list

Artifacts = it is a final output of pipeline

 

Boards consist of:

·       Work items

·       Boards

·       Backlogs

·       Sprint

·       Queries

 

Repos:

Do colon with repos to local VS source code. Push VS code into Repos

 

Pipeline:

Agent: it is a kind of software that take each task and executes.

Three types of agents:

·       Hosted agent

·       Self-hosted agent    //in the local PC, this agent needs to configured with the Azure to perform free activities.

·       Azure Virtual machine agent

 

In the pipeline select

·       Code location. It could be Azure Repos Git, Bitbucket, GitHub, GitHub enterprise

·       Create a self-hosted agent

·       Download self-agent poon file and run two files

o   First run config.bat

§  Set personal access token with read and merge

§  Enter agent pool = Y

o   Then run run.bat

After self-host is running, then set self-hosted agent with the pipeline to execute the task.

 

Release pipeline:

·       Create new app service in the Azure portal.

·       Create new release pipeline and set new app service with the pipeline along with the artifact has generated.

·       Now run. Once run, artifact will place into the apps service.

·       Go the to the Azure portal apps service and get the URL. Hit the URL then final page will display.

 

 

Learn from Shive sir. Thanks a lot sir.

 

 

 

 

 

 

 

No comments: