question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

No schema for pool.vmImage

See original GitHub issue

Using hosted agent pools is the most common use case I see for using Azure Pipelines. This extension doesn’t recognize the following

pool:
  vmImage: ubuntu-16.04

There are no errors, but there’s no autocomplete, etc for vmImage - it’s just seen as an unrecognized extra property.

It seems like at one point there was a commit to add this functionality: https://github.com/microsoft/azure-pipelines-vscode/commit/20cb16d2bbbb79084d8f54bfdde0cfc728a18c5f

And it was lost with the latest schema update: https://github.com/microsoft/azure-pipelines-vscode/commit/71521de3616d7d0ecaed9a5a766b95b008f941bd#diff-e19d8a26e2287aa3875f1181a6c39773

@vtbassmatt Would you be open to me opening a PR to add this back in?

Issue Analytics

  • State:open
  • Created 4 years ago
  • Reactions:3
  • Comments:5 (3 by maintainers)

github_iconTop GitHub Comments

2reactions
vtbassmattcommented, Jun 13, 2019

The schema is generated by the server, so adding it manually here will just get clobbered again in the future. I’ll see if @damccorm can get a proper fix on the server, then I’ll regenerate the schema here.

1reaction
tdicommented, Jan 13, 2020

@vtbassmatt yes it works at the root and also documentation states:

You can specify a pool at the pipeline, stage, or job level. The pool specified at the lowest level of the hierarchy is used to run the job.

https://docs.microsoft.com/en-us/azure/devops/pipelines/yaml-schema?view=azure-devops&tabs=schema

Read more comments on GitHub >

github_iconTop Results From Across the Web

Create and manage agent pools - Azure Pipelines
Learn about organizing agents into pools for builds and releases in Azure Pipelines and Team Foundation Server.
Read more >
Error when trying to set pipeline pool to Default agent pool ...
I am currently triggering builds off of two different branches. It sounds like your recommendation is based on the classic pipeline editor not...
Read more >
Builds - Pipeline - Agent Pool: YAML definition file overwrites ...
yml file( like the doc: https://docs.microsoft.com/en-us/azure/devops/pipelines/yaml-schema?view=vsts&tabs=example#pool ). If not, it will use Hosted VS2017 ...
Read more >
VMware Integrated Printing Policy Settings
When this setting is not configured or deactivated, virtual desktops use the printer name schema "%P (vdi)". Published desktops and published ...
Read more >
Batch Shipyard Pool Configuration - Read the Docs
The pool schema is as follows: ... (required for platform image) publisher is the publisher name of the Marketplace VM image. (required for...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found