File tree Expand file tree Collapse file tree 3 files changed +28
-30
lines changed Expand file tree Collapse file tree 3 files changed +28
-30
lines changed Original file line number Diff line number Diff line change 5
5
# Online: The leg produces a tarball then builds it while connected to the internet.
6
6
# Offline: The leg produces a tarball then builds it offline. Network disconnected using Docker.
7
7
8
- phases :
9
- - template : ../phases /ci-linux.yml
8
+ jobs :
9
+ - template : ../jobs /ci-linux.yml
10
10
parameters :
11
- phase : centos71
11
+ job : centos71
12
12
imageName : microsoft/dotnet-buildtools-prereqs:centos-7-b46d863-20180719033416
13
13
matrix :
14
14
Production : {}
@@ -17,9 +17,9 @@ phases:
17
17
Offline : { type: Offline }
18
18
Offline Portable : { type: Offline Portable }
19
19
20
- - template : ../phases /ci-linux.yml
20
+ - template : ../jobs /ci-linux.yml
21
21
parameters :
22
- phase : ubuntu1604
22
+ job : ubuntu1604
23
23
imageName : microsoft/dotnet-buildtools-prereqs:ubuntu-16.04-c103199-20180628134544
24
24
25
- - template : ../phases /ci-osx.yml
25
+ - template : ../jobs /ci-osx.yml
Original file line number Diff line number Diff line change 1
1
parameters :
2
- imageName : null
2
+ job : null
3
3
matrix :
4
4
Production : {}
5
- phase : null
6
- queueDemands : docker
7
- queueName : dnceng-linux-external-temp
5
+ pool :
6
+ name : Hosted Ubuntu 1604
7
+ imageName : null
8
8
9
- phases :
10
- - phase : ${{ parameters.phase }}
9
+ jobs :
10
+ - job : ${{ parameters.job }}
11
+ strategy :
12
+ matrix : ${{ parameters.matrix }}
13
+ pool : ${{ parameters.pool }}
14
+ timeoutInMinutes : 270
11
15
variables :
12
16
# Prefix to distinguish artifacts from different legs.
13
- artifactName : ${{ format('$(type) {0}', parameters.phase ) }}
17
+ artifactName : ${{ format('$(type) {0}', parameters.job ) }}
14
18
# Use ":z" to set selinux flag for sharing in build-owned root dir. https://docs.docker.com/storage/bind-mounts/#configure-the-selinux-label
15
19
docker.agentSrc.map : -v $(Build.SourcesDirectory):/agentSrc:z
16
20
docker.agentSrc.work : -w /agentSrc
@@ -29,12 +33,6 @@ phases:
29
33
tarballName : tarball_$(Build.BuildId)
30
34
# Default type, can be overridden by matrix legs.
31
35
type : Production
32
- queue :
33
- name : ${{ parameters.queueName }}
34
- demands : ${{ parameters.queueDemands }}
35
- timeoutInMinutes : 270
36
- parallel : 8
37
- matrix : ${{ parameters.matrix }}
38
36
39
37
steps :
40
38
- template : ../steps/docker-cleanup-linux.yml
Original file line number Diff line number Diff line change 1
1
parameters :
2
+ job : osx
2
3
matrix :
3
4
Production : {}
4
- phase : osx
5
- queueDemands : Agent.OS -equals Darwin
6
- queueName : DotNetCore-Mac
5
+ pool :
6
+ name : DotNetCore-Mac
7
+ demands : Agent.OS -equals Darwin
7
8
8
- phases :
9
- - phase : ${{ parameters.phase }}
9
+ jobs :
10
+ - job : ${{ parameters.job }}
11
+ strategy :
12
+ matrix : ${{ parameters.matrix }}
13
+ pool : ${{ parameters.pool }}
14
+ timeoutInMinutes : 240
10
15
variables :
11
16
# Prefix to distinguish artifacts from different legs.
12
- artifactName : ${{ format('$(type) {0}', parameters.phase ) }}
17
+ artifactName : ${{ format('$(type) {0}', parameters.job ) }}
13
18
logsDirectory : $(Build.ArtifactStagingDirectory)/logs
14
19
SOURCE_BUILD_SKIP_SUBMODULE_CHECK : true
15
20
# Default type, can be overridden by matrix legs.
16
21
type : Production
17
- queue :
18
- name : ${{ parameters.queueName }}
19
- demands : ${{ parameters.queueDemands }}
20
- timeoutInMinutes : 240
21
- matrix : ${{ parameters.matrix }}
22
22
23
23
steps :
24
24
- checkout : self
You can’t perform that action at this time.
0 commit comments