Skip to content

Fixing Sample ADO extension Yaml file #24

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 6 commits into from
May 13, 2025
Merged

Fixing Sample ADO extension Yaml file #24

merged 6 commits into from
May 13, 2025

Conversation

risinh
Copy link
Member

@risinh risinh commented May 13, 2025

No description provided.

@Copilot Copilot AI review requested due to automatic review settings May 13, 2025 01:03
Copy link

@Copilot Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull Request Overview

This PR updates the sample ADO YAML file to improve Azure CLI login handling by modifying the existing Azure CLI task and adding a new bash step for service principal login.

  • Renamed the displayName for the Azure CLI task.
  • Added environment variable setting to store service principal credentials.
  • Introduced a new bash step that performs an az login using the provided credentials.
Comments suppressed due to low confidence (2)

samples/ado-multiple-agents.yml:12

  • [nitpick] Consider using a consistent display naming convention for similar tasks. The Azure CLI login task uses "Azure CLI login" while the later step uses an abbreviated 'Az Login', which may be confusing for users.
displayName: "Azure CLI login"

samples/ado-multiple-agents.yml:26

  • [nitpick] Align the displayName for the az login step with the other Azure CLI task to ensure consistency across the YAML file. Either choose the full form or consistently use the abbreviation throughout.
displayName: 'Az Login'

aprilk-ms
aprilk-ms previously approved these changes May 13, 2025
@risinh risinh merged commit d88e13c into main May 13, 2025
9 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants