1. Нам важно Ваше мнение!
    и обсуждайте вместе! Нажимайте "мне нравится" и рекомендуйте друзьям ;)
    Понравилось тема? Напишите в ней свой отзыв.
    Считаете что тема не достаточно полно раскрыта? Расскажите свою точку зрения!
    С Вашей помощью сделаем форум еще лучше!

Connecticut : powershell tfs - Eduard Kabrinskiy

Тема в разделе 'Горячие новости для тех кто следит за собой', создана пользователем IowaEn, 13 май 2021.

  1. IowaEn

    IowaEn Member

    Эдуард Кабринский - Azure devops trial - Kabrinskiy Eduard


    <h1>Azure devops trial</h1>
    <p>[youtube]</p>
    Azure devops trial <a href="http://remmont.com">Top news headlines</a> Azure devops trial
    <h1>Azure devops trial</h1>
    <p>The <strong>Azure DevOps Project</strong> simplifies the setup of an entire continuous integration (CI) and continuous delivery (CD) pipeline to Azure with Azure DevOps. You can start with existing code or use one of the provided sample applications. Then you can quickly deploy that application to various Azure services such as Virtual Machines, App Service, Azure Kubernetes Services (AKS), Azure SQL Database, and Azure Service Fabric.</p>
    <p>DevOps Projects does all the work for the initial configuration of a DevOps pipeline including everything from setting up the initial Git repository, configuring the CI/CD pipeline, creating an Application Insights resource for monitoring, and providing a single view of the entire solution with the creation of a DevOps Projects dashboard in the Azure portal.</p>
    <h2>What’s covered in this lab?</h2>
    <p>In this lab, you will</p>
    <p><ul>
    <li>Create an ASP.NET sample DevOps project using <strong>Azure DevOps Project</strong> feature in Azure</li>
    <li>Examine the CI/CD pipelines configured by <strong>Azure DevOps Project</strong></li>
    <li>Commit the code changes and execute CI/CD</li>
    <li>Configure Azure Application Insights monitoring</li>
    </ul>
    </p>
    <h2>Pre-requisites for the lab</h2>
    <p><strong>Microsoft Azure Account</strong>: You will need a valid and active Azure account for the Azure labs. If you do not have one, you can sign up for a free trial</p>
    <p>If you are a Visual Studio Active Subscriber, you are entitled for a $50-$150 credit per month. You can refer to this link to find out more including how to activate and start using your monthly Azure credit.</p>
    <p>If you are not a Visual Studio Subscriber, you can sign up for the FREE Visual Studio Dev Essentialsprogram to create <strong>Azure free account</strong> (includes 1 year of free services, $200 for 1st month).</p>
    <p>You will need an Azure DevOps account. If you do not have one, you can sign up for free here.</p>
    <h2>Exercise 1: Setting up a sample ASP.NET project using Azure DevOps Project</h2>
    <p>Choose the <strong>+ Create a resource</strong> icon in the left navigation bar, then search for <strong>DevOps project</strong>. Then choose <strong>DevOps Project</strong> in the list. Select <strong>Create</strong>.</p>
    <p style="clear: both"><img src="https://www.azuredevopslabs.com/lab...sprojectdotnet/images/searchdevopsproject.png" /></p>
    <p style="clear: both"><img src="https://www.azuredevopslabs.com/lab...sprojectdotnet/images/createdevopsproject.png" /></p>
    <p>Select the <strong>.NET</strong> sample application and click <strong>Next</strong>.</p>
    <p style="clear: both"><img src="https://www.azuredevopslabs.com/labs/vstsextend/azuredevopsprojectdotnet/images/selectdotnet.png" /></p>
    <p>The .NET samples include a choice of either the open source ASP.NET framework or the cross-platform .NET Core framework. Select the .NET Core application framework. This sample is an ASP.NET Core MVC application. And also enable <strong>Add a database</strong> toggle to add the database to the application. When you’re done, choose <strong>Next</strong>.</p>
    <p style="clear: both"><img src="https://www.azuredevopslabs.com/labs/vstsextend/azuredevopsprojectdotnet/images/aspnetframework.png" /></p>
    <p>Web App on Windows is the default deployment target. You can optionally choose Virtual Machine also. When you’re done, choose <strong>Next</strong>.</p>
    <p style="clear: both"><img src="https://www.azuredevopslabs.com/labs/vstsextend/azuredevopsprojectdotnet/images/selectwebapp.png" /></p>
    <p>Select your Azure DevOps organization and choose a <strong>name</strong> for your project and Web app. When you’re done, choose <strong>Done</strong>.</p>
    <p style="clear: both"><img src="https://www.azuredevopslabs.com/labs/vstsextend/azuredevopsprojectdotnet/images/vstsproject.png" /></p>
    <blockquote><p>You can click on <strong>Additional Settings</strong> if you would like to edit web app and database parameters</p></blockquote>
    <p style="clear: both"><img src="https://www.azuredevopslabs.com/lab...psprojectdotnet/images/additionalsettings.png" /></p>
    <p>Once the deployment completes, click <strong>Go to resource</strong>.</p>
    <p style="clear: both"><img src="https://www.azuredevopslabs.com/labs/vstsextend/azuredevopsprojectdotnet/images/gotoresource.png" /></p>
    <p>DevOps project dashboard loads as shown in below image.</p>
    <p style="clear: both"><img src="https://www.azuredevopslabs.com/labs/vstsextend/azuredevopsprojectdotnet/images/dashboard.png" /></p>
    <p><ul>
    <li>Created a team project with sample .NET code repository</li>
    <li>Created Azure Web App and Azure SQL database in Azure</li>
    <li>Created a build and release pipelines to compile, test and deploy the application</li>
    </ul>
    </p>
    <p>You’re now ready to collaborate with a team on an ASP.NET Core app with a CI/CD process that automatically deploys your latest work to your web site.</p>
    <p>On the right side of the dashboard, select <strong>Browse</strong> to view your running application.</p>
    <p style="clear: both"><img src="https://www.azuredevopslabs.com/labs/vstsextend/azuredevopsprojectdotnet/images/browsewebapp.png" /></p>
    <p>The web app looks like as shown in the below figure</p>
    <p style="clear: both"><img src="https://www.azuredevopslabs.com/labs/vstsextend/azuredevopsprojectdotnet/images/webapp.png" /></p>
    <h2>Exercise 2: Examine the CI/CD pipelines configured by Azure DevOps Project</h2>
    <p>The Azure DevOps project automatically configured a full CI/CD pipeline in your Azure DevOps organization. You can explore and customize the pipeline as needed. Follow the steps below to familiarize yourself with the Azure DevOps build and release pipelines.</p>
    <p>Select <strong>Build Pipelines</strong> from the top of the Azure DevOps project dashboard. This link opens a browser tab and the Azure DevOps build pipeline for your new project.</p>
    <p style="clear: both"><img src="https://www.azuredevopslabs.com/labs/vstsextend/azuredevopsprojectdotnet/images/buildpipelines.png" /></p>
    <p>Select <strong>Edit</strong>.</p>
    <p style="clear: both"><img src="https://www.azuredevopslabs.com/labs/vstsextend/azuredevopsprojectdotnet/images/editbuild.png" /></p>
    <p>In this pane, you can examine the various tasks for your build pipeline. This build pipeline performs various tasks such as fetching sources from the Git repository, restoring dependencies, compile the application, run tests and publishing outputs used for deployments.</p>
    <p style="clear: both"><img src="https://www.azuredevopslabs.com/labs/vstsextend/azuredevopsprojectdotnet/images/builddefinition.png" /></p>
    <p>Under your build pipeline name, select <strong>History</strong>. You see an audit trail of your recent changes for the build. Azure DevOps keeps track of any changes made to the build definition and allows you to compare versions.</p>
    <p>Select <strong>Triggers</strong>. The Azure DevOps project automatically created a CI trigger, and every commit to the repository initiates a new build. You can optionally choose to include or exclude branches from the CI process.</p>
    <p style="clear: both"><img src="https://www.azuredevopslabs.com/labs/vstsextend/azuredevopsprojectdotnet/images/triggers.png" /></p>
    <p>Select <strong>Retention</strong>. Depending on your scenario, you can specify policies to keep or remove a certain number of builds.</p>
    <p>Select <strong>Releases</strong> under <strong>Pipelines</strong> section.</p>
    <p style="clear: both"><img src="https://www.azuredevopslabs.com/labs/vstsextend/azuredevopsprojectdotnet/images/selectreleases.png" /></p>
    <p>The Azure DevOps project created a release pipeline to manage deployments to Azure.</p>
    <p>Select the release pipeline, then choose <strong>Edit</strong>.</p>
    <p style="clear: both"><img src="https://www.azuredevopslabs.com/labs/vstsextend/azuredevopsprojectdotnet/images/editrelease.png" /></p>
    <p>Under <strong>Artifacts</strong>, select <strong>Drop</strong>. The build pipeline you examined in the previous steps produces the output used for the artifact.</p>
    <p style="clear: both"><img src="https://www.azuredevopslabs.com/lab...opsprojectdotnet/images/releasedefinition.png" /></p>
    <p>To the right-hand side of the <strong>Drop</strong> icon, select the <strong>Continuous deployment trigger</strong>. This release pipeline has an enabled CD trigger, which executes a deployment every time there is a new build artifact available. Optionally, you can disable the trigger, when your deployments require manual execution.</p>
    <p style="clear: both"><img src="https://www.azuredevopslabs.com/labs/vstsextend/azuredevopsprojectdotnet/images/cdtrigger.png" /></p>
    <p>Select <strong>Tasks</strong>. The tasks are the activities your deployment process performs. In this example, you have five tasks.</p>
    <p style="clear: both"><img src="https://www.azuredevopslabs.com/labs/vstsextend/azuredevopsprojectdotnet/images/viewtasks.png" /></p>
    <p style="clear: both"><img src="https://www.azuredevopslabs.com/labs/vstsextend/azuredevopsprojectdotnet/images/releasetasks.png" /></p>
    <p><ul>
    <li><strong>Azure Resource Group Deployment</strong> task deploy the required Azure resources, Azure Web app and Azure SQL database for the application to use.</li>
    <li><strong>Azure App Service Deploy</strong> task deploy the application package to the web site</li>
    <li><strong>Azure SQL Database deployment</strong> task deploy SQL changes to the database.</li>
    <li><strong>Visual Studio Test</strong> tasks run functional tests after the successful deployment of the application</li>
    </ul></p>
    <p>On the right-hand side of the browser, select <strong>View releases</strong>. This view shows a history of releases.</p>
    <p style="clear: both"><img src="https://www.azuredevopslabs.com/labs/vstsextend/azuredevopsprojectdotnet/images/viewreleases.png" /></p>
    <p style="clear: both"><img src="https://www.azuredevopslabs.com/labs/vstsextend/azuredevopsprojectdotnet/images/releasehistory.png" /></p>
    <p>Click on the release number to view the release summary. There are several menus to explore from this view such as a release summary, associated work items, and tests.</p>
    <p style="clear: both"><img src="https://www.azuredevopslabs.com/labs/vstsextend/azuredevopsprojectdotnet/images/releasesummary.png" /></p>
    <p>Select <strong>Logs</strong>. The logs contain useful information about the deployment process. They can be viewed both during and after deployments.</p>
    <h2>Exercise 3: Commit the code changes and execute CI/CD</h2>
    <p>The Azure DevOps project created a Git repository in your Azure DevOps organization. Follow the steps below to view the repository and make code changes to your application.</p>
    <p>Select <strong>Repos</strong> to view the created Git repository by Azure DevOps project.</p>
    <p style="clear: both"><img src="https://www.azuredevopslabs.com/labs/vstsextend/azuredevopsprojectdotnet/images/codetab.png" /></p>
    <p>To view the repository clone URL, select <strong>Clone</strong> from the top right of the browser. You can clone your Git repository in your favourite IDE. In this lab, you can use the web browser to make and commit code changes directly to the master branch.</p>
    <p style="clear: both"><img src="https://www.azuredevopslabs.com/labs/vstsextend/azuredevopsprojectdotnet/images/cloneurl.png" /></p>
    <p>On the left-hand side of the browser, navigate to the <strong>Application/aspnet-core-dotnet-core/Pages/Index.cshtml</strong> file. Select <strong>Edit</strong>, and make a change.</p>
    <p style="clear: both"><img src="https://www.azuredevopslabs.com/labs/vstsextend/azuredevopsprojectdotnet/images/editcode.png" /></p>
    <p>Make a change to the h2 heading. For example, type <strong>Get started right away with the Azure DevOps Projects</strong> or make some other change. Choose <strong>Commit</strong>, to save and check-in your changes.</p>
    <p style="clear: both"><img src="https://www.azuredevopslabs.com/labs/vstsextend/azuredevopsprojectdotnet/images/addcode.png" /></p>
    <p>In your browser, navigate to the <strong>Pipelines | Builds</strong>. You should now see a build is in progress. The changes you just made are automatically built and deployed via Azure DevOps CI/CD pipelines.</p>
    <p style="clear: both"><img src="https://www.azuredevopslabs.com/labs/vstsextend/azuredevopsprojectdotnet/images/buildqueue.png" /></p>
    <p>Once the Build and Release are completed in your browser, navigate to the <strong>Azure DevOps project dashboard</strong>. On the right side of the dashboard, select <strong>Browse</strong> to view your updated running application. You will see the updated header in the web app.</p>
    <h2>Azure devops trial</h2>

    <h3>Azure devops trial</h3>
    <p>[youtube]</p>
    Azure devops trial <a href="http://remmont.com">What's the news</a> Azure devops trial
    <h4>Azure devops trial</h4>
    Azure devops trial The Azure DevOps Project simplifies the setup of an entire continuous integration (CI) and continuous delivery (CD) pipeline to Azure with Azure DevOps. You can start with
    <h5>Azure devops trial</h5>
    Azure devops trial <a href="http://remmont.com">Azure devops trial</a> Azure devops trial
    SOURCE: <h6>Azure devops trial</h6> <a href="https://dev-ops.engineer/">Azure devops trial</a> Azure devops trial
    #tags#[replace: -,-Azure devops trial] Azure devops trial#tags#

    Eduard Kabrinskiy
    online news

Поделиться этой страницей