This blog gives a step by step walkthrough of the Azure Artifacts, an extension used by Azure cloud DevOps Engineers.
This blog talks about technologies that are part of the Azure DevOps environment. If it’s something in which you have an interest or you want to learn it then you can visit our previous blog to know more about the [AZ-400] Microsoft Azure DevOps certification.
What Are Azure Artifacts?
Azure Artifacts is an extension that makes it easy to discover, install, and publish NuGet, npm, and Maven packages in Azure DevOps. It’s deeply integrated with other hubs like Build so that package management can become a seamless part of your existing workflows.
The task is to copy application files and other artifacts that are required in order to install the app; such as PowerShell scripts, PowerShell-DSC modules, and more.
- Step 1: We need to first create a service principal for this operation, so either we can use our local PowerShell or the cloud shell.
- Step 2: The task supports authentication based on Azure Active Directory. Authentication using a service principal and managed identity is available. For managed identities, only a system-wide managed identity is supported.
- Step 3: We need to then create a storage account and then a blob container to store our artifacts coming out of the build.
- Step 4: The task supports authentication based on Azure Active Directory. Authentication using a service principal and managed identity is available. For managed identities, only a system-wide managed identity is supported.
- Step 5: We need to then create a storage account and then a blob container to store our artifacts coming out of the build.
- Step 6: Once after the storage account is created, then we need to create a container for our copying purposes.
- Step 7: Then we need to come back to the Azure DevOps pipeline and then we need to create a service connection between the container we created vs the pipeline.
- Step 8: Now include the Azure File Copy task, so that we can copy the artifact from the build pipeline to the Azure blob container.
- Step 9: Then select the path which we needed to copy to the containers.
- Step 10: Then we need to save the project and run the pipeline so that once the pipeline is completed we will get the output on the blobs.
Now, after the build pipeline is completed, the output we can see it in the blobs.
Further Project Opportunities
Similarly, we can save the outputs on the below methods and we can follow the same service connections.
- Azure Blobs
- AWS S3 Buckets
- Google Drive
- Dropbox
- Nexus
- Jfrog
We need to follow the same methods so that based on the project needs we can determine which method we need to implement.
Related/References
- [AZ-400] Azure DevOps Certification Path
- [AZ-400] Roles And Responsibilities As An Azure DevOps Engineer
- [AZ-400] Microsoft Azure DevOps Certification Exam: Everything You Need To Know
- [AZ-400] Microsoft Azure DevOps Training: Step By Step Activity Guides/Hands-On Lab Exercise
- [AZ-400] Azure DevOps Services for Beginners
- [AZ-400] Designing and Implementing Microsoft DevOps Solutions [Official Page]
- Azure DevOps Service Hooks | Subscription Of Service Hooks | Release Approvals
- SonarCloud Azure DevOps | Integrating SonarCloud In Azure
- Azure DevOps Environments | How To Setup DevOps Environment | Approval Checks | Azure DevOps Pipeline
Next Task For You
Begin your journey towards becoming a Microsoft [AZ-400] Certified Azure DevOps Engineer and earning a lot more in 2020 by joining our FREE Masterclass.
Click on the image below to Register for the Free Masterclass Now!
The post [AZ-400] Microsoft Azure DevOps Solutions: Artifacts appeared first on Cloud Training Program.