Сообщество Forex трейдеров

Пожалуйста, войдите или зарегистрируйтесь.

Расширенный поиск  

Новости:

SMF - Just Installed!

Просмотр сообщений

В этом разделе можно просмотреть все сообщения, сделанные этим пользователем.

Сообщения - GARYMi

Страницы: [1]
1
Kabrinskiy Eduard - Azure devops deploy on premise  - Kabrinskiy Eduard


<h1>Azure devops deploy on premise</h1>
<p>[youtube]</p>
Azure devops deploy on premise <a href="http://remmont.com">Latestnews</a> Azure devops deploy on premise
<h1>Deploying to On-Prem Server with using Azure DevOps ? Pipelines</h1>
<p style="clear: both"><img src="https://miro.medium.com/fit/c/96/96/2*BK-NhUUXzbtdzm_Y1wVtdQ.jpeg" /></p>
<p>For a long time, I am thinking to share my development experiences ??. After all this desire and the pandemic time (COVID-19 #StayHome), I decided to share my Azure DevOps on-prem deployment experience. ??</p>
<p style="clear: both"><img src="https://miro.medium.com/max/60/0*YGAoOgx47_1S-Kh6.jpeg" /></p>
<p>In this article, we will use Azure Pipelines while creating our automated deployment.</p>
<p>Basically, Azure DevOps teams define Azure Pipelines as ? Build, test, and deploy with CI/CD that works with</em> any language</em></strong> ,</em> platform</em></strong> ,</em> and cloud</em></strong> .</em>?</p>
<p>Here, I will explain how to create build</strong> and release</strong> pipeline at Azure DevOps and deploy your code to the on-premises server</p>
<h1>Table of Content</h1>
<ul>
  <li>Prerequisites</li>
  <li>Creating .NET Core Build Pipeline</li>
  <li>Set Up Deployment Group</li>
  <li>Creating the Release Pipeline</li>
  <li>Run and Deploy ??</li>
</ul>
<p>Basic .NET and IIS deployment knowledge.</p>
<p>PS. I am going to deploy the app which is based on .NET Core 3.1 SDK</p>
<p>Creating .NET Core Build Pipeline</strong></p>
<p>Here is our blank.netcore. It?s the project that we are going to build then deploy! It?s totally empty app. I just clicked create a project then select mvc so then next next next ??? The repository hosted on GitHub.</p>
<p>Let?s dive into the build action ??</p>
<p style="clear: both"><img src="https://miro.medium.com/max/48/1*j6RkU6coKnrvjY6NG7Scuw.png" /></p>
<p>Currently, we do not have any pipeline so let?s create one!</p>
<p style="clear: both"><img src="https://miro.medium.com/max/60/1*j6OVEJiKqXrTqLqhAeW4Bg.png" /></p>
<p>after we clicked the create pipelines. Need to select the source repository. In our example, blank.netcore is on GitHub so select the GitHub then select the blank.netcore repository.</p>
<p style="clear: both"><img src="https://miro.medium.com/max/60/1*nSgceNq0gG7YW3HoatIiIw.png" /></p>
<p>Let?s write our YAML on the Configure part. I select ASP.NET Core template.</p>
<p>After some modification, you can see the entire yml above.</p>
<p style="clear: both"><img src="https://miro.medium.com/max/60/1*bKmY41hcZmBJRUMSvF3Pxw.png" /></p>
<p>We zipped the published project and move it to the drop. ( will download zipped project while releasing</em>)</p>
<p>Our build progress is completed ??</p>
<p>Set Up Deployment Group</strong></p>
<p>We need to set up our deployment group for connecting our on-prem server. It runs behind the firewall. So after you set up the deployment group, don?t need to touch any firewall or configuration settings at all.</p>
<p style="clear: both"><img src="https://miro.medium.com/max/60/1*90fqjqnr6RdMEs12Muo2Ew.png" /></p>
<p>Let?s click to add a deployment group button!????</p>
<p>We specify the name and description then create and magic is happening. Azure DevOps gives us the code that we need to run our server. You can do it for Windows or Linux Server as well</p>
<p style="clear: both"><img src="https://miro.medium.com/max/60/1*OTJfprXGWxkaqhRYc9gboA.png" /></p>
<p>If you select to authentication checkbox, it adds the authentication for us. We don?t have to do anything.</p>
<p style="clear: both"><img src="https://miro.medium.com/max/60/1*5RP2bi8wGOjjxEd_6XGiKQ.png" /></p>
<p>Just pasted the copied script to PowerShell. You can specify agent name, tags vs then our set up is ready!</p>
<p>Creating the Release Pipeline</strong></p>
<p>Time for creating a release.</p>
<p style="clear: both"><img src="https://miro.medium.com/max/60/1*9iIbjtoX8faQ4kHn2x9uRw.png" /></p>
<p>Click the new pipeline button</p>
<p style="clear: both"><img src="https://miro.medium.com/max/60/1*zdjN8dPkJIQw-FGrFEFkRg.png" /></p>
<p>Azure DevOps ask us a template. I am going to continue with the IIS website deployment template. Before the deployment stage, we need to add our build artifact.</p>
<p style="clear: both"><img src="https://miro.medium.com/max/60/1*Ur2T2CPgyNsBY0TgI81dUA.png" /></p>
<p>I configured my task as above. I added the website to IIS 1234 port so that I added these bindings to the deployment process.</p>
<p style="clear: both"><img src="https://miro.medium.com/max/60/1*7MSYo0LXGDi1A7x-W6bXWA.png" /></p>
<p>In the IIS Deployment part, we set the deployment group which we created in.</p>
<p style="clear: both"><img src="https://miro.medium.com/max/60/1*6UoWe0OG_HVrbSH4fXmRNw.png" /></p>
<p>Don?t forget to configure the website name. That website name must be the same as your IIS website name.</p>
<h2>Azure devops deploy on premise</h2>

<h3>Azure devops deploy on premise</h3>
<p>[youtube]</p>
Azure devops deploy on premise <a href="http://remmont.com">Current news events</a> Azure devops deploy on premise
<h4>Azure devops deploy on premise</h4>
For a long time, I am thinking to share my development experiences ??. After all this desire and the pandemic time (COVID-19 #StayHome), I decided to share my Azure DevOps on-prem deployment?
<h5>Azure devops deploy on premise</h5>
Azure devops deploy on premise <a href="http://remmont.com">Azure devops deploy on premise</a> Azure devops deploy on premise
SOURCE: <h6>Azure devops deploy on premise</h6> <a href="https://dev-ops.engineer/">Azure devops deploy on premise</a> Azure devops deploy on premise
#tags#[replace: -,-Azure devops deploy on premise] Azure devops deploy on premise#tags#

Eduard Kabrinskiy
world news

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


<h1>Azure nuget</h1>
<p>[youtube]</p>
Azure nuget <a href="http://remmont.com">Live news</a> Azure nuget
<h1>Create a NuGet Package using Pipelines in Azure DevOps</h1>
<p>This demo will step through importing a repository from GitHub and creating a pipeline in Azure DevOps for the project. The pipeline will build, test & publish a NuGet package for usage by other projects.</p>
<p><ul>
  <li><strong>Repos</strong> will be the source control for our code.</li>
  <li><strong>Pipelines</strong> will build and release our code.</li>
  <li><strong>Artifacts</strong> will enable us to share our package.</li>
</ul>
</p>
<h3>Prerequisites</h3>
<p>This demo assumes you have a DevOps organization. If you don’t, you can create one easily enough.</p>
<h3>Setup</h3>
<p>FixedWidth is the project we’ll be working with throughout this demo. FixedWidth is a .NET library I created a few years back for deserializing and serializing fixed width text from message queues.</p>
<h2>Create Project</h2>
<p>Go to your DevOps dashboard and create a new project named “FixedWidth”.</p>
<p style="clear: both"> <img src="http://mscribellito.com/wp-content/uploads/2020/02/1_createproject.png" /></p>
<p>You should now have an empty project.</p>
<p style="clear: both"> <img src="http://mscribellito.com/wp-content/uploads/2020/02/2_emptyproject.png" /></p>
<h2>Import Repo</h2>
<p>Go to Repos and navigate to Files. This is where our source will reside. Click <strong>Import</strong> to import a repository.</p>
<p style="clear: both"> <img src="http://mscribellito.com/wp-content/uploads/2020/02/3_importrepo-1.png" /></p>
<p>Provide https://github.com/mscribellito/FixedWidth.git for <strong>Clone URL</strong>.</p>
<p style="clear: both"> <img src="http://mscribellito.com/wp-content/uploads/2020/02/5_importfromgithub.png" /></p>
<p>You will see the files from GitHub once the import is complete.</p>
<p style="clear: both"> <img src="http://mscribellito.com/wp-content/uploads/2020/02/6_importsuccessful.png" /></p>
<h2>Publish Artifacts</h2>
<p>Go to Artifacts and create a new feed. This is where our NuGet package will be published. Click on <strong>Create Feed</strong>.</p>
<p style="clear: both"> <img src="http://mscribellito.com/wp-content/uploads/2020/02/17_createartifacts.png" /></p>
<p>Type “FixedWidth” and click <strong>Create</strong>.</p>
<p style="clear: both"> <img src="http://mscribellito.com/wp-content/uploads/2020/02/18_createfeed.png" /></p>
<h2>Configure Pipeline</h2>
<p>Go to Pipelines and create a new pipeline. This is where we will configure the build process.</p>
<h3>Create Base Pipeline</h3>
<p>Click on <strong>Create Pipeline</strong>.</p>
<p style="clear: both"> <img src="http://mscribellito.com/wp-content/uploads/2020/02/7_createpipeline.png" /></p>
<p>Connect: Choose Azure Repos Git.</p>
<p style="clear: both"> <img src="http://mscribellito.com/wp-content/uploads/2020/02/8_pipelineconnect.png" /></p>
<p>Select: Choose the FixedWidth repo.</p>
<p style="clear: both"> <img src="http://mscribellito.com/wp-content/uploads/2020/02/9_selectrepo.png" /></p>
<p>Configure: Choose .NET Desktop.</p>
<p style="clear: both"> <img src="http://mscribellito.com/wp-content/uploads/2020/02/10_configurepipeline.png" /></p>
<p>You will see the YAML pipeline definition generated.</p>
<p style="clear: both"> <img src="http://mscribellito.com/wp-content/uploads/2020/02/11_reviewpipeline.png" /></p>
<p><strong>Save and run</strong> the pipeline.</p>
<p style="clear: both"> <img src="http://mscribellito.com/wp-content/uploads/2020/02/12_savepipeline.png" /></p>
<p>You should now see the pipeline running. Click on <strong>Job</strong> to see the tasks.</p>
<p style="clear: both"> <img src="http://mscribellito.com/wp-content/uploads/2020/02/13_pipelinerunning.png" /></p>
<p>You can click on the individual tasks to see their log.</p>
<p style="clear: both"> <img src="http://mscribellito.com/wp-content/uploads/2020/02/14_pipelinecomplete.png" /></p>
<h3>View Unit Tests</h3>
<p>Go to Test Plans and navigate to Runs. This is where you can see the summary and results of the unit tests executed as part of the pipeline.</p>
<p>The summary tab will show you high level details of the runs.</p>
<p style="clear: both"> <img src="http://mscribellito.com/wp-content/uploads/2020/02/15_testrunsummary.png" /></p>
<p>Results tab will provide a more detailed view at the individual test level.</p>
<p style="clear: both"> <img src="http://mscribellito.com/wp-content/uploads/2020/02/16_testrunresults.png" /></p>
<h3>Add NuGet Tasks</h3>
<p>Go to Pipelines and edit the FixedWidth pipeline. This is where we will create and publish the package. Add NuGet pack task. Provide **/FixedWidth.csproj for <strong>Path to csproj</strong> and TargetFramework=net452 for <strong>Additional build properties</strong>.</p>
<p style="clear: both"> <img src="http://mscribellito.com/wp-content/uploads/2020/02/20_addpack.png" /></p>
<p>Add NuGet push task. Select <em>FixedWidth</em> for Target feed.</p>
<p style="clear: both"> <img src="http://mscribellito.com/wp-content/uploads/2020/02/21_addpush.png" /></p>
<p>The tail of <strong>azure-pipelines.yml</strong> should now resemble this. Save the pipeline.</p>
<p style="clear: both"> <img src="http://mscribellito.com/wp-content/uploads/2020/02/22_packpush.png" /></p>
<p>The pipeline will be automatically triggered. You should see the 2 additional NuGet tasks now.</p>
<p style="clear: both"> <img src="http://mscribellito.com/wp-content/uploads/2020/02/25_pipelinesuccess.png" /></p>
<h3>Viewing Artifacts</h3>
<p>Go to Artifacts. This is where we can see our package created by the pipeline.</p>
<p>Select FixedWidth and click <strong>Download</strong>.</p>
<p style="clear: both"> <img src="http://mscribellito.com/wp-content/uploads/2020/02/26_artifacts.png" /></p>
<p>You can open <strong>fixedwidth.2.0.0.nupkg</strong> with NuGet Package Explorer and verify the contents. It’s now ready to be used by other projects.</p>
<h2>Azure nuget</h2>

<h3>Azure nuget</h3>
<p>[youtube]</p>
Azure nuget <a href="http://remmont.com">Current news in english</a> Azure nuget
<h4>Azure nuget</h4>
How to import a repository from GitHub and create a pipeline in Azure DevOps. The pipeline will build, test &amp; publish a NuGet package.
<h5>Azure nuget</h5>
Azure nuget <a href="http://remmont.com">Azure nuget</a> Azure nuget
SOURCE: <h6>Azure nuget</h6> <a href="https://dev-ops.engineer/">Azure nuget</a> Azure nuget
#tags#[replace: -,-Azure nuget] Azure nuget#tags#

Eduard Kabrinskiy
today's news headlines

Страницы: [1]