Category: DevOps

AzureDeveloperDevOps

Publish Nuget packages in Azure DevOps Pipelines

If you’re using Azure DevOps for your build, did you know you can also publish your NuGet packages?

Here is a great post that walks you through the process.

Enjoy!

In Azure DevOps, Pipelines can be used to build your solution, create a Nuget package and publish the Nuget package to the Nuget feed for further …

Publish Nuget packages in Azure DevOps Pipelines

AzureDeveloperDevOps

Moving an Azure DevOps repo to use Github Actions instead

In this blog post, I am going to take an existing web application that resides in Azure DevOps and port it to build and deploy within GitHub and use …

Moving an Azure DevOps repo to use Github Actions instead
DevOps

Improved Continuous Delivery capabilities and caching for Azure Pipelines | Azure DevOps Blog

Improved Continuous Delivery capabilities and caching for Azure Pipelines | Azure DevOps Blog
— Read on devblogs.microsoft.com/devops/improved-continuous-delivery-capabilities-and-caching-for-azure-pipelines/

AzureDevOps

Introducing the Azure DevOps Service Status Portal

Last week Microsoft introduced the Azure DevOps Service status portal which provides real-time insights into the current health of Azure DevOps regional feature status and provides additional details on specific events either current or historical.

When you go to the Azure DevOps Service status portal, the main dashboard shows you a 2-dimensional matrix mapping of the feature with geographic regions as shown below.

image

To see current or historical events, click on the Status History link where you can filter the results by service type, categories, severity and then date range:

image

Clicking on a particular event log will take you to the event log page which shows all details about the event, what was affected, when it was resolved, and then any workarounds that users can take if needed.

image

REST APIs will be coming soon for users looking to build automated solutions to watch the service status.

For service health updates relating to Azure’s global services, please refer to the Azure Status page.

For more information on the new Azure DevOps Service status portal, please refer to the Azure DevOps Service Status documentation.

Enjoy!

References

Azure DevOps Service Status portal

Azure DevOps Service Status documentation

AzureDevOps

Authenticate Azure DevOps against its own REST API

toon vanhoutte

During Azure DevOps build and release pipelines, you might have the need to consult the Azure DevOps REST API.  This blog explains how you can easily perform the authentication that is required to call that REST API.

Enable OAuth Authentication

First of all, you need to check the option Allow scripts to the OAuth token.  This enables scripts and other processes launched by tasks to access the OAuth token through the System.AccessToken variable.  This setting is somewhere hidden in the Additional options of the Agent Job:

Access1

Use the OAuth token inside the script

Within a PowerShell script you can now retrieve the System.AccessToken variable and use it to authenticate against the Azure DevOps REST API.  A simplified example:

#Set authorization headers Write-Host Set authorization headers $headers = @{ Authorization = "Bearer $env:SYSTEM_ACCESSTOKEN" } #Invoke REST API Write-Host Invoke REST API Invoke-RestMethod $url -Method $method -Body $body -Headers $headers -ContentType 'application/json'…

View original post 90 more words

AzureDevOps

Azure DevOps rolls out a dark theme preview

This week Azure DevOps finally rolled out one of their most requested feature, a dark theme. I use dark theme for just about any app that supports it, so this is a welcome addition to Azure DevOps. Keep in mind that this is just a preview and is still being refined.

To switch to Dark theme, go to your Azure DevOps portal and click on your user dropdown menu in the top right corner. Then click on Theme menu item.

image

The theme options pane will then be displayed. Click on the Dark (preview) option to switch to the dark theme.

image

Voila! DevOps in Dark theme.

image

Switching to dark theme is a personal choice and is not something that is forced across your organization, which is nice. I recommend you give it a try and see for yourself.

Enjoy!

References

https://azure.microsoft.com/en-us/services/devops/

https://blogs.msdn.microsoft.com/devops/2018/11/01/whats-new-in-azure-devops-sprint-142-update/

AzureBooksDevOps

Download e-book ‘Effective DevOps’

DevOps is a culture and practice that unifies people, processes and tools across development and operations groups that aims to help deliver software faster and more reliably.

In this e-book from from O’Reilly, you get a practical guide for improving collaboration across teams, promoting efficient use of tools, and using the concepts of DevOps to work more effectively. You’ll also:

  • Explore the foundations and four pillars of effective DevOps: Collaboration, affinity, tools, and scaling.
  • Get an overview of DevOps, including the evolution, foundational terminology, and concepts.
  • Understand common misconceptions about DevOps and anti-patterns used in the practice.

See what it looks like to make effective changes in your organization using a DevOps mindset.

Download the e-book from here. This book was published on August 31, 2018.

Enjoy!

References

Microsoft Azure DevOps

Download e-book Effective DevOps