Path: blob/main/build/azure-pipelines/product-copilot-recovery.yml
13379 views
name: $(Date:yyyyMMdd)$(Rev:.r)12trigger: none3pr: none45resources:6repositories:7- repository: templates8type: github9name: microsoft/vscode-engineering10ref: main11endpoint: Monaco1213parameters:14- name: customNPMRegistry15displayName: Custom NPM Registry (Terrapin)16type: boolean17default: true18- name: publishExtension19displayName: Publish Stable Recovery Extension20type: boolean21default: false2223variables:24- name: VSCODE_QUALITY25value: stable2627extends:28template: azure-pipelines/extension/stable.yml@templates29parameters:30workingDirectory: ./extensions/copilot31l10nSourcePaths: ./extensions/copilot/src32nodeVersion: 22.21.x3334cgIgnoreDirectories: $(Build.SourcesDirectory)/extensions/copilot/script3536# Suppress false positive strings SG.default.* that show up in37# dist/extension.js after the build. The original strings come from ora.38vscePackageArgs: '--allow-package-secrets sendgrid'3940buildSteps:41- ${{ if eq(parameters.publishExtension, true) }}:42- ${{ if not(startsWith(variables['Build.SourceBranch'], 'refs/heads/release/')) }}:43- script: |44echo "##vso[task.logissue type=error]publishExtension requires a release/* branch"45exit 146displayName: Validate release branch4748- template: copilot/setup-steps.yml49- template: copilot/build-steps.yml5051uploadSourceMaps:52enabled: true5354testSteps:55- checkout: self56lfs: true57- template: copilot/setup-steps.yml58- template: copilot/test-steps.yml5960tsa:61config:62areaPath: 'Visual Studio Code Copilot Extensions'63serviceTreeID: '1788a767-5861-45fb-973b-c686b67c5541'64enabled: true6566${{ if eq(parameters.customNPMRegistry, false) }}:67customNPMRegistry: ''6869generateNotice: true7071publishExtension: ${{ parameters.publishExtension }}72ghCreateTag: ${{ parameters.publishExtension }}73ghTagPrefix: 'copilot/'74ghCreateRelease: false757677