OpenAstronomy/azure-pipelines-templates

An image label with the label Ubuntu16 does not exist

Closed this issue · 3 comments

pllim commented

Saw this over at https://dev.azure.com/astropy-project/astropy/_build/results?buildId=2101&view=logs&j=41002f1b-2888-5a9a-5d7c-5be463c64c96 .

##[warning]An image label with the label Ubuntu16 does not exist.
,##[error]The remote provider was unable to process the request.

Both publish.yml and run-tox-env.yml specify the latest version of Ubuntu for linux jobs, which seems to be working as you can see here. I think the job that is raising the warning is outside of these templates, and is specified in Astropy's azure-pipelines.yml:

# We always need to specify a job, so always run a do nothing.
- job: skipping
  steps:
    - checkout: none

I'm not sure why Azure would be trying to use an image that has been deprecated, however, the warning can probably be removed by specifying an image:

# We always need to specify a job, so always run a do nothing.
- job: skipping
  pool:
    vmImage: 'ubuntu-latest'
  steps:
    - checkout: none

I have effectively made this check in the astropy yaml redundant anyway. Also closing this as it's not a bug here.

pllim commented

@Cadair , I am guessing you mean astropy/astropy#12292 ? Thanks, everyone!