Skip to content

Conversation

Copilot
Copy link
Contributor

@Copilot Copilot AI commented Sep 29, 2025

The annotate-eol-digests pipeline was failing to run in Azure DevOps with the following error:

Encountered error(s) while parsing pipeline YAML:
A value for the 'sourceBuildPipelineRunId' parameter must be provided.
/eng/pipelines/templates/variables/image-builder.yml (Line: 13, Col: 10): Key not found 'sourceBuildPipelineRunId'

This occurred because the pipeline hadn't been migrated to work with the new pipeline system that requires specific parameter passing patterns.

Root Cause

The pipeline was missing two required parameters:

  1. sourceBuildPipelineRunId - Required by the templates/variables/image-builder.yml template but not provided by the pipeline
  2. acr - Required by the annotate-eol-digests.yml step template but not passed from the pipeline

Solution

Added the missing parameters to align with the new pipeline system requirements:

  1. Added sourceBuildPipelineRunId parameter with default value $(Build.BuildId), consistent with other pipelines in the repository
  2. Added acr parameter configuration to the annotate-eol-digests step with proper ACR settings:
    • Server reference: $(acr.server)
    • Repository prefix: "public/"
    • Service connection details from the publish service connection variables

These changes follow the same patterns used in other working pipelines like dotnet-buildtools-image-builder-official.yml and ensure the pipeline can execute successfully in the new pipeline system.

Validation

  • ✅ Template parameter requirements are now satisfied
  • ✅ Command arguments match expected AnnotateEolDigestsCommand parameters
  • ✅ YAML syntax validated
  • ✅ Consistent with existing pipeline patterns in the repository
Original prompt

This section details on the original issue you should resolve

<issue_title>annotate-eol-digests pipeline not migrated to new pipeline system</issue_title>
<issue_description>The annotate-eol-digests pipeline fails to run in AzDO. It will get the following error:

Encountered error(s) while parsing pipeline YAML:
A value for the 'sourceBuildPipelineRunId' parameter must be provided.
/eng/pipelines/templates/variables/image-builder.yml (Line: 13, Col: 10): Key not found 'sourceBuildPipelineRunId'

It's also missing some required parameters that need to be passed to https://github.com/dotnet/docker-tools/blob/main/eng/common/templates/steps/annotate-eol-digests.yml</issue_description>

Comments on the Issue (you are @copilot in this section)

Fixes #1816

💬 Share your feedback on Copilot coding agent for the chance to win a $200 gift card! Click here to start the survey.

@Copilot Copilot AI changed the title [WIP] annotate-eol-digests pipeline not migrated to new pipeline system Fix annotate-eol-digests pipeline missing parameters for new pipeline system Sep 29, 2025
@Copilot Copilot AI requested a review from lbussell September 29, 2025 18:17
Copilot finished work on behalf of lbussell September 29, 2025 18:17
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.

annotate-eol-digests pipeline not migrated to new pipeline system

2 participants