diff --git a/eng/pipelines/dotnet-buildtools-prereqs-all-pr.yml b/eng/pipelines/dotnet-buildtools-prereqs-all-pr.yml index 9e285a9db..ba314b718 100644 --- a/eng/pipelines/dotnet-buildtools-prereqs-all-pr.yml +++ b/eng/pipelines/dotnet-buildtools-prereqs-all-pr.yml @@ -1,5 +1,11 @@ trigger: none -pr: none +pr: + branches: + include: + - main + paths: + include: + - src/* resources: repositories: @@ -16,7 +22,7 @@ stages: parameters: internalProjectName: ${{ variables.internalProjectName }} publicProjectName: ${{ variables.publicProjectName }} - linuxAmdBuildJobTimeout: 360 + linuxAmdBuildJobTimeout: 480 linuxArmBuildJobTimeout: 300 linuxAmd64Pool: name: NetCore-Public-XL diff --git a/eng/pipelines/dotnet-buildtools-prereqs-all.yml b/eng/pipelines/dotnet-buildtools-prereqs-all.yml index 4161893dd..71ac34ddb 100644 --- a/eng/pipelines/dotnet-buildtools-prereqs-all.yml +++ b/eng/pipelines/dotnet-buildtools-prereqs-all.yml @@ -1,4 +1,10 @@ -trigger: none +trigger: + branches: + include: + - main + paths: + include: + - src/* pr: none resources: @@ -10,6 +16,8 @@ resources: variables: - template: /eng/pipelines/variables/common.yml@self +- name: publishEolAnnotations + value: true extends: template: /eng/common/templates/1es-official.yml@self diff --git a/eng/pipelines/dotnet-buildtools-prereqs-almalinux-pr.yml b/eng/pipelines/dotnet-buildtools-prereqs-almalinux-pr.yml deleted file mode 100644 index 36dfc3392..000000000 --- a/eng/pipelines/dotnet-buildtools-prereqs-almalinux-pr.yml +++ /dev/null @@ -1,26 +0,0 @@ -trigger: none -pr: - branches: - include: - - main - paths: - include: - - src/almalinux/* - -resources: - repositories: - - repository: PublicVersionsRepo - type: github - endpoint: public - name: dotnet/versions - -variables: -- template: variables/common.yml -- name: imageBuilder.pathArgs - value: --path 'src/almalinux/*' - -stages: -- template: stages/build-test-publish-repo.yml - parameters: - internalProjectName: ${{ variables.internalProjectName }} - publicProjectName: ${{ variables.publicProjectName }} diff --git a/eng/pipelines/dotnet-buildtools-prereqs-almalinux.yml b/eng/pipelines/dotnet-buildtools-prereqs-almalinux.yml deleted file mode 100644 index e6ff22468..000000000 --- a/eng/pipelines/dotnet-buildtools-prereqs-almalinux.yml +++ /dev/null @@ -1,29 +0,0 @@ -trigger: - branches: - include: - - main - paths: - include: - - src/almalinux/* -pr: none - -resources: - repositories: - - repository: InternalVersionsRepo - type: github - endpoint: dotnet - name: dotnet/versions - -variables: -- template: /eng/pipelines/variables/common.yml@self -- name: imageBuilder.pathArgs - value: --path 'src/almalinux/*' - -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 }} diff --git a/eng/pipelines/dotnet-buildtools-prereqs-alpine-pr.yml b/eng/pipelines/dotnet-buildtools-prereqs-alpine-pr.yml deleted file mode 100644 index 2e209f89a..000000000 --- a/eng/pipelines/dotnet-buildtools-prereqs-alpine-pr.yml +++ /dev/null @@ -1,27 +0,0 @@ -trigger: none -pr: - branches: - include: - - main - paths: - include: - - src/alpine/* - -resources: - repositories: - - repository: PublicVersionsRepo - type: github - endpoint: public - name: dotnet/versions - -variables: -- template: variables/common.yml -- name: imageBuilder.pathArgs - value: --path 'src/alpine/*' - -stages: -- template: stages/build-test-publish-repo.yml - parameters: - internalProjectName: ${{ variables.internalProjectName }} - publicProjectName: ${{ variables.publicProjectName }} - linuxArmBuildJobTimeout: 120 diff --git a/eng/pipelines/dotnet-buildtools-prereqs-alpine.yml b/eng/pipelines/dotnet-buildtools-prereqs-alpine.yml deleted file mode 100644 index d84e43c0b..000000000 --- a/eng/pipelines/dotnet-buildtools-prereqs-alpine.yml +++ /dev/null @@ -1,30 +0,0 @@ -trigger: - branches: - include: - - main - paths: - include: - - src/alpine/* -pr: none - -resources: - repositories: - - repository: InternalVersionsRepo - type: github - endpoint: dotnet - name: dotnet/versions - -variables: -- template: /eng/pipelines/variables/common.yml@self -- name: imageBuilder.pathArgs - value: --path 'src/alpine/*' - -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 }} - linuxArmBuildJobTimeout: 120 diff --git a/eng/pipelines/dotnet-buildtools-prereqs-azurelinux-pr.yml b/eng/pipelines/dotnet-buildtools-prereqs-azurelinux-pr.yml deleted file mode 100644 index cded28154..000000000 --- a/eng/pipelines/dotnet-buildtools-prereqs-azurelinux-pr.yml +++ /dev/null @@ -1,32 +0,0 @@ -trigger: none -pr: - branches: - include: - - main - paths: - include: - - src/azurelinux/* - -resources: - repositories: - - repository: PublicVersionsRepo - type: github - endpoint: public - name: dotnet/versions - -variables: -- template: variables/common.yml -- name: imageBuilder.pathArgs - value: --path 'src/azurelinux/*' - -stages: -- template: stages/build-test-publish-repo.yml - parameters: - internalProjectName: ${{ variables.internalProjectName }} - publicProjectName: ${{ variables.publicProjectName }} - linuxAmdBuildJobTimeout: 480 - linuxAmd64Pool: - name: NetCore-Public-XL - demands: ImageOverride -equals build.Ubuntu.2204.amd64.open - customBuildInitSteps: - - template: /eng/pipelines/steps/install-cross-build-prereqs.yml diff --git a/eng/pipelines/dotnet-buildtools-prereqs-azurelinux.yml b/eng/pipelines/dotnet-buildtools-prereqs-azurelinux.yml deleted file mode 100644 index ee19f8604..000000000 --- a/eng/pipelines/dotnet-buildtools-prereqs-azurelinux.yml +++ /dev/null @@ -1,36 +0,0 @@ -trigger: - branches: - include: - - main - paths: - include: - - src/azurelinux/* -pr: none - -resources: - repositories: - - repository: InternalVersionsRepo - type: github - endpoint: dotnet - name: dotnet/versions - -variables: -- template: /eng/pipelines/variables/common.yml@self -- name: imageBuilder.pathArgs - value: --path 'src/azurelinux/*' - -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 }} - linuxAmdBuildJobTimeout: 480 - linuxAmd64Pool: - name: NetCore1ESPool-Internal-XL - image: 1es-ubuntu-2204 - os: linux - customBuildInitSteps: - - template: /eng/pipelines/steps/install-cross-build-prereqs.yml@self diff --git a/eng/pipelines/dotnet-buildtools-prereqs-centos-pr.yml b/eng/pipelines/dotnet-buildtools-prereqs-centos-pr.yml deleted file mode 100644 index aab3c1dd0..000000000 --- a/eng/pipelines/dotnet-buildtools-prereqs-centos-pr.yml +++ /dev/null @@ -1,28 +0,0 @@ -trigger: none -pr: - branches: - include: - - main - paths: - include: - - src/centos/* - -resources: - repositories: - - repository: PublicVersionsRepo - type: github - endpoint: public - name: dotnet/versions - -variables: -- template: variables/common.yml -- name: imageBuilder.pathArgs - value: --path 'src/centos/*' - -stages: -- template: stages/build-test-publish-repo.yml - parameters: - internalProjectName: ${{ variables.internalProjectName }} - publicProjectName: ${{ variables.publicProjectName }} - linuxAmdBuildJobTimeout: 210 - linuxArmBuildJobTimeout: 300 diff --git a/eng/pipelines/dotnet-buildtools-prereqs-centos.yml b/eng/pipelines/dotnet-buildtools-prereqs-centos.yml deleted file mode 100644 index 901cfda90..000000000 --- a/eng/pipelines/dotnet-buildtools-prereqs-centos.yml +++ /dev/null @@ -1,44 +0,0 @@ -trigger: - branches: - include: - - main - paths: - include: - - src/centos/* -pr: none - -resources: - repositories: - - repository: InternalVersionsRepo - type: github - endpoint: dotnet - name: dotnet/versions - -variables: -- template: /eng/pipelines/variables/common.yml@self -- name: imageBuilder.pathArgs - value: --path 'src/centos/*' - -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 }} - linuxAmdBuildJobTimeout: 210 - linuxArmBuildJobTimeout: 300 - ${{ if eq(variables['System.TeamProject'], 'internal') }}: - customCopyBaseImagesInitSteps: - - template: /eng/pipelines/steps/set-base-image-override-options.yml@self - parameters: - variableName: customCopyBaseImagesArgs - dockerfileOs: centos - baseOverrideRegistry: $(overrideRegistry) # Comes from DotNet-Docker-Common variable group - customBuildInitSteps: - - template: /eng/pipelines/steps/set-base-image-override-options.yml@self - parameters: - variableName: imageBuilderBuildArgs - dockerfileOs: centos - baseOverrideRegistry: $(overrideRegistry) # Comes from DotNet-Docker-Common variable group diff --git a/eng/pipelines/dotnet-buildtools-prereqs-debian-pr.yml b/eng/pipelines/dotnet-buildtools-prereqs-debian-pr.yml deleted file mode 100644 index 515b1e701..000000000 --- a/eng/pipelines/dotnet-buildtools-prereqs-debian-pr.yml +++ /dev/null @@ -1,26 +0,0 @@ -trigger: none -pr: - branches: - include: - - main - paths: - include: - - src/debian/* - -resources: - repositories: - - repository: PublicVersionsRepo - type: github - endpoint: public - name: dotnet/versions - -variables: -- template: variables/common.yml -- name: imageBuilder.pathArgs - value: --path 'src/debian/*' - -stages: -- template: stages/build-test-publish-repo.yml - parameters: - internalProjectName: ${{ variables.internalProjectName }} - publicProjectName: ${{ variables.publicProjectName }} diff --git a/eng/pipelines/dotnet-buildtools-prereqs-debian.yml b/eng/pipelines/dotnet-buildtools-prereqs-debian.yml deleted file mode 100644 index ce70ab8ee..000000000 --- a/eng/pipelines/dotnet-buildtools-prereqs-debian.yml +++ /dev/null @@ -1,43 +0,0 @@ -trigger: - branches: - include: - - main - paths: - include: - - src/debian/* - -pr: none - -resources: - repositories: - - repository: InternalVersionsRepo - type: github - endpoint: dotnet - name: dotnet/versions - -variables: -- template: /eng/pipelines/variables/common.yml@self -- name: imageBuilder.pathArgs - value: --path 'src/debian/*' - -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 }} - ${{ if eq(variables['System.TeamProject'], 'internal') }}: - customCopyBaseImagesInitSteps: - - template: /eng/pipelines/steps/set-base-image-override-options.yml@self - parameters: - variableName: customCopyBaseImagesArgs - dockerfileOs: debian - baseOverrideRegistry: $(overrideRegistry) # Comes from DotNet-Docker-Common variable group - customBuildInitSteps: - - template: /eng/pipelines/steps/set-base-image-override-options.yml@self - parameters: - variableName: imageBuilderBuildArgs - dockerfileOs: debian - baseOverrideRegistry: $(overrideRegistry) # Comes from DotNet-Docker-Common variable group diff --git a/eng/pipelines/dotnet-buildtools-prereqs-eng.yml b/eng/pipelines/dotnet-buildtools-prereqs-eng.yml index b9abf34fe..4864191c8 100644 --- a/eng/pipelines/dotnet-buildtools-prereqs-eng.yml +++ b/eng/pipelines/dotnet-buildtools-prereqs-eng.yml @@ -22,6 +22,10 @@ variables: - template: /eng/pipelines/variables/common.yml@self - name: imageBuilder.pathArgs value: --path '*' +# Since this pipeline is intended to test the infra, we don't want to trim the cached images from the matrix. +# This enables the entire pipeline to be exercised. +- name: trimCachedImagesForMatrix + value: false stages: - template: /eng/pipelines/stages/build-test-publish-repo.yml@self diff --git a/eng/pipelines/dotnet-buildtools-prereqs-fedora-pr.yml b/eng/pipelines/dotnet-buildtools-prereqs-fedora-pr.yml deleted file mode 100644 index b838d3a43..000000000 --- a/eng/pipelines/dotnet-buildtools-prereqs-fedora-pr.yml +++ /dev/null @@ -1,26 +0,0 @@ -trigger: none -pr: - branches: - include: - - main - paths: - include: - - src/fedora/* - -resources: - repositories: - - repository: PublicVersionsRepo - type: github - endpoint: public - name: dotnet/versions - -variables: -- template: variables/common.yml -- name: imageBuilder.pathArgs - value: --path 'src/fedora/*' - -stages: -- template: stages/build-test-publish-repo.yml - parameters: - internalProjectName: ${{ variables.internalProjectName }} - publicProjectName: ${{ variables.publicProjectName }} diff --git a/eng/pipelines/dotnet-buildtools-prereqs-fedora.yml b/eng/pipelines/dotnet-buildtools-prereqs-fedora.yml deleted file mode 100644 index b45e50aa6..000000000 --- a/eng/pipelines/dotnet-buildtools-prereqs-fedora.yml +++ /dev/null @@ -1,29 +0,0 @@ -trigger: - branches: - include: - - main - paths: - include: - - src/fedora/* -pr: none - -resources: - repositories: - - repository: InternalVersionsRepo - type: github - endpoint: dotnet - name: dotnet/versions - -variables: -- template: /eng/pipelines/variables/common.yml@self -- name: imageBuilder.pathArgs - value: --path 'src/fedora/*' - -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 }} diff --git a/eng/pipelines/dotnet-buildtools-prereqs-mariner-pr.yml b/eng/pipelines/dotnet-buildtools-prereqs-mariner-pr.yml deleted file mode 100644 index d193d7d16..000000000 --- a/eng/pipelines/dotnet-buildtools-prereqs-mariner-pr.yml +++ /dev/null @@ -1,32 +0,0 @@ -trigger: none -pr: - branches: - include: - - main - paths: - include: - - src/cbl-mariner/* - -resources: - repositories: - - repository: PublicVersionsRepo - type: github - endpoint: public - name: dotnet/versions - -variables: -- template: variables/common.yml -- name: imageBuilder.pathArgs - value: --path 'src/cbl-mariner/*' - -stages: -- template: stages/build-test-publish-repo.yml - parameters: - internalProjectName: ${{ variables.internalProjectName }} - publicProjectName: ${{ variables.publicProjectName }} - linuxAmdBuildJobTimeout: 360 - linuxAmd64Pool: - name: NetCore-Public-XL - demands: ImageOverride -equals build.Ubuntu.2204.amd64.open - customBuildInitSteps: - - template: /eng/pipelines/steps/install-cross-build-prereqs.yml diff --git a/eng/pipelines/dotnet-buildtools-prereqs-mariner.yml b/eng/pipelines/dotnet-buildtools-prereqs-mariner.yml deleted file mode 100644 index fd7688b7c..000000000 --- a/eng/pipelines/dotnet-buildtools-prereqs-mariner.yml +++ /dev/null @@ -1,36 +0,0 @@ -trigger: - branches: - include: - - main - paths: - include: - - src/cbl-mariner/* -pr: none - -resources: - repositories: - - repository: InternalVersionsRepo - type: github - endpoint: dotnet - name: dotnet/versions - -variables: -- template: /eng/pipelines/variables/common.yml@self -- name: imageBuilder.pathArgs - value: --path 'src/cbl-mariner/*' - -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 }} - linuxAmdBuildJobTimeout: 480 - linuxAmd64Pool: - name: NetCore1ESPool-Internal-XL - image: 1es-ubuntu-2204 - os: linux - customBuildInitSteps: - - template: /eng/pipelines/steps/install-cross-build-prereqs.yml@self diff --git a/eng/pipelines/dotnet-buildtools-prereqs-nanoserver-pr.yml b/eng/pipelines/dotnet-buildtools-prereqs-nanoserver-pr.yml deleted file mode 100644 index c423ccbbe..000000000 --- a/eng/pipelines/dotnet-buildtools-prereqs-nanoserver-pr.yml +++ /dev/null @@ -1,26 +0,0 @@ -trigger: none -pr: - branches: - include: - - main - paths: - include: - - src/nanoserver/* - -resources: - repositories: - - repository: PublicVersionsRepo - type: github - endpoint: public - name: dotnet/versions - -variables: -- template: variables/common.yml -- name: imageBuilder.pathArgs - value: --path 'src/nanoserver/*' - -stages: -- template: stages/build-test-publish-repo.yml - parameters: - internalProjectName: ${{ variables.internalProjectName }} - publicProjectName: ${{ variables.publicProjectName }} diff --git a/eng/pipelines/dotnet-buildtools-prereqs-nanoserver.yml b/eng/pipelines/dotnet-buildtools-prereqs-nanoserver.yml deleted file mode 100644 index ab195fad9..000000000 --- a/eng/pipelines/dotnet-buildtools-prereqs-nanoserver.yml +++ /dev/null @@ -1,29 +0,0 @@ -trigger: - branches: - include: - - main - paths: - include: - - src/nanoserver/* -pr: none - -resources: - repositories: - - repository: InternalVersionsRepo - type: github - endpoint: dotnet - name: dotnet/versions - -variables: -- template: /eng/pipelines/variables/common.yml@self -- name: imageBuilder.pathArgs - value: --path 'src/nanoserver/*' - -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 }} diff --git a/eng/pipelines/dotnet-buildtools-prereqs-opensuse-pr.yml b/eng/pipelines/dotnet-buildtools-prereqs-opensuse-pr.yml deleted file mode 100644 index 753af9cb9..000000000 --- a/eng/pipelines/dotnet-buildtools-prereqs-opensuse-pr.yml +++ /dev/null @@ -1,26 +0,0 @@ -trigger: none -pr: - branches: - include: - - main - paths: - include: - - src/opensuse/* - -resources: - repositories: - - repository: PublicVersionsRepo - type: github - endpoint: public - name: dotnet/versions - -variables: -- template: variables/common.yml -- name: imageBuilder.pathArgs - value: --path 'src/opensuse/*' - -stages: -- template: stages/build-test-publish-repo.yml - parameters: - internalProjectName: ${{ variables.internalProjectName }} - publicProjectName: ${{ variables.publicProjectName }} diff --git a/eng/pipelines/dotnet-buildtools-prereqs-opensuse.yml b/eng/pipelines/dotnet-buildtools-prereqs-opensuse.yml deleted file mode 100644 index 437019976..000000000 --- a/eng/pipelines/dotnet-buildtools-prereqs-opensuse.yml +++ /dev/null @@ -1,29 +0,0 @@ -trigger: - branches: - include: - - main - paths: - include: - - src/opensuse/* -pr: none - -resources: - repositories: - - repository: InternalVersionsRepo - type: github - endpoint: dotnet - name: dotnet/versions - -variables: -- template: /eng/pipelines/variables/common.yml@self -- name: imageBuilder.pathArgs - value: --path 'src/opensuse/*' - -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 }} diff --git a/eng/pipelines/dotnet-buildtools-prereqs-raspbian-pr.yml b/eng/pipelines/dotnet-buildtools-prereqs-raspbian-pr.yml deleted file mode 100644 index dfaf258fa..000000000 --- a/eng/pipelines/dotnet-buildtools-prereqs-raspbian-pr.yml +++ /dev/null @@ -1,26 +0,0 @@ -trigger: none -pr: - branches: - include: - - main - paths: - include: - - src/raspbian/* - -resources: - repositories: - - repository: PublicVersionsRepo - type: github - endpoint: public - name: dotnet/versions - -variables: -- template: variables/common.yml -- name: imageBuilder.pathArgs - value: --path 'src/raspbian/*' - -stages: -- template: stages/build-test-publish-repo.yml - parameters: - internalProjectName: ${{ variables.internalProjectName }} - publicProjectName: ${{ variables.publicProjectName }} diff --git a/eng/pipelines/dotnet-buildtools-prereqs-raspbian.yml b/eng/pipelines/dotnet-buildtools-prereqs-raspbian.yml deleted file mode 100644 index 3f47fb977..000000000 --- a/eng/pipelines/dotnet-buildtools-prereqs-raspbian.yml +++ /dev/null @@ -1,30 +0,0 @@ -trigger: - branches: - include: - - main - paths: - include: - - src/raspbian/* - -pr: none - -resources: - repositories: - - repository: InternalVersionsRepo - type: github - endpoint: dotnet - name: dotnet/versions - -variables: -- template: /eng/pipelines/variables/common.yml@self -- name: imageBuilder.pathArgs - value: --path 'src/raspbian/*' - -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 }} diff --git a/eng/pipelines/dotnet-buildtools-prereqs-ubuntu-pr.yml b/eng/pipelines/dotnet-buildtools-prereqs-ubuntu-pr.yml deleted file mode 100644 index b2071adfe..000000000 --- a/eng/pipelines/dotnet-buildtools-prereqs-ubuntu-pr.yml +++ /dev/null @@ -1,29 +0,0 @@ -trigger: none -pr: - branches: - include: - - main - paths: - include: - - src/ubuntu/* - -resources: - repositories: - - repository: PublicVersionsRepo - type: github - endpoint: public - name: dotnet/versions - -variables: -- template: variables/common.yml -- name: imageBuilder.pathArgs - value: --path 'src/ubuntu/*' - -stages: -- template: stages/build-test-publish-repo.yml - parameters: - internalProjectName: ${{ variables.internalProjectName }} - publicProjectName: ${{ variables.publicProjectName }} - linuxAmdBuildJobTimeout: 300 - customBuildInitSteps: - - template: /eng/pipelines/steps/install-cross-build-prereqs.yml diff --git a/eng/pipelines/dotnet-buildtools-prereqs-ubuntu.yml b/eng/pipelines/dotnet-buildtools-prereqs-ubuntu.yml deleted file mode 100644 index 946975701..000000000 --- a/eng/pipelines/dotnet-buildtools-prereqs-ubuntu.yml +++ /dev/null @@ -1,32 +0,0 @@ -trigger: - branches: - include: - - main - paths: - include: - - src/ubuntu/* -pr: none - -resources: - repositories: - - repository: InternalVersionsRepo - type: github - endpoint: dotnet - name: dotnet/versions - -variables: -- template: /eng/pipelines/variables/common.yml@self -- name: imageBuilder.pathArgs - value: --path 'src/ubuntu/*' - -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 }} - linuxAmdBuildJobTimeout: 360 - customBuildInitSteps: - - template: /eng/pipelines/steps/install-cross-build-prereqs.yml@self diff --git a/eng/pipelines/dotnet-buildtools-prereqs-windowsservercore-pr.yml b/eng/pipelines/dotnet-buildtools-prereqs-windowsservercore-pr.yml deleted file mode 100644 index 129193d05..000000000 --- a/eng/pipelines/dotnet-buildtools-prereqs-windowsservercore-pr.yml +++ /dev/null @@ -1,26 +0,0 @@ -trigger: none -pr: - branches: - include: - - main - paths: - include: - - src/windowsservercore/* - -resources: - repositories: - - repository: PublicVersionsRepo - type: github - endpoint: public - name: dotnet/versions - -variables: -- template: variables/common.yml -- name: imageBuilder.pathArgs - value: --path 'src/windowsservercore/*' - -stages: -- template: stages/build-test-publish-repo.yml - parameters: - internalProjectName: ${{ variables.internalProjectName }} - publicProjectName: ${{ variables.publicProjectName }} diff --git a/eng/pipelines/dotnet-buildtools-prereqs-windowsservercore.yml b/eng/pipelines/dotnet-buildtools-prereqs-windowsservercore.yml deleted file mode 100644 index 19c1ac1c0..000000000 --- a/eng/pipelines/dotnet-buildtools-prereqs-windowsservercore.yml +++ /dev/null @@ -1,29 +0,0 @@ -trigger: - branches: - include: - - main - paths: - include: - - src/windowsservercore/* -pr: none - -resources: - repositories: - - repository: InternalVersionsRepo - type: github - endpoint: dotnet - name: dotnet/versions - -variables: -- template: /eng/pipelines/variables/common.yml@self -- name: imageBuilder.pathArgs - value: --path 'src/windowsservercore/*' - -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 }} diff --git a/eng/pipelines/variables/common.yml b/eng/pipelines/variables/common.yml index ae825a98b..b9a557e6a 100644 --- a/eng/pipelines/variables/common.yml +++ b/eng/pipelines/variables/common.yml @@ -21,6 +21,8 @@ variables: value: false - name: testScriptPath value: "" +- name: trimCachedImagesForMatrix + value: true - ${{ if eq(variables['System.TeamProject'], 'internal') }}: - name: build.imageBuilderDockerRunExtraOptions value: -e DOCKER_REPO=$(acr.server)/$(stagingRepoPrefix)dotnet-buildtools/prereqs