tomaustin700 / YAML-Pipeline-Validator-VS-Code-Extension

Azure DevOps YAML Pipeline Validator Extension for VS Code
https://marketplace.visualstudio.com/items?itemName=TomAustin.azure-devops-yaml-pipeline-validator
2 stars 5 forks source link

Authorization error while validating the yaml file #1

Closed micheleissa closed 3 years ago

micheleissa commented 3 years ago

Hello, I'm getting this error regarding the variable group while trying to validate the pipeline. Is there a way to authenticate so Visual Studio Code can access whatever it needs to access and pass it down to the validation api.

image

Thanks

tomaustin700 commented 3 years ago

Hi @micheleissa Can you provide me with some example yaml so I can investigate this? Thanks

tomaustin700 commented 3 years ago

I've been able to duplicate it with the following yaml, I will investigate however I'm not sure I'll be able to do anything to resolve this due to the way the pipeline is validated. I'll investigate.

trigger: 
- main

variables:
- group: my-variable-group
tomaustin700 commented 3 years ago

Hi @micheleissa, I've added some settings which should help your out. Please see #2. Let me know if you need anymore assistance. Thanks for raising this.

micheleissa commented 3 years ago

@tomaustin700 gr8 I will try and let you know.