Skip to content

Migrate AzDO pipelines to .config v2 templates and align service-connection wiring#1044

Merged
bwateratmsft merged 2 commits into
mainfrom
copilot/migrate-azure-devops-pipelines
May 19, 2026
Merged

Migrate AzDO pipelines to .config v2 templates and align service-connection wiring#1044
bwateratmsft merged 2 commits into
mainfrom
copilot/migrate-azure-devops-pipelines

Conversation

Copy link
Copy Markdown
Contributor

Copilot AI commented May 18, 2026

This updates the repo from legacy .azure-pipelines definitions to the azdo-pipelines v2 .config model used across Azure Tools repos, while preserving existing CI/release intent. It also applies the review-driven corrections from the referenced migrations (notably npmFeed wiring and new federated-credentials env detection).

  • Pipeline model migration (.azure-pipelines.config)

    • Added .config/build.yml using azdo-pipelines/1es-mb-main.yml@azExtTemplates
    • Added .config/release.yml using azdo-pipelines/1es-mb-release-extension.yml@azExtTemplates
    • Pinned template repo ref to azext-pt/v1
    • Preserved build/release triggers and artifact-based release flow
  • Template parameter and variable alignment

    • Passed npmFeed: ${{ variables.npmFeed }} in both build and release pipelines
    • Switched release wiring to shared variables:
      • releaseServiceConnection: ${{ variables.extensionReleaseServiceConnection }}
      • releaseApprovalEnvironment: ${{ variables.extensionReleaseApprovalEnvironment }}
    • Used azdo-pipelines/azcode.variables.yml for shared variable sourcing
  • Compliance/config relocation and legacy cleanup

    • Moved TSA config to .config/tsaoptions.json
    • Removed deprecated legacy files:
      • .azure-pipelines/SignExtension.signproj
      • .azure-pipelines/compliance/CredScanSuppressions.json
      • .azure-pipelines/compliance/PoliCheckExclusions.xml
      • legacy .azure-pipelines/release.yml
  • Packaging/test follow-up directly tied to migration

    • Updated .vscodeignore to exclude .config/**
    • Updated long-running test gating to recognize new FC env signal while keeping legacy fallback:
      • FC_SERVICE_CONNECTION_NAME (fallback: AzCode_UseAzureFederatedCredentials)
extends:
  template: azdo-pipelines/1es-mb-main.yml@azExtTemplates
  parameters:
    npmFeed: ${{ variables.npmFeed }}
    ${{ if eq(parameters.enableLongRunningTests, true) }}:
      testARMServiceConnection: ${{ variables.testARMServiceConnection }}

Warning

Firewall rules blocked me from connecting to one or more addresses (expand for details)

I tried to connect to the following addresses, but was blocked by firewall rules:

  • update.code.visualstudio.com
    • Triggering command: /usr/local/bin/node node /home/REDACTED/work/vscode-azurestaticwebapps/vscode-azurestaticwebapps/node_modules/.bin/vscode-test (dns block)

If you need me to access, download, or install something from one of these locations, you can either:

Original prompt

Migrate this repository to the new Azure DevOps pipelines model in the same pattern used by the following reference PRs:

IMPORTANT — before writing any code:

  1. Read through ALL review comments and discussion on Migrate Azure DevOps CI/release pipelines to azdo-pipelines v2 (.config model) vscode-azureresourcegroups#1447. That PR may contain reviewer feedback identifying mistakes or required corrections. Do not repeat those mistakes in this PR.
  2. The vscode-azureresourcegroups PR (#1447) may also include additional changes beyond the vscode-containers reference PRs. Evaluate whether those additional changes are applicable to this repository and apply them if so.

IMPORTANT — before making any changes:
3. Check whether this repository contains the existing pipeline files that are meant to be migrated (e.g. the AzDO pipeline YAML files referenced in the migration guide). If one or both pipeline files are missing from this repository, do NOT create them. Instead, close this PR without merging and leave a comment explaining which files were absent.

Scope and expectations (only if pipeline files exist):

  1. Identify and migrate existing pipeline definitions/templates in this repo to the new azdo-pipelines approach.
  2. Apply equivalent structural changes seen in the reference PRs, adapted for this repository.
  3. Update any supporting config/docs in-repo that must change due to the pipeline migration.
  4. Preserve existing behavior and release/CI intent.
  5. Validate by running the repo's relevant checks/tests where feasible in the agent environment.
  6. In the PR description, summarize what changed, note any intentional deviations from the reference PRs, and include a brief validation summary.

Constraints:

  • Keep changes focused on pipeline migration and directly related follow-up edits.
  • Avoid unrelated refactors.
  • Ensure YAML and template references are consistent and non-breaking.

Copilot AI changed the title [WIP] Migrate repository to new Azure DevOps pipelines model Migrate AzDO pipelines to .config v2 templates and align service-connection wiring May 18, 2026
Copilot AI requested a review from bwateratmsft May 18, 2026 20:50
@bwateratmsft bwateratmsft marked this pull request as ready for review May 19, 2026 12:36
@bwateratmsft bwateratmsft requested a review from a team as a code owner May 19, 2026 12:36
@bwateratmsft bwateratmsft merged commit 3d5e70c into main May 19, 2026
2 checks passed
@bwateratmsft bwateratmsft deleted the copilot/migrate-azure-devops-pipelines branch May 19, 2026 13:48
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.

3 participants