-
Notifications
You must be signed in to change notification settings - Fork 117
Expand file tree
/
Copy pathdotnet-buildtools-prereqs-official.yml
More file actions
76 lines (69 loc) · 2.25 KB
/
Copy pathdotnet-buildtools-prereqs-official.yml
File metadata and controls
76 lines (69 loc) · 2.25 KB
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
63
64
65
66
67
68
69
70
71
72
73
74
75
76
trigger:
branches:
include:
- main
paths:
include:
- src/*
pr: none
parameters:
- name: disableMatrixTrimming
displayName: Disable matrix trimming
type: boolean
default: false
- 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 or publish images that were built in a different pipeline run. When
building new images, leave this value alone.
type: string
default: $(Build.BuildId)
- name: noCache
displayName: >
Run build with no cache. When this is unchecked, the build will use the
info in the dotnet/versions repo to build only the images which have had
Dockerfile changes or base images updates. When this is checked, all images
will be built regardless of caching status.
type: boolean
default: false
schedules:
- cron: "0 5 1,15 * *"
displayName: Monthly rebuild of all images
branches:
include:
- main
always: true
variables:
- template: /eng/pipelines/variables/common.yml@self
parameters:
disableMatrixTrimming: ${{ parameters.disableMatrixTrimming }}
sourceBuildPipelineRunId: ${{ parameters.sourceBuildPipelineRunId }}
- template: /eng/docker-tools/templates/variables/dotnet/secrets.yml@self
# Temporarily disable EOL annotation generation due to
# https://github.com/dotnet/docker-tools/issues/2066
# as well as https://github.com/dotnet/docker-tools/issues/2056
- name: publishEolAnnotations
value: false
- name: Codeql.ExcludePathPatterns
value: tests
readonly: true
resources:
repositories:
- repository: VersionsRepo
type: github
endpoint: dotnet
name: dotnet/versions
ref: ${{ variables['gitHubVersionsRepoInfo.branch'] }}
extends:
template: /eng/docker-tools/templates/1es.yml@self
parameters:
networkIsolationPolicy: Permissive
reposToExcludeFromScanning:
- VersionsRepo
stages:
- template: /eng/pipelines/stages/dotnet-buildtools-prereqs.yml@self
parameters:
sourceBuildPipelineRunId: ${{ parameters.sourceBuildPipelineRunId }}
publishConfigTemplatePath: /eng/docker-tools/templates/stages/dotnet/publish-config-prod.yml@self
noCache: ${{ parameters.noCache }}