From f18f2ecd6c82928623d645236052aaed3c5dae3a Mon Sep 17 00:00:00 2001 From: Smit Patel Date: Tue, 20 Jun 2023 14:22:49 -0700 Subject: [PATCH] ci skip --- eng/pipelines/official.yml | 5 ++--- eng/scripts/InsertNpmDependencies.ps1 | 19 ------------------- eng/scripts/InsertReviewers.ps1 | 14 -------------- eng/scripts/TeamEmail.ps1 | 1 - 4 files changed, 2 insertions(+), 37 deletions(-) delete mode 100644 eng/scripts/InsertNpmDependencies.ps1 delete mode 100644 eng/scripts/InsertReviewers.ps1 delete mode 100644 eng/scripts/TeamEmail.ps1 diff --git a/eng/pipelines/official.yml b/eng/pipelines/official.yml index b3343ed4031..c6ae78ba5d8 100644 --- a/eng/pipelines/official.yml +++ b/eng/pipelines/official.yml @@ -298,9 +298,6 @@ stages: - ${{ if or(eq(parameters.CreateVSGreenInsertion, true), eq(variables['Build.Reason'], 'Schedule')) }}: - template: azure-pipelines/external/component-insertion.yml@VSCodeExtensionRepo parameters: - VariableInitSteps: - - powershell: '$(Build.SourcesDirectory)/eng/scripts/InsertReviewers.ps1' - - powershell: '$(Build.SourcesDirectory)/eng/scripts/InsertNpmDependencies.ps1' sourceBranch: $(Build.SourceBranch) sourceCommit: $(Build.SourceVersion) runName: $(Build.BuildNumber) @@ -308,4 +305,6 @@ stages: pipelineID: $(System.DefinitionId) InsertTargetBranch: ${{ parameters.InsertionVSGreenBranch }} ComponentSubDir: $(Build.Repository.Name) + # variables: + # InsertReviewers: '.NET Project System' \ No newline at end of file diff --git a/eng/scripts/InsertNpmDependencies.ps1 b/eng/scripts/InsertNpmDependencies.ps1 deleted file mode 100644 index a7ca863c9f8..00000000000 --- a/eng/scripts/InsertNpmDependencies.ps1 +++ /dev/null @@ -1,19 +0,0 @@ -$RootPath = "$PSScriptRoot\..\..\artifacts\" -Write-Host $RootPath -if (Test-Path $RootPath) { - $packages = @() - Get-ChildItem $RootPath -Filter "npmsrc" -Directory -Recurse | ForEach-Object { - $packageJsonPath = Join-Path $_.FullName 'package.json' - Write-Host $packageJsonPath - if (Test-Path $packageJsonPath) { - $packageJson = Get-Content $packageJsonPath | ConvertFrom-Json - Write-Host $packageJson - if ($packageJson.version -ne '99.0.0-dev') { - $packages += "$($packageJson.name)@$($packageJson.version)" - } - } - } - - # Render as a space-delimited string - "$packages" -} diff --git a/eng/scripts/InsertReviewers.ps1 b/eng/scripts/InsertReviewers.ps1 deleted file mode 100644 index 095c54f9f3b..00000000000 --- a/eng/scripts/InsertReviewers.ps1 +++ /dev/null @@ -1,14 +0,0 @@ -# This is a list of AzDO account names or email addresses. -# Add your team DL and/or whoever should be notified of insertion PRs. -$contacts = ,$env:BUILD_REQUESTEDFOREMAIL - -$contacts += '.NET Project System' - -if (Test-Path "$PSScriptRoot\TeamEmail.ps1") { - $contacts += & "$PSScriptRoot\TeamEmail.ps1" -} - -$contacts = $contacts |? { $_ } -if ($contacts) { - [string]::Join(',', $contacts) -} diff --git a/eng/scripts/TeamEmail.ps1 b/eng/scripts/TeamEmail.ps1 deleted file mode 100644 index 93361bca883..00000000000 --- a/eng/scripts/TeamEmail.ps1 +++ /dev/null @@ -1 +0,0 @@ -'dotnetdevexproj@microsoft.com'