-
Notifications
You must be signed in to change notification settings - Fork 107
/
dotnet-buildtools-prereqs-all.yml
62 lines (58 loc) · 2.05 KB
/
dotnet-buildtools-prereqs-all.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
trigger:
branches:
include:
- main
paths:
include:
- src/*
pr: none
schedules:
- cron: "0 5 15 * *"
displayName: Monthly rebuild of all images
branches:
include:
- main
always: true
resources:
repositories:
- repository: InternalVersionsRepo
type: github
endpoint: dotnet
name: dotnet/versions
variables:
- template: /eng/pipelines/variables/common.yml@self
- name: publishEolAnnotations
value: true
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
linuxArmBuildJobTimeout: 300
linuxAmd64Pool:
name: NetCore1ESPool-Internal-XL
image: 1es-ubuntu-2204
os: linux
${{ if eq(variables['System.TeamProject'], 'internal') }}:
customCopyBaseImagesInitSteps:
- template: /eng/pipelines/steps/set-base-image-override-options.yml@self
parameters:
variableName: customCopyBaseImagesArgs
dockerfileOs: (centos|debian)
baseOverrideRegistry: $(overrideRegistry) # Comes from DotNet-Docker-Common variable group
customBuildInitSteps:
- template: /eng/pipelines/steps/install-cross-build-prereqs.yml@self
- ${{ if eq(variables['System.TeamProject'], 'internal') }}:
- template: /eng/pipelines/steps/set-base-image-override-options.yml@self
parameters:
variableName: imageBuilderBuildArgs
dockerfileOs: (centos|debian)
baseOverrideRegistry: $(overrideRegistry) # Comes from DotNet-Docker-Common variable group
# Force all images to be rebuilt when triggered by the schedule
# See https://github.com/dotnet/dotnet-buildtools-prereqs-docker/issues/1224
${{ if eq(variables['Build.Reason'], 'Schedule') }}:
noCache: true