-
Notifications
You must be signed in to change notification settings - Fork 107
/
dotnet-buildtools-prereqs-ubuntu.yml
43 lines (39 loc) · 1.37 KB
/
dotnet-buildtools-prereqs-ubuntu.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
trigger:
branches:
include:
- main
paths:
include:
- src/ubuntu/*
pr: none
resources:
repositories:
- repository: InternalVersionsRepo
type: github
endpoint: dotnet
name: dotnet/versions
variables:
- template: variables/common.yml
- name: imageBuilder.pathArgs
value: --path 'src/ubuntu/*'
stages:
- template: ../common/templates/stages/dotnet/build-test-publish-repo.yml
parameters:
internalProjectName: ${{ variables.internalProjectName }}
publicProjectName: ${{ variables.publicProjectName }}
linuxAmdBuildJobTimeout: 360
${{ if eq(variables['System.TeamProject'], 'internal') }}:
customCopyBaseImagesInitSteps:
- template: ../../../pipelines/steps/set-base-image-override-options.yml
parameters:
variableName: customCopyBaseImagesArgs
dockerfileOs: ubuntu
baseOverrideRegistry: $(overrideRegistry) # Comes from DotNet-Docker-Common variable group
customBuildInitSteps:
- template: /eng/pipelines/steps/install-cross-build-prereqs.yml
- ${{ if eq(variables['System.TeamProject'], 'internal') }}:
- template: ../../../pipelines/steps/set-base-image-override-options.yml
parameters:
variableName: imageBuilderBuildArgs
dockerfileOs: ubuntu
baseOverrideRegistry: $(overrideRegistry) # Comes from DotNet-Docker-Common variable group