diff --git a/eng/common/templates/jobs/validate-image-sizes.yml b/eng/common/templates/jobs/validate-image-sizes.yml deleted file mode 100644 index 18639a00b3..0000000000 --- a/eng/common/templates/jobs/validate-image-sizes.yml +++ /dev/null @@ -1,50 +0,0 @@ -parameters: - internalProjectName: null - publicProjectName: null - -jobs: -- ${{ if eq(variables['System.TeamProject'], parameters.internalProjectName) }}: - # Split the Linux images into separate jobs in order to compensate for less - # disk space on the Linux agents. See https://github.com/dotnet/dotnet-docker/issues/1588 - - job: LinuxAmd64PerfTests - pool: - vmImage: $(defaultLinuxAmd64PoolImage) - workspace: - clean: all - steps: - - template: ../steps/validate-image-sizes.yml - parameters: - dockerClientOS: linux - architecture: amd64 - validationMode: size - - job: LinuxArmPerfTests - pool: - vmImage: $(defaultLinuxAmd64PoolImage) - workspace: - clean: all - steps: - - template: ../steps/validate-image-sizes.yml - parameters: - dockerClientOS: linux - architecture: arm* - validationMode: size -- job: LinuxBaselineIntegrityPerfTests - pool: - vmImage: $(defaultLinuxAmd64PoolImage) - workspace: - clean: all - steps: - - template: ../steps/validate-image-sizes.yml - parameters: - dockerClientOS: linux - validationMode: integrity -- job: WindowsPerfTests - pool: Docker-2022-${{ variables['System.TeamProject'] }} - workspace: - clean: all - steps: - - template: ../steps/validate-image-sizes.yml - parameters: - dockerClientOS: windows - ${{ if eq(variables['System.TeamProject'], parameters.publicProjectName) }}: - validationMode: integrity diff --git a/eng/common/templates/steps/validate-image-sizes.yml b/eng/common/templates/steps/validate-image-sizes.yml deleted file mode 100644 index 9cd6e95a01..0000000000 --- a/eng/common/templates/steps/validate-image-sizes.yml +++ /dev/null @@ -1,16 +0,0 @@ -parameters: - dockerClientOS: null - architecture: "*" - validationMode: "all" - -steps: - - template: ${{ format('../steps/init-docker-{0}.yml', parameters.dockerClientOS) }} - parameters: - # Get some disk space back, pipeline run time is not a concern here - cleanupDocker: true - - powershell: > - ./tests/performance/Validate-ImageSize.ps1 - -ImageBuilderCustomArgs "--architecture '${{ parameters.architecture }}'" - -ValidationMode:${{ parameters.validationMode }} - -PullImages - displayName: Run Image Size Tests diff --git a/eng/pipelines/dotnet-core-internal-nightly.yml b/eng/pipelines/dotnet-core-internal-nightly.yml deleted file mode 100644 index 1b3ca4f9f0..0000000000 --- a/eng/pipelines/dotnet-core-internal-nightly.yml +++ /dev/null @@ -1,51 +0,0 @@ -trigger: - batch: true - branches: - include: - - internal/release/nightly - paths: - include: - - manifest.json - - manifest.versions.json - - src/* -pr: none - -parameters: -- name: isTest - displayName: Is Test Pipeline Run - type: boolean - default: false - -variables: -- template: /eng/pipelines/variables/internal-core.yml@self -- name: officialBranches - # comma-delimited list of branch names - value: internal/release/nightly -- name: ingestKustoImageInfo - value: false -- name: publishReadme - value: false -- ${{ if parameters.isTest }}: - - name: publishRepoPrefix - value: test/internal/private/ -- ${{ else }}: - - name: publishRepoPrefix - value: internal/private/ - -resources: - repositories: - - repository: VersionsRepo - type: github - endpoint: dotnet - name: dotnet/dotnet-docker-internal - ref: ${{ variables['gitHubVersionsRepoInfo.branch'] }} - -extends: - template: /eng/common/templates/1es-official.yml@self - parameters: - stages: - - template: /eng/pipelines/stages/build-test-publish-repo.yml@self - parameters: - internalProjectName: ${{ variables.internalProjectName }} - publicProjectName: ${{ variables.publicProjectName }} - versionsRepoRef: VersionsRepo diff --git a/eng/pipelines/dotnet-core-internal-pr.yml b/eng/pipelines/dotnet-core-internal-pr.yml deleted file mode 100644 index aeaaeffaa1..0000000000 --- a/eng/pipelines/dotnet-core-internal-pr.yml +++ /dev/null @@ -1,22 +0,0 @@ -trigger: none -# This pipeline is intended to be run for internal PRs only in AzDO. -# Configuring the pipeline to run for PRs in AzDO is not supported from the YAML but instead -# is configured through the build validation policy for the appropriate branch. -# https://docs.microsoft.com/azure/devops/pipelines/troubleshooting/troubleshooting?view=azure-devops#pull-request-triggers-not-supported-with-azure-repos -pr: none - -resources: - repositories: - - repository: InternalVersionsRepo - type: github - endpoint: dotnet - name: dotnet/dotnet-docker-internal - -variables: -- template: variables/internal-core.yml - -stages: -- template: stages/build-test-publish-repo.yml - parameters: - internalProjectName: ${{ variables.internalProjectName }} - publicProjectName: ${{ variables.publicProjectName }} diff --git a/eng/pipelines/dotnet-core-internal-testing.yml b/eng/pipelines/dotnet-core-internal-testing.yml deleted file mode 100644 index a0cfd46588..0000000000 --- a/eng/pipelines/dotnet-core-internal-testing.yml +++ /dev/null @@ -1,55 +0,0 @@ -trigger: - batch: true - branches: - include: - - testing/* - paths: - include: - - manifest.json - - manifest.versions.json - - src/* -pr: none - -parameters: -- name: sourceBuildPipelineRunId - displayName: > - Source build pipeline run ID. This refers to runs of *this pipeline*. - Override this parameter in combination with disabling the `Build` stage to - test images that were built in a different pipeline run. When building new - images, leave this value alone. - type: string - default: $(Build.BuildId) - -variables: -- template: /eng/pipelines/variables/internal-core.yml@self - parameters: - sourceBuildPipelineRunId: ${{ parameters.sourceBuildPipelineRunId }} -- name: IsInternalServicingValidation - value: true - -resources: - repositories: - - repository: VersionsRepo - type: github - endpoint: dotnet - name: dotnet/versions - ref: ${{ variables['gitHubVersionsRepoInfo.branch'] }} - -extends: - template: /eng/common/templates/1es-official.yml@self - parameters: - serviceConnections: - - name: $(internal-mirror.serviceConnectionName) - - name: $(build.serviceConnectionName) - - name: $(publish.serviceConnectionName) - - name: $(kusto.serviceConnectionName) - - name: $(marStatus.serviceConnectionName) - stages: - - template: stages/build-test-publish-repo.yml - parameters: - internalProjectName: ${{ variables.internalProjectName }} - publicProjectName: ${{ variables.publicProjectName }} - versionsRepoRef: VersionsRepo - sourceBuildPipelineRunId: ${{ parameters.sourceBuildPipelineRunId }} - isInternalServicingValidation: ${{ variables.IsInternalServicingValidation }} - noCache: true diff --git a/eng/pipelines/update-readmes.yml b/eng/pipelines/update-readmes.yml index 2b2b50404f..efd42acacb 100644 --- a/eng/pipelines/update-readmes.yml +++ b/eng/pipelines/update-readmes.yml @@ -1,24 +1,24 @@ -trigger: none -pr: none - -variables: -- template: /eng/pipelines/variables/core.yml@self - -extends: - template: /eng/common/templates/1es-official.yml@self - parameters: - stages: - - stage: UpdateReadmes - displayName: Update Readmes - jobs: - - job: UpdateReadmes - displayName: Update Readmes - steps: - - template: /eng/common/templates/steps/init-docker-linux.yml@self - - template: /eng/pipelines/steps/set-public-source-branch-var.yml@self - - template: /eng/common/templates/steps/set-image-info-path-var.yml@self - parameters: - publicSourceBranch: $(publicSourceBranch) - - template: /eng/pipelines/steps/set-publish-mcrdocs-args-var.yml@self - - template: /eng/common/templates/steps/publish-readmes.yml@self - - template: /eng/common/templates/steps/cleanup-docker-linux.yml@self +trigger: none +pr: none + +variables: +- template: /eng/pipelines/variables/core.yml@self + +extends: + template: /eng/common/templates/1es-official.yml@self + parameters: + stages: + - stage: UpdateReadmes + displayName: Update Readmes + jobs: + - job: UpdateReadmes + displayName: Update Readmes + steps: + - template: /eng/common/templates/steps/init-docker-linux.yml@self + - template: /eng/pipelines/steps/set-public-source-branch-var.yml@self + - template: /eng/common/templates/steps/set-image-info-path-var.yml@self + parameters: + publicSourceBranch: $(publicSourceBranch) + - template: /eng/pipelines/steps/set-publish-mcrdocs-args-var.yml@self + - template: /eng/common/templates/steps/publish-readmes.yml@self + - template: /eng/common/templates/steps/cleanup-docker-linux.yml@self