Skip to content
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

Unexpected property visibleAzLogin #585

Open
bjuraga opened this issue Jun 13, 2024 · 3 comments
Open

Unexpected property visibleAzLogin #585

bjuraga opened this issue Jun 13, 2024 · 3 comments
Labels
Area: VsCodeExtension bug Something isn't working

Comments

@bjuraga
Copy link

bjuraga commented Jun 13, 2024

We set this in our pipelines:

visibleAzLogin: false

It is a supported property of the AzureCLI@2 task, and we set that to avoid printing the list of subscriptions in the logs. It makes the logs cleaner.

But, the VSCode extension then complains that the property does not exist, flooding our list of problems with the warning Unexpected property visibleAzLogin.

Can this property be marked as supported?
No other property for the AzureCLI@2 task are reported as unexpected.

@max-zaytsev max-zaytsev added bug Something isn't working and removed triage labels Jun 17, 2024
@bjuraga
Copy link
Author

bjuraga commented Jun 18, 2024

Is it possible to 'simply' push a new version of the extension with the updated schemas of the tasks? I could not find a script that generates that schema file, otherwise o would maybe try and patch my own environment. Seems like a separate release trigger should be in place for only schema changes, just a suggestion.

@winstliu
Copy link
Member

winstliu commented Oct 2, 2024

To create your own schema, hit this endpoint: https://dev.azure.com/YOUR_ORGANIZATION/distributedtask/yamlschema.

To prevent having to do that manually, we support auto-detecting your org's schema: https://github.com/microsoft/azure-pipelines-vscode?tab=readme-ov-file#schema-auto-detection

Is it possible to 'simply' push a new version of the extension with the updated schemas of the tasks?

Yes, this would be nice - I'll track that under #201.

@winstliu winstliu closed this as completed Oct 2, 2024
@winstliu winstliu closed this as not planned Won't fix, can't repro, duplicate, stale Oct 2, 2024
@winstliu
Copy link
Member

winstliu commented Oct 2, 2024

(Actually, I'll keep this open until we do regenerate the schema)

@winstliu winstliu reopened this Oct 2, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Area: VsCodeExtension bug Something isn't working
Projects
None yet
Development

No branches or pull requests

3 participants