0
0
Azurecloud~30 mins

Azure Artifacts for packages - Mini Project: Build & Apply

Choose your learning style9 modes available
Azure Artifacts for packages
📖 Scenario: You are working on a software project that requires managing and sharing packages securely within your team using Azure DevOps.You want to create an Azure Artifacts feed to store your packages and configure access permissions.
🎯 Goal: Build an Azure Artifacts feed configuration with proper access control to manage packages for your team.
📋 What You'll Learn
Create an Azure Artifacts feed named team-packages
Set the feed visibility to project
Add a user group called Developers with Contributor role to the feed
Enable upstream sources to allow pulling packages from public registries
💡 Why This Matters
🌍 Real World
Teams use Azure Artifacts to securely share and manage packages within their organization, ensuring consistent dependencies and controlled access.
💼 Career
Knowing how to configure Azure Artifacts is essential for DevOps engineers and cloud architects managing CI/CD pipelines and package management in Azure.
Progress0 / 4 steps
1
Create an Azure Artifacts feed
Create an Azure Artifacts feed named team-packages using the Azure CLI command az artifacts feed create with the parameter --name team-packages.
Azure
Need a hint?

Use the Azure CLI command az artifacts feed create with the --name option to create the feed.

2
Set feed visibility to project
Update the feed team-packages to have project visibility by adding the parameter --visibility project in the Azure CLI command.
Azure
Need a hint?

Add --visibility project to the feed creation command to restrict access.

3
Add Developers group with Contributor role
Add the user group Developers to the feed team-packages with the role Contributor using the Azure CLI command az artifacts feed collaborator add with parameters --feed team-packages, --collaborator Developers, and --role Contributor.
Azure
Need a hint?

Use az artifacts feed collaborator add to assign roles to groups.

4
Enable upstream sources
Enable upstream sources on the feed team-packages by updating the feed with the parameter --upstream-enabled true using the Azure CLI command az artifacts feed update.
Azure
Need a hint?

Use az artifacts feed update with --upstream-enabled true to allow pulling packages from public sources.