From 73fd7f528fbcb59ba2c497ac95b03477e9e114e4 Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Thu, 16 Apr 2026 10:18:51 -0700 Subject: [PATCH 1/2] Bump lodash from 4.17.23 to 4.18.1 in /src/Bootstrap (#10770) Bumps [lodash](https://github.com/lodash/lodash) from 4.17.23 to 4.18.1. - [Release notes](https://github.com/lodash/lodash/releases) - [Commits](https://github.com/lodash/lodash/compare/4.17.23...4.18.1) --- updated-dependencies: - dependency-name: lodash dependency-version: 4.18.1 dependency-type: direct:development ... Signed-off-by: dependabot[bot] Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> --- src/Bootstrap/package-lock.json | 62 +++++++++++++++++++++++++++++---- 1 file changed, 56 insertions(+), 6 deletions(-) diff --git a/src/Bootstrap/package-lock.json b/src/Bootstrap/package-lock.json index d8fc47589c..ba78cdeb4a 100644 --- a/src/Bootstrap/package-lock.json +++ b/src/Bootstrap/package-lock.json @@ -1050,6 +1050,12 @@ "url": "https://github.com/sponsors/isaacs" } }, + "node_modules/globule/node_modules/lodash": { + "version": "4.17.23", + "resolved": "https://registry.npmjs.org/lodash/-/lodash-4.17.23.tgz", + "integrity": "sha512-LgVTMpQtIopCi79SJeDiP0TfWi5CNEc/L/aRdTh3yIvmZXTnheWpKjSZhnvMl8iXbC1tFg9gdHHDMLoV7CnG+w==", + "dev": true + }, "node_modules/gopd": { "version": "1.2.0", "resolved": "https://registry.npmjs.org/gopd/-/gopd-1.2.0.tgz", @@ -1474,6 +1480,12 @@ "node": ">=8" } }, + "node_modules/grunt-legacy-log-utils/node_modules/lodash": { + "version": "4.17.23", + "resolved": "https://registry.npmjs.org/lodash/-/lodash-4.17.23.tgz", + "integrity": "sha512-LgVTMpQtIopCi79SJeDiP0TfWi5CNEc/L/aRdTh3yIvmZXTnheWpKjSZhnvMl8iXbC1tFg9gdHHDMLoV7CnG+w==", + "dev": true + }, "node_modules/grunt-legacy-log-utils/node_modules/supports-color": { "version": "7.2.0", "resolved": "https://registry.npmjs.org/supports-color/-/supports-color-7.2.0.tgz", @@ -1486,6 +1498,12 @@ "node": ">=8" } }, + "node_modules/grunt-legacy-log/node_modules/lodash": { + "version": "4.17.23", + "resolved": "https://registry.npmjs.org/lodash/-/lodash-4.17.23.tgz", + "integrity": "sha512-LgVTMpQtIopCi79SJeDiP0TfWi5CNEc/L/aRdTh3yIvmZXTnheWpKjSZhnvMl8iXbC1tFg9gdHHDMLoV7CnG+w==", + "dev": true + }, "node_modules/grunt-legacy-util": { "version": "2.0.1", "resolved": "https://registry.npmjs.org/grunt-legacy-util/-/grunt-legacy-util-2.0.1.tgz", @@ -1504,6 +1522,12 @@ "node": ">=10" } }, + "node_modules/grunt-legacy-util/node_modules/lodash": { + "version": "4.17.23", + "resolved": "https://registry.npmjs.org/lodash/-/lodash-4.17.23.tgz", + "integrity": "sha512-LgVTMpQtIopCi79SJeDiP0TfWi5CNEc/L/aRdTh3yIvmZXTnheWpKjSZhnvMl8iXbC1tFg9gdHHDMLoV7CnG+w==", + "dev": true + }, "node_modules/grunt-legacy-util/node_modules/which": { "version": "2.0.2", "resolved": "https://registry.npmjs.org/which/-/which-2.0.2.tgz", @@ -2002,9 +2026,9 @@ } }, "node_modules/lodash": { - "version": "4.17.23", - "resolved": "https://registry.npmjs.org/lodash/-/lodash-4.17.23.tgz", - "integrity": "sha512-LgVTMpQtIopCi79SJeDiP0TfWi5CNEc/L/aRdTh3yIvmZXTnheWpKjSZhnvMl8iXbC1tFg9gdHHDMLoV7CnG+w==", + "version": "4.18.1", + "resolved": "https://registry.npmjs.org/lodash/-/lodash-4.18.1.tgz", + "integrity": "sha512-dMInicTPVE8d1e5otfwmmjlxkZoUpiVLwyeTdUsi/Caj/gfzzblBcCE5sRHV/AsjuCmxWrte2TNGSYuCeCq+0Q==", "dev": true }, "node_modules/make-dir": { @@ -3831,6 +3855,12 @@ "once": "^1.3.0", "path-is-absolute": "^1.0.0" } + }, + "lodash": { + "version": "4.17.23", + "resolved": "https://registry.npmjs.org/lodash/-/lodash-4.17.23.tgz", + "integrity": "sha512-LgVTMpQtIopCi79SJeDiP0TfWi5CNEc/L/aRdTh3yIvmZXTnheWpKjSZhnvMl8iXbC1tFg9gdHHDMLoV7CnG+w==", + "dev": true } } }, @@ -4153,6 +4183,14 @@ "grunt-legacy-log-utils": "~2.1.0", "hooker": "~0.2.3", "lodash": "~4.17.19" + }, + "dependencies": { + "lodash": { + "version": "4.17.23", + "resolved": "https://registry.npmjs.org/lodash/-/lodash-4.17.23.tgz", + "integrity": "sha512-LgVTMpQtIopCi79SJeDiP0TfWi5CNEc/L/aRdTh3yIvmZXTnheWpKjSZhnvMl8iXbC1tFg9gdHHDMLoV7CnG+w==", + "dev": true + } } }, "grunt-legacy-log-utils": { @@ -4205,6 +4243,12 @@ "integrity": "sha512-EykJT/Q1KjTWctppgIAgfSO0tKVuZUjhgMr17kqTumMl6Afv3EISleU7qZUzoXDFTAHTDC4NOoG/ZxU3EvlMPQ==", "dev": true }, + "lodash": { + "version": "4.17.23", + "resolved": "https://registry.npmjs.org/lodash/-/lodash-4.17.23.tgz", + "integrity": "sha512-LgVTMpQtIopCi79SJeDiP0TfWi5CNEc/L/aRdTh3yIvmZXTnheWpKjSZhnvMl8iXbC1tFg9gdHHDMLoV7CnG+w==", + "dev": true + }, "supports-color": { "version": "7.2.0", "resolved": "https://registry.npmjs.org/supports-color/-/supports-color-7.2.0.tgz", @@ -4231,6 +4275,12 @@ "which": "~2.0.2" }, "dependencies": { + "lodash": { + "version": "4.17.23", + "resolved": "https://registry.npmjs.org/lodash/-/lodash-4.17.23.tgz", + "integrity": "sha512-LgVTMpQtIopCi79SJeDiP0TfWi5CNEc/L/aRdTh3yIvmZXTnheWpKjSZhnvMl8iXbC1tFg9gdHHDMLoV7CnG+w==", + "dev": true + }, "which": { "version": "2.0.2", "resolved": "https://registry.npmjs.org/which/-/which-2.0.2.tgz", @@ -4558,9 +4608,9 @@ } }, "lodash": { - "version": "4.17.23", - "resolved": "https://registry.npmjs.org/lodash/-/lodash-4.17.23.tgz", - "integrity": "sha512-LgVTMpQtIopCi79SJeDiP0TfWi5CNEc/L/aRdTh3yIvmZXTnheWpKjSZhnvMl8iXbC1tFg9gdHHDMLoV7CnG+w==", + "version": "4.18.1", + "resolved": "https://registry.npmjs.org/lodash/-/lodash-4.18.1.tgz", + "integrity": "sha512-dMInicTPVE8d1e5otfwmmjlxkZoUpiVLwyeTdUsi/Caj/gfzzblBcCE5sRHV/AsjuCmxWrte2TNGSYuCeCq+0Q==", "dev": true }, "make-dir": { From ce53ce265999ecb67d71d6f5d321987f7044e8c1 Mon Sep 17 00:00:00 2001 From: Joel Verhagen Date: Fri, 17 Apr 2026 14:22:41 -0400 Subject: [PATCH 2/2] Add new CI pipeline to run publicly in dnceng (#10785) --- .pipelines/NuGetGallery-CI-dnceng.yml | 235 ++++++++++++++++++++++++++ 1 file changed, 235 insertions(+) create mode 100644 .pipelines/NuGetGallery-CI-dnceng.yml diff --git a/.pipelines/NuGetGallery-CI-dnceng.yml b/.pipelines/NuGetGallery-CI-dnceng.yml new file mode 100644 index 0000000000..d13b0c6387 --- /dev/null +++ b/.pipelines/NuGetGallery-CI-dnceng.yml @@ -0,0 +1,235 @@ +name: NuGetGallery CI $(Build.BuildId) + +trigger: + branches: + include: + - main + - dev + batch: True + +pr: + branches: + include: + - "*" + +variables: + - name: BuildConfiguration + value: Release + - name: Codeql.Enabled + value: true + - name: NugetSecurityAnalysisWarningLevel + value: none + - name: nugetMultiFeedWarnLevel + value: none + - name: CommonPackageVersion + value: $(CommonAssemblyVersion)-$(SemverFriendlyBranchName)-$(Build.BuildId) + - name: CommonAssemblyVersion + value: 5.0.0 + - name: GalleryPackageVersion + value: $(GalleryAssemblyVersion)-$(SemverFriendlyBranchName)-$(Build.BuildId) + - name: GalleryAssemblyVersion + value: 5.0.0 + - name: JobsPackageVersion + value: $(JobsAssemblyVersion)-$(SemverFriendlyBranchName)-$(Build.BuildId) + - name: JobsAssemblyVersion + value: 5.0.0 + - name: NuGetGalleryDirectory + value: ng + - name: NuGetGalleryPath + value: $(Agent.BuildDirectory)\$(NuGetGalleryDirectory) + - name: NuGetGalleryBranch + value: $(Build.SourceBranchName) + - name: SemverFriendlyBranchName + value: ${{ replace(replace(variables['Build.SourceBranchName'], '_', '-'), '/', '-') }} + +resources: + repositories: + - repository: self + type: git + ref: refs/heads/main + +pool: + name: NetCore-Public + demands: ImageOverride -equals windows.vs2026.amd64.open + +stages: + - stage: common + displayName: NuGet.Server.Common.sln + dependsOn: [] + jobs: + - job: build_and_test + displayName: common build and test + cancelTimeoutInMinutes: 1 + steps: + - checkout: self + fetchDepth: 1 + clean: true + fetchTags: false + path: $(NuGetGalleryDirectory) + - task: UseDotNet@2 + displayName: Install .NET 8.0 SDK + inputs: + packageType: sdk + version: 8.0.x + - task: PowerShell@1 + name: build + displayName: Build + inputs: + scriptName: $(NuGetGalleryPath)\build.ps1 + arguments: -Configuration $(BuildConfiguration) -BuildNumber $(Build.BuildId) -SkipArtifacts -SkipGallery -SkipJobs -CommonAssemblyVersion $(CommonAssemblyVersion) -CommonPackageVersion $(CommonPackageVersion) -GalleryAssemblyVersion $(GalleryAssemblyVersion) -GalleryPackageVersion $(GalleryPackageVersion) -JobsAssemblyVersion $(JobsAssemblyVersion) -JobsPackageVersion $(JobsPackageVersion) -Branch $(NuGetGalleryBranch) -CommitSHA $(Build.SourceVersion) + workingFolder: $(NuGetGalleryPath) + - task: PowerShell@1 + name: test + displayName: Run tests + inputs: + scriptName: $(NuGetGalleryPath)\test.ps1 + arguments: -Configuration $(BuildConfiguration) -BuildNumber $(Build.BuildId) -SkipGallery -SkipJobs + workingFolder: $(NuGetGalleryPath) + - task: PublishTestResults@2 + name: publish_test_results + displayName: Publish test results + condition: succeededOrFailed() + inputs: + testRunner: VSTest + testResultsFiles: $(NuGetGalleryPath)\Results.*.xml + failTaskOnFailedTests: true + + - stage: gallery + displayName: NuGetGallery.sln + dependsOn: [] + jobs: + - job: build_and_test + displayName: gallery build and test + cancelTimeoutInMinutes: 1 + steps: + - checkout: self + fetchDepth: 1 + clean: true + fetchTags: false + path: $(NuGetGalleryDirectory) + - task: UseDotNet@2 + displayName: Install .NET 8.0 SDK + inputs: + packageType: sdk + version: 8.0.x + - task: PowerShell@1 + name: build + displayName: Build + inputs: + scriptName: $(NuGetGalleryPath)\build.ps1 + arguments: -Configuration $(BuildConfiguration) -BuildNumber $(Build.BuildId) -SkipArtifacts -SkipCommon -SkipJobs -CommonAssemblyVersion $(CommonAssemblyVersion) -CommonPackageVersion $(CommonPackageVersion) -GalleryAssemblyVersion $(GalleryAssemblyVersion) -GalleryPackageVersion $(GalleryPackageVersion) -JobsAssemblyVersion $(JobsAssemblyVersion) -JobsPackageVersion $(JobsPackageVersion) -Branch $(NuGetGalleryBranch) -CommitSHA $(Build.SourceVersion) + workingFolder: $(NuGetGalleryPath) + - task: PowerShell@1 + name: test + displayName: Run tests + inputs: + scriptName: $(NuGetGalleryPath)\test.ps1 + arguments: -Configuration $(BuildConfiguration) -BuildNumber $(Build.BuildId) -SkipCommon -SkipJobs + workingFolder: $(NuGetGalleryPath) + - task: PublishTestResults@2 + name: publish_test_results + displayName: Publish test results + condition: succeededOrFailed() + inputs: + testRunner: VSTest + testResultsFiles: $(NuGetGalleryPath)\Results.*.xml + failTaskOnFailedTests: true + + - stage: statslogparser + displayName: StatsLogPasrser + dependsOn: [] + jobs: + - job: build_and_test + displayName: statslogparser build and test + cancelTimeoutInMinutes: 1 + variables: + PIPX_HOME: $(Agent.ToolsDirectory)\pipx + steps: + - checkout: self + fetchDepth: 1 + clean: true + fetchTags: false + path: $(NuGetGalleryDirectory) + - task: UsePythonVersion@0 + inputs: + versionSpec: '3.10' + - script: | + python -m pip install --user pipx + set PATH=%USERPROFILE%\.local\bin;%PATH% + pipx install poetry + poetry install + poetry build + poetry run pytest tests/ --cov loginterpretation --cov-report html + displayName: 'Install tools and run tests' + workingDirectory: $(NuGetGalleryPath)\python\StatsLogParser + - task: PublishPipelineArtifact@1 + inputs: + targetPath: $(NuGetGalleryPath)\python\StatsLogParser\dist + artifact: StatsLogParser + + - stage: jobs + displayName: NuGet.Jobs.sln + dependsOn: [] + jobs: + - job: build_and_test + displayName: jobs build and test + cancelTimeoutInMinutes: 1 + steps: + - checkout: self + fetchDepth: 1 + clean: true + fetchTags: false + path: $(NuGetGalleryDirectory) + - task: UseDotNet@2 + displayName: Install .NET 8.0 SDK + inputs: + packageType: sdk + version: 8.0.x + - task: PowerShell@1 + name: build + displayName: Build + inputs: + scriptName: $(NuGetGalleryPath)\build.ps1 + arguments: -Configuration $(BuildConfiguration) -BuildNumber $(Build.BuildId) -SkipArtifacts -SkipCommon -SkipGallery -CommonAssemblyVersion $(CommonAssemblyVersion) -CommonPackageVersion $(CommonPackageVersion) -GalleryAssemblyVersion $(GalleryAssemblyVersion) -GalleryPackageVersion $(GalleryPackageVersion) -JobsAssemblyVersion $(JobsAssemblyVersion) -JobsPackageVersion $(JobsPackageVersion) -Branch $(NuGetGalleryBranch) -CommitSHA $(Build.SourceVersion) + workingFolder: $(NuGetGalleryPath) + - task: PowerShell@1 + name: test + displayName: Run tests + inputs: + scriptName: $(NuGetGalleryPath)\test.ps1 + arguments: -Configuration $(BuildConfiguration) -BuildNumber $(Build.BuildId) -SkipCommon -SkipGallery + workingFolder: $(NuGetGalleryPath) + - task: PublishTestResults@2 + name: publish_test_results + displayName: Publish test results + condition: succeededOrFailed() + inputs: + testRunner: VSTest + testResultsFiles: $(NuGetGalleryPath)\Results.*.xml + failTaskOnFailedTests: true + + - stage: artifacts + displayName: Artifacts + dependsOn: [] + jobs: + - job: build_artifacts + displayName: build + cancelTimeoutInMinutes: 1 + steps: + - checkout: self + fetchDepth: 1 + clean: true + fetchTags: false + path: $(NuGetGalleryDirectory) + - task: UseDotNet@2 + displayName: Install .NET 8.0 SDK + inputs: + packageType: sdk + version: 8.0.x + - task: PowerShell@1 + name: build_artifacts + displayName: Build + inputs: + scriptName: $(NuGetGalleryPath)\build.ps1 + arguments: -Configuration $(BuildConfiguration) -BuildNumber $(Build.BuildId) -CommonAssemblyVersion $(CommonAssemblyVersion) -CommonPackageVersion $(CommonPackageVersion) -GalleryAssemblyVersion $(GalleryAssemblyVersion) -GalleryPackageVersion $(GalleryPackageVersion) -JobsAssemblyVersion $(JobsAssemblyVersion) -JobsPackageVersion $(JobsPackageVersion) -Branch $(NuGetGalleryBranch) -CommitSHA $(Build.SourceVersion) + workingFolder: $(NuGetGalleryPath)