"enabled": true,
"continueOnError": false,
"alwaysRun": false,
- "displayName": "Package - Ubuntu 14.04 ",
+ "displayName": "Package Runtime Dep - Ubuntu 14.04 ",
"timeoutInMinutes": 0,
"refName": "Task13",
"task": {
"enabled": true,
"continueOnError": false,
"alwaysRun": false,
- "displayName": "Publish - Ubuntu 14.04 ",
+ "displayName": "Publish Runtime Dep - Ubuntu 14.04 ",
"timeoutInMinutes": 0,
"refName": "Task14",
"task": {
"enabled": true,
"continueOnError": false,
"alwaysRun": false,
- "displayName": "Initialize docker - Ubuntu16.04",
- "timeoutInMinutes": 0,
- "refName": "Task15",
- "task": {
- "id": "d9bafed4-0b18-4f58-968d-86655b4d2ce9",
- "versionSpec": "1.*",
- "definitionType": "task"
- },
- "inputs": {
- "filename": "$(PB_DockerHost_ToolsDirectory)/scripts/docker/init-docker.sh",
- "arguments": "$(DockerImageName_Ubuntu1604)",
- "workingFolder": "$(PB_DockerHost_Sandbox)",
- "failOnStandardError": "false"
- }
- },
- {
- "environment": {},
- "enabled": true,
- "continueOnError": false,
- "alwaysRun": false,
- "displayName": "Clean - Ubuntu16.04 ",
- "timeoutInMinutes": 0,
- "refName": "Task16",
- "task": {
- "id": "d9bafed4-0b18-4f58-968d-86655b4d2ce9",
- "versionSpec": "1.*",
- "definitionType": "task"
- },
- "inputs": {
- "filename": "docker",
- "arguments": "run --rm $(DockerCommonRunArgs_Ubuntu1604) /bin/bash $(DockerCommonCleanCommands)",
- "workingFolder": "",
- "failOnStandardError": "false"
- }
- },
- {
- "environment": {},
- "enabled": true,
- "continueOnError": false,
- "alwaysRun": false,
- "displayName": "Build traversal build dependencies -Ubuntu 16.04 ",
- "timeoutInMinutes": 0,
- "refName": "Task17",
- "task": {
- "id": "d9bafed4-0b18-4f58-968d-86655b4d2ce9",
- "versionSpec": "1.*",
- "definitionType": "task"
- },
- "inputs": {
- "filename": "docker",
- "arguments": "run --rm $(DockerCommonRunArgs_Ubuntu1604) $(PB_GitDirectory)/Tools/msbuild.sh $(PB_GitDirectory)/build.proj /t:BuildTraversalBuildDependencies $(DistroSpecificMSBuildArguments)",
- "workingFolder": "",
- "failOnStandardError": "false"
- }
- },
- {
- "environment": {},
- "enabled": true,
- "continueOnError": false,
- "alwaysRun": false,
- "displayName": "Package - Ubuntu 16.04",
+ "displayName": "Package Runtime Dep - Ubuntu 16.04",
"timeoutInMinutes": 0,
"refName": "Task18",
"task": {
},
"inputs": {
"filename": "docker",
- "arguments": "run --rm $(DockerCommonRunArgs_Ubuntu1604) $(PB_GitDirectory)/Tools/msbuild.sh $(PB_GitDirectory)/src/pkg/packaging/dir.proj $(AdditionalMSBuildPackagingArguments) $(DistroSpecificMSBuildArguments)",
+ "arguments": "run --rm $(DockerCommonRunArgs_Ubuntu1404) $(PB_GitDirectory)/Tools/msbuild.sh $(PB_GitDirectory)/src/pkg/packaging/dir.proj $(AdditionalMSBuildPackagingArguments) $(DistroSpecificMSBuildArguments) /p:OutputRid=ubuntu.16.04-$(PB_TargetArchitecture) /p:BuildRuntimeDebs=false",
"workingFolder": "",
"failOnStandardError": "false"
}
"enabled": true,
"continueOnError": false,
"alwaysRun": false,
- "displayName": "Publish - Ubuntu 16.04 ",
+ "displayName": "Publish Runtime Dep - Ubuntu 16.04 ",
"timeoutInMinutes": 0,
"refName": "Task19",
"task": {
},
"inputs": {
"filename": "docker",
- "arguments": "run --rm $(DockerCommonRunArgs_Ubuntu1604) $(PB_GitDirectory)/Tools/msbuild.sh $(PB_GitDirectory)/publish/publish.proj /p:PublishType=$(PB_PublishType) $(DistroSpecificMSBuildArguments) $(DistroSpecificMSBuildPublishArgs)",
+ "arguments": "run --rm $(DockerCommonRunArgs_Ubuntu1404) $(PB_GitDirectory)/Tools/msbuild.sh $(PB_GitDirectory)/publish/publish.proj /p:PublishType=$(PB_PublishType) $(DistroSpecificMSBuildArguments) $(DistroSpecificMSBuildPublishArgs) /p:OutputRid=ubuntu.16.04-$(PB_TargetArchitecture)",
"workingFolder": "",
"failOnStandardError": "false"
}
"enabled": true,
"continueOnError": false,
"alwaysRun": false,
- "displayName": "Initialize docker - Ubuntu17.04",
- "timeoutInMinutes": 0,
- "refName": "ClonedTask151",
- "task": {
- "id": "d9bafed4-0b18-4f58-968d-86655b4d2ce9",
- "versionSpec": "1.*",
- "definitionType": "task"
- },
- "inputs": {
- "filename": "$(PB_DockerHost_ToolsDirectory)/scripts/docker/init-docker.sh",
- "arguments": "$(DockerImageName_Ubuntu1704)",
- "workingFolder": "$(PB_DockerHost_Sandbox)",
- "failOnStandardError": "false"
- }
- },
- {
- "environment": {},
- "enabled": true,
- "continueOnError": false,
- "alwaysRun": false,
- "displayName": "Clean - Ubuntu17.04",
- "timeoutInMinutes": 0,
- "refName": "ClonedTask162",
- "task": {
- "id": "d9bafed4-0b18-4f58-968d-86655b4d2ce9",
- "versionSpec": "1.*",
- "definitionType": "task"
- },
- "inputs": {
- "filename": "docker",
- "arguments": "run --rm $(DockerCommonRunArgs_Ubuntu1704) /bin/bash $(DockerCommonCleanCommands)",
- "workingFolder": "",
- "failOnStandardError": "false"
- }
- },
- {
- "environment": {},
- "enabled": true,
- "continueOnError": false,
- "alwaysRun": false,
- "displayName": "Build traversal build dependencies -Ubuntu 17.04",
- "timeoutInMinutes": 0,
- "refName": "ClonedTask173",
- "task": {
- "id": "d9bafed4-0b18-4f58-968d-86655b4d2ce9",
- "versionSpec": "1.*",
- "definitionType": "task"
- },
- "inputs": {
- "filename": "docker",
- "arguments": "run --rm $(DockerCommonRunArgs_Ubuntu1704) $(PB_GitDirectory)/Tools/msbuild.sh $(PB_GitDirectory)/build.proj /t:BuildTraversalBuildDependencies $(DistroSpecificMSBuildArguments)",
- "workingFolder": "",
- "failOnStandardError": "false"
- }
- },
- {
- "environment": {},
- "enabled": true,
- "continueOnError": false,
- "alwaysRun": false,
- "displayName": "Package - Ubuntu 17.04",
+ "displayName": "Package Runtime Dep - Ubuntu 17.04",
"timeoutInMinutes": 0,
"refName": "ClonedTask184",
"task": {
},
"inputs": {
"filename": "docker",
- "arguments": "run --rm $(DockerCommonRunArgs_Ubuntu1704) $(PB_GitDirectory)/Tools/msbuild.sh $(PB_GitDirectory)/src/pkg/packaging/dir.proj $(AdditionalMSBuildPackagingArguments) $(DistroSpecificMSBuildArguments)",
+ "arguments": "run --rm $(DockerCommonRunArgs_Ubuntu1404) $(PB_GitDirectory)/Tools/msbuild.sh $(PB_GitDirectory)/src/pkg/packaging/dir.proj $(AdditionalMSBuildPackagingArguments) $(DistroSpecificMSBuildArguments) /p:OutputRid=ubuntu.17.04-$(PB_TargetArchitecture) /p:BuildRuntimeDebs=false",
"workingFolder": "",
"failOnStandardError": "false"
}
"enabled": true,
"continueOnError": false,
"alwaysRun": false,
- "displayName": "Publish - Ubuntu 17.04",
+ "displayName": "Publish Runtime Dep - Ubuntu 17.04",
"timeoutInMinutes": 0,
"refName": "ClonedTask195",
"task": {
},
"inputs": {
"filename": "docker",
- "arguments": "run --rm $(DockerCommonRunArgs_Ubuntu1704) $(PB_GitDirectory)/Tools/msbuild.sh $(PB_GitDirectory)/publish/publish.proj /p:PublishType=$(PB_PublishType) $(DistroSpecificMSBuildArguments) $(DistroSpecificMSBuildPublishArgs)",
+ "arguments": "run --rm $(DockerCommonRunArgs_Ubuntu1404) $(PB_GitDirectory)/Tools/msbuild.sh $(PB_GitDirectory)/publish/publish.proj /p:PublishType=$(PB_PublishType) $(DistroSpecificMSBuildArguments) $(DistroSpecificMSBuildPublishArgs) /p:OutputRid=ubuntu.17.04-$(PB_TargetArchitecture)",
"workingFolder": "",
"failOnStandardError": "false"
}
"enabled": true,
"continueOnError": false,
"alwaysRun": false,
- "displayName": "Initialize docker - Ubuntu17.10",
- "timeoutInMinutes": 0,
- "refName": "ClonedClonedTask1511",
- "task": {
- "id": "d9bafed4-0b18-4f58-968d-86655b4d2ce9",
- "versionSpec": "1.*",
- "definitionType": "task"
- },
- "inputs": {
- "filename": "$(PB_DockerHost_ToolsDirectory)/scripts/docker/init-docker.sh",
- "arguments": "$(DockerImageName_Ubuntu1710)",
- "workingFolder": "$(PB_DockerHost_Sandbox)",
- "failOnStandardError": "false"
- }
- },
- {
- "environment": {},
- "enabled": true,
- "continueOnError": false,
- "alwaysRun": false,
- "displayName": "Clean - Ubuntu17.10",
- "timeoutInMinutes": 0,
- "refName": "ClonedClonedTask1622",
- "task": {
- "id": "d9bafed4-0b18-4f58-968d-86655b4d2ce9",
- "versionSpec": "1.*",
- "definitionType": "task"
- },
- "inputs": {
- "filename": "docker",
- "arguments": "run --rm $(DockerCommonRunArgs_Ubuntu1710) /bin/bash $(DockerCommonCleanCommands)",
- "workingFolder": "",
- "failOnStandardError": "false"
- }
- },
- {
- "environment": {},
- "enabled": true,
- "continueOnError": false,
- "alwaysRun": false,
- "displayName": "Build traversal build dependencies -Ubuntu 17.10",
- "timeoutInMinutes": 0,
- "refName": "ClonedClonedTask1733",
- "task": {
- "id": "d9bafed4-0b18-4f58-968d-86655b4d2ce9",
- "versionSpec": "1.*",
- "definitionType": "task"
- },
- "inputs": {
- "filename": "docker",
- "arguments": "run --rm $(DockerCommonRunArgs_Ubuntu1710) $(PB_GitDirectory)/Tools/msbuild.sh $(PB_GitDirectory)/build.proj /t:BuildTraversalBuildDependencies $(DistroSpecificMSBuildArguments)",
- "workingFolder": "",
- "failOnStandardError": "false"
- }
- },
- {
- "environment": {},
- "enabled": true,
- "continueOnError": false,
- "alwaysRun": false,
- "displayName": "Package - Ubuntu 17.10",
+ "displayName": "Package Runtime Dep - Ubuntu 17.10",
"timeoutInMinutes": 0,
"refName": "ClonedClonedTask1844",
"task": {
},
"inputs": {
"filename": "docker",
- "arguments": "run --rm $(DockerCommonRunArgs_Ubuntu1710) $(PB_GitDirectory)/Tools/msbuild.sh $(PB_GitDirectory)/src/pkg/packaging/dir.proj $(AdditionalMSBuildPackagingArguments) $(DistroSpecificMSBuildArguments)",
+ "arguments": "run --rm $(DockerCommonRunArgs_Ubuntu1404) $(PB_GitDirectory)/Tools/msbuild.sh $(PB_GitDirectory)/src/pkg/packaging/dir.proj $(AdditionalMSBuildPackagingArguments) $(DistroSpecificMSBuildArguments) /p:OutputRid=ubuntu.17.10-$(PB_TargetArchitecture) /p:BuildRuntimeDebs=false",
"workingFolder": "",
"failOnStandardError": "false"
}
"enabled": true,
"continueOnError": false,
"alwaysRun": false,
- "displayName": "Publish - Ubuntu 17.10",
+ "displayName": "Publish Runtime Dep - Ubuntu 17.10",
"timeoutInMinutes": 0,
"refName": "ClonedClonedTask1955",
"task": {
},
"inputs": {
"filename": "docker",
- "arguments": "run --rm $(DockerCommonRunArgs_Ubuntu1710) $(PB_GitDirectory)/Tools/msbuild.sh $(PB_GitDirectory)/publish/publish.proj /p:PublishType=$(PB_PublishType) $(DistroSpecificMSBuildArguments) $(DistroSpecificMSBuildPublishArgs)",
- "workingFolder": "",
- "failOnStandardError": "false"
- }
- },
- {
- "environment": {},
- "enabled": true,
- "continueOnError": false,
- "alwaysRun": false,
- "displayName": "Initialize docker - Debian 8",
- "timeoutInMinutes": 0,
- "refName": "Task25",
- "task": {
- "id": "d9bafed4-0b18-4f58-968d-86655b4d2ce9",
- "versionSpec": "1.*",
- "definitionType": "task"
- },
- "inputs": {
- "filename": "$(PB_DockerHost_ToolsDirectory)/scripts/docker/init-docker.sh",
- "arguments": "$(DockerImageName_Debian8)",
- "workingFolder": "$(PB_DockerHost_Sandbox)",
- "failOnStandardError": "false"
- }
- },
- {
- "environment": {},
- "enabled": true,
- "continueOnError": false,
- "alwaysRun": false,
- "displayName": "Clean - Debian 8 container",
- "timeoutInMinutes": 0,
- "refName": "Task26",
- "task": {
- "id": "d9bafed4-0b18-4f58-968d-86655b4d2ce9",
- "versionSpec": "1.*",
- "definitionType": "task"
- },
- "inputs": {
- "filename": "docker",
- "arguments": "run --rm $(DockerCommonRunArgs_Debian8) /bin/bash $(DockerCommonCleanCommands)",
+ "arguments": "run --rm $(DockerCommonRunArgs_Ubuntu1404) $(PB_GitDirectory)/Tools/msbuild.sh $(PB_GitDirectory)/publish/publish.proj /p:PublishType=$(PB_PublishType) $(DistroSpecificMSBuildArguments) $(DistroSpecificMSBuildPublishArgs) /p:OutputRid=ubuntu.17.10-$(PB_TargetArchitecture)",
"workingFolder": "",
"failOnStandardError": "false"
}
"enabled": true,
"continueOnError": false,
"alwaysRun": false,
- "displayName": "Build traversal build dependencies - Debian 8",
- "timeoutInMinutes": 0,
- "refName": "Task27",
- "task": {
- "id": "d9bafed4-0b18-4f58-968d-86655b4d2ce9",
- "versionSpec": "1.*",
- "definitionType": "task"
- },
- "inputs": {
- "filename": "docker",
- "arguments": "run --rm $(DockerCommonRunArgs_Debian8) $(PB_GitDirectory)/Tools/msbuild.sh $(PB_GitDirectory)/build.proj /t:BuildTraversalBuildDependencies $(DistroSpecificMSBuildArguments)",
- "workingFolder": "",
- "failOnStandardError": "false"
- }
- },
- {
- "environment": {},
- "enabled": true,
- "continueOnError": false,
- "alwaysRun": false,
- "displayName": "Package - Debian 8",
+ "displayName": "Package Runtime Dep - Debian 8",
"timeoutInMinutes": 0,
"refName": "Task28",
"task": {
},
"inputs": {
"filename": "docker",
- "arguments": "run --rm $(DockerCommonRunArgs_Debian8) $(PB_GitDirectory)/Tools/msbuild.sh $(PB_GitDirectory)/src/pkg/packaging/dir.proj $(AdditionalMSBuildPackagingArguments) $(DistroSpecificMSBuildArguments)",
+ "arguments": "run --rm $(DockerCommonRunArgs_Ubuntu1404) $(PB_GitDirectory)/Tools/msbuild.sh $(PB_GitDirectory)/src/pkg/packaging/dir.proj $(AdditionalMSBuildPackagingArguments) $(DistroSpecificMSBuildArguments) /p:OutputRid=debian.8-$(PB_TargetArchitecture) /p:BuildRuntimeDebs=false",
"workingFolder": "",
"failOnStandardError": "false"
}
"enabled": true,
"continueOnError": false,
"alwaysRun": false,
- "displayName": "Publish - Debian 8",
+ "displayName": "Publish Runtime Dep - Debian 8",
"timeoutInMinutes": 0,
"refName": "Task29",
"task": {
},
"inputs": {
"filename": "docker",
- "arguments": "run --rm $(DockerCommonRunArgs_Debian8) $(PB_GitDirectory)/Tools/msbuild.sh $(PB_GitDirectory)/publish/publish.proj /p:PublishType=$(PB_PublishType) $(DistroSpecificMSBuildArguments) $(DistroSpecificMSBuildPublishArgs)",
- "workingFolder": "",
- "failOnStandardError": "false"
- }
- },
- {
- "environment": {},
- "enabled": true,
- "continueOnError": false,
- "alwaysRun": false,
- "displayName": "Initialize docker - Debian 9",
- "timeoutInMinutes": 0,
- "refName": "Task30",
- "task": {
- "id": "d9bafed4-0b18-4f58-968d-86655b4d2ce9",
- "versionSpec": "1.*",
- "definitionType": "task"
- },
- "inputs": {
- "filename": "$(PB_DockerHost_ToolsDirectory)/scripts/docker/init-docker.sh",
- "arguments": "$(DockerImageName_Debian9)",
- "workingFolder": "$(PB_DockerHost_Sandbox)",
- "failOnStandardError": "false"
- }
- },
- {
- "environment": {},
- "enabled": true,
- "continueOnError": false,
- "alwaysRun": false,
- "displayName": "Clean - Debian 9 container",
- "timeoutInMinutes": 0,
- "refName": "Task31",
- "task": {
- "id": "d9bafed4-0b18-4f58-968d-86655b4d2ce9",
- "versionSpec": "1.*",
- "definitionType": "task"
- },
- "inputs": {
- "filename": "docker",
- "arguments": "run --rm $(DockerCommonRunArgs_Debian9) /bin/bash $(DockerCommonCleanCommands)",
- "workingFolder": "",
- "failOnStandardError": "false"
- }
- },
- {
- "environment": {},
- "enabled": true,
- "continueOnError": false,
- "alwaysRun": false,
- "displayName": "Build traversal build dependencies - Debian 9",
- "timeoutInMinutes": 0,
- "refName": "Task32",
- "task": {
- "id": "d9bafed4-0b18-4f58-968d-86655b4d2ce9",
- "versionSpec": "1.*",
- "definitionType": "task"
- },
- "inputs": {
- "filename": "docker",
- "arguments": "run --rm $(DockerCommonRunArgs_Debian9) $(PB_GitDirectory)/Tools/msbuild.sh $(PB_GitDirectory)/build.proj /t:BuildTraversalBuildDependencies /p:OutputRid=debian.9-$(PB_TargetArchitecture) $(DistroSpecificMSBuildArguments)",
+ "arguments": "run --rm $(DockerCommonRunArgs_Ubuntu1404) $(PB_GitDirectory)/Tools/msbuild.sh $(PB_GitDirectory)/publish/publish.proj /p:PublishType=$(PB_PublishType) $(DistroSpecificMSBuildArguments) $(DistroSpecificMSBuildPublishArgs) /p:OutputRid=debian.8-$(PB_TargetArchitecture)",
"workingFolder": "",
"failOnStandardError": "false"
}
"enabled": true,
"continueOnError": false,
"alwaysRun": false,
- "displayName": "Package - Debian 9",
+ "displayName": "Package Runtime Dep - Debian 9",
"timeoutInMinutes": 0,
"refName": "Task33",
"task": {
},
"inputs": {
"filename": "docker",
- "arguments": "run --rm $(DockerCommonRunArgs_Debian9) $(PB_GitDirectory)/Tools/msbuild.sh $(PB_GitDirectory)/src/pkg/packaging/dir.proj $(AdditionalMSBuildPackagingArguments) /p:OutputRid=debian.9-$(PB_TargetArchitecture) $(DistroSpecificMSBuildArguments)",
+ "arguments": "run --rm $(DockerCommonRunArgs_Ubuntu1404) $(PB_GitDirectory)/Tools/msbuild.sh $(PB_GitDirectory)/src/pkg/packaging/dir.proj $(AdditionalMSBuildPackagingArguments) /p:OutputRid=debian.9-$(PB_TargetArchitecture) $(DistroSpecificMSBuildArguments) /p:BuildRuntimeDebs=false",
"workingFolder": "",
"failOnStandardError": "false"
}
"enabled": true,
"continueOnError": false,
"alwaysRun": false,
- "displayName": "Publish - Debian 9",
+ "displayName": "Publish Runtime Dep - Debian 9",
"timeoutInMinutes": 0,
"refName": "Task34",
"task": {
},
"inputs": {
"filename": "docker",
- "arguments": "run --rm $(DockerCommonRunArgs_Debian9) $(PB_GitDirectory)/Tools/msbuild.sh $(PB_GitDirectory)/publish/publish.proj /p:PublishType=$(PB_PublishType) /p:OutputRid=debian.9-$(PB_TargetArchitecture) $(DistroSpecificMSBuildArguments) $(DistroSpecificMSBuildPublishArgs)",
+ "arguments": "run --rm $(DockerCommonRunArgs_Ubuntu1404) $(PB_GitDirectory)/Tools/msbuild.sh $(PB_GitDirectory)/publish/publish.proj /p:PublishType=$(PB_PublishType) /p:OutputRid=debian.9-$(PB_TargetArchitecture) $(DistroSpecificMSBuildArguments) $(DistroSpecificMSBuildPublishArgs)",
"workingFolder": "",
"failOnStandardError": "false"
}
"value": "-ConfigurationGroup=$(BuildConfiguration) $(PB_AdditionalBuildArguments)",
"allowOverride": true
},
- "CONNECTION_STRING": {
- "value": "PassedViaPipeBuild"
- },
- "DEB_REPO_PASSWORD": {
- "value": null,
- "isSecret": true
- },
- "PB_DebianId_ubuntu1404-x64": {
- "value": null,
- "isSecret": true
- },
- "PB_DebianId_debian8-x64": {
- "value": null,
- "isSecret": true
- },
- "PB_DebianId_debian9-x64": {
- "value": null,
- "isSecret": true
- },
- "PB_DebianId_ubuntu1604-x64": {
- "value": null,
- "isSecret": true
- },
"PB_ChecksumAzureAccountName": {
"value": "dotnetclichecksums"
},
"PB_PortableBuild": {
"value": "false"
},
- "PB_DebRepoUser": {
- "value": "dotnet"
- },
- "PB_DebRepoServer": {
- "value": "azure-apt-cat.cloudapp.net"
- },
"AdditionalMSBuildPackagingArguments": {
"value": "/p:UsePrebuiltPortableBinariesForInstallers=true /p:SharedFrameworkPublishDir=/root/sharedFrameworkPublish/"
},
"value": "/flp:v=diag /p:TargetArchitecture=$(PB_TargetArchitecture) /p:PortableBuild=false /p:ConfigurationGroup=$(BuildConfiguration) /p:OSGroup=Linux /p:OfficialBuildId=$(OfficialBuildId)"
},
"DistroSpecificMSBuildPublishArgs": {
- "value": "/p:AzureAccountName=$(PB_AzureAccountName) /p:ContainerName=$(PB_ContainerName) /p:AzureAccessToken=$(PB_AzureAccessToken) /p:ChecksumAzureAccountName=$(PB_ChecksumAzureAccountName) /p:ChecksumContainerName=$(PB_ChecksumContainerName) /p:ChecksumAzureAccessToken=$(PB_ChecksumAzureAccessToken) /p:DebRepoUser=$(PB_DebRepoUser) /p:DebRepoServer=$(PB_DebRepoServer) /p:DebRepoPass=$(DEB_REPO_PASSWORD) $(PB_DebianKeys)"
- },
- "PB_DebianKeys": {
- "value": "/p:DebianId_ubuntu1404-x64=$(PB_DebianId_ubuntu1404-x64) /p:DebianId_debian8-x64=$(PB_DebianId_debian8-x64) /p:DebianId_debian9-x64=$(PB_DebianId_debian9-x64) /p:DebianId_ubuntu1604-x64=$(PB_DebianId_ubuntu1604-x64) /p:DebianId_ubuntu1704-x64=$(PB_DebianId_ubuntu1704-x64) /p:DebianId_ubuntu1710-x64=$(PB_DebianId_ubuntu1710-x64)"
+ "value": "/p:AzureAccountName=$(PB_AzureAccountName) /p:ContainerName=$(PB_ContainerName) /p:AzureAccessToken=$(PB_AzureAccessToken) /p:ChecksumAzureAccountName=$(PB_ChecksumAzureAccountName) /p:ChecksumContainerName=$(PB_ChecksumContainerName) /p:ChecksumAzureAccessToken=$(PB_ChecksumAzureAccessToken)"
},
"DockerTag_Ubuntu1404": {
"value": "ubuntu-14.04-debpkg-e5cf912-20175003025046"
"DockerCommonRunArgs_Ubuntu1404": {
"value": "--name $(PB_DockerContainerName)$(DockerTag_Ubuntu1404) -v \"$(PB_SourcesDirectory):$(PB_GitDirectory)\" -v $(Build.StagingDirectory)/sharedFrameworkPublish/:/root/sharedFrameworkPublish/ -w=\"$(PB_GitDirectory)\" $(DockerImageName_Ubuntu1404)"
},
- "DockerTag_Ubuntu1604": {
- "value": "ubuntu-16.04-debpkg-e5cf912-20174703024721"
- },
- "DockerImageName_Ubuntu1604": {
- "value": "$(PB_DockerRepository):$(DockerTag_Ubuntu1604)"
- },
- "DockerCommonRunArgs_Ubuntu1604": {
- "value": "--name $(PB_DockerContainerName)$(DockerTag_Ubuntu1604) -v \"$(PB_SourcesDirectory):$(PB_GitDirectory)\" -v $(Build.StagingDirectory)/sharedFrameworkPublish/:/root/sharedFrameworkPublish/ -w=\"$(PB_GitDirectory)\" $(DockerImageName_Ubuntu1604)"
- },
- "DockerTag_Debian8": {
- "value": "debian-8.2-debpkg-9f87c3c-20173003023006"
- },
- "DockerImageName_Debian8": {
- "value": "$(PB_DockerRepository):$(DockerTag_Debian8)"
- },
- "DockerCommonRunArgs_Debian8": {
- "value": "--name $(PB_DockerContainerName)$(DockerTag_Debian8) -v \"$(PB_SourcesDirectory):$(PB_GitDirectory)\" -v $(Build.StagingDirectory)/sharedFrameworkPublish/:/root/sharedFrameworkPublish/ -w=\"$(PB_GitDirectory)\" $(DockerImageName_Debian8)"
- },
- "DockerTag_Debian9": {
- "value": "debian-8.2-debpkg-9f87c3c-20173003023006"
- },
- "DockerImageName_Debian9": {
- "value": "$(PB_DockerRepository):$(DockerTag_Debian9)"
- },
- "DockerCommonRunArgs_Debian9": {
- "value": "--name $(PB_DockerContainerName)$(DockerTag_Debian9) -v \"$(PB_SourcesDirectory):$(PB_GitDirectory)\" -v $(Build.StagingDirectory)/sharedFrameworkPublish/:/root/sharedFrameworkPublish/ -w=\"$(PB_GitDirectory)\" $(DockerImageName_Debian9)"
- },
"DockerTag_Rhel7": {
"value": "rhel-7-rpmpkg-c982313-20174116044113"
},
"DockerCommonRunArgs_Rhel7": {
"value": "--name $(PB_DockerContainerName)$(DockerTag_Rhel7) -v \"$(PB_SourcesDirectory):$(PB_GitDirectory)\" -v $(Build.StagingDirectory)/sharedFrameworkPublish/:/root/sharedFrameworkPublish/ -w=\"$(PB_GitDirectory)\" $(DockerImageName_Rhel7)"
},
- "CLI_NUGET_FEED_URL": {
- "value": "https:%2F%2Fdotnet.myget.org/F/cli-deps/api/v2/package"
- },
- "CLI_NUGET_SYMBOLS_FEED_URL": {
- "value": "https:%2F%2Fdotnet.myget.org/F/cli-deps/symbols/api/v2/package"
- },
- "CliNuGetApiKey": {
- "value": null,
- "isSecret": true
- },
- "DockerCommonRunArgs_Ubuntu1704": {
- "value": "--name $(PB_DockerContainerName)$(DockerTag_Ubuntu1704) -v \"$(PB_SourcesDirectory):$(PB_GitDirectory)\" -v $(Build.StagingDirectory)/sharedFrameworkPublish/:/root/sharedFrameworkPublish/ -w=\"$(PB_GitDirectory)\" $(DockerImageName_Ubuntu1704)"
- },
- "DockerImageName_Ubuntu1704": {
- "value": "$(PB_DockerRepository):$(DockerTag_Ubuntu1704)"
- },
- "DockerTag_Ubuntu1704": {
- "value": "ubuntu-17.04-debpkg-7968025-20172512022553"
- },
- "PB_DebianId_ubuntu1704-x64": {
- "value": null,
- "isSecret": true
- },
- "DockerCommonRunArgs_Ubuntu1710": {
- "value": "--name $(PB_DockerContainerName)$(DockerTag_Ubuntu1710) -v \"$(PB_SourcesDirectory):$(PB_GitDirectory)\" -v $(Build.StagingDirectory)/sharedFrameworkPublish/:/root/sharedFrameworkPublish/ -w=\"$(PB_GitDirectory)\" $(DockerImageName_Ubuntu1710)"
- },
- "DockerImageName_Ubuntu1710": {
- "value": "$(PB_DockerRepository):$(DockerTag_Ubuntu1710)"
- },
- "DockerTag_Ubuntu1710": {
- "value": "ubuntu-17.10-debpkg-8feab42-20175925105910"
- },
- "PB_DebianId_ubuntu1710-x64": {
- "value": null,
- "isSecret": true
- },
"PB_PackageVersionPropsUrl": {
"value": ""
},
$(PackageTargetRid.StartsWith('debian'))">true</IsDebianBasedDistro>
<BuildDebPackage Condition="'$(IsDebianBasedDistro)' == true and '$(TargetArchitecture)' == 'x64'">true</BuildDebPackage>
<DebianConfigJsonName>debian_config.json</DebianConfigJsonName>
+ <BuildRuntimeDebs>true</BuildRuntimeDebs>
</PropertyGroup>
<Target Name="InitializeDotnetDebTool">
BuildDebs;"
Condition="'$(BuildDebPackage)'=='true'" />
+ <Target Name="GenerateRuntimeDebs"
+ DependsOnTargets="GenerateSharedHostDeb;GenerateHostFxrDeb;GenerateSharedFrameworkDeb"
+ Condition="''$(BuildRuntimeDebs)' == 'true'" />
+
<Target Name="BuildDebs"
- DependsOnTargets="InitializeDotnetDebTool;GenerateSharedHostDeb;GenerateHostFxrDeb;GenerateSharedFrameworkDeb;GenerateRuntimeDependenciesDeb"
+ DependsOnTargets="InitializeDotnetDebTool;GenerateRuntimeDebs;GenerateRuntimeDependenciesDeb"
Condition="'$(BuildDebPackage)'=='true' and '$(DebuildPresent)' == 'true'" />
<Target Name="GenerateSharedHostDeb">
<SharedHostTokenValue Include="%SHARED_HOST_BRAND_NAME%">
<ReplacementString>$(SharedHostBrandName)</ReplacementString>
</SharedHostTokenValue>
+ <SharedHostTokenValue Include="%RUNTIME_DEPS_DEBIAN_PACKAGE_NAME%">
+ <ReplacementString>$(RuntimeDependenciesDebPkgName)</ReplacementString>
+ </SharedHostTokenValue>
+ <SharedHostTokenValue Include="%RUNTIME_DEPS_VERSION%">
+ <ReplacementString>$(RuntimeDepsDebVersion)</ReplacementString>
+ </SharedHostTokenValue>
</ItemGroup>
<ReplaceFileContents InputFile="$(ConfigJsonFile)"
</Target>
- <Target Name="GenerateSharedFrameworkDeb" DependsOnTargets="GetLibIcuPackageName">
+ <Target Name="GenerateSharedFrameworkDeb">
<PropertyGroup>
<DebPackageName>$(SharedFxDebPkgName)</DebPackageName>
<InputRoot>$(SharedFrameworkPublishRoot)</InputRoot>
<DebFile>$(SharedFrameworkInstallerFile)</DebFile>
<ConfigJsonName>dotnet-sharedframework-debian_config.json</ConfigJsonName>
- <ConfigJsonName Condition="$(PackageTargetRid.StartsWith('debian.9'))">dotnet-sharedframework-debian9_config.json</ConfigJsonName>
<ConfigJsonFile>$(debPackaginfConfigPath)$(ConfigJsonName)</ConfigJsonFile>
<debIntermediatesDir>$(PackagesIntermediateDir)$(DebPackageName)/$(DebPackageVersion)</debIntermediatesDir>
</PropertyGroup>
<SharedFrameworkTokenValue Include="%SHARED_FRAMEWORK_BRAND_NAME%">
<ReplacementString>$(SharedFrameworkBrandName)</ReplacementString>
</SharedFrameworkTokenValue>
- <SharedFrameworkTokenValue Include="%LIBICU_PACKAGE_NAME%">
- <ReplacementString>$(LibIcuPackageName)</ReplacementString>
- </SharedFrameworkTokenValue>
-
</ItemGroup>
<ReplaceFileContents InputFile="$(ConfigJsonFile)"
</Target>
- <Target Name="GenerateRuntimeDependenciesDeb" DependsOnTargets="GetLibIcuPackageName">
+ <Target Name="GenerateRuntimeDependenciesDeb">
<PropertyGroup>
<DebPackageName>$(RuntimeDependenciesDebPkgName)</DebPackageName>
<DebPackageVersion>$(SharedFrameworkNugetVersion)</DebPackageVersion>
<DebFile>$(DotnetRuntimeDependenciesPackageInstallerFile)</DebFile>
- <ConfigJsonName>dotnet-runtime-deps-debian_config.json</ConfigJsonName>
+ <ConfigJsonName>dotnet-runtime-deps-debian_config_$(OutputRid).json</ConfigJsonName>
<ConfigJsonFile>$(debPackaginfConfigPath)$(ConfigJsonName)</ConfigJsonFile>
<debIntermediatesDir>$(PackagesIntermediateDir)$(DebPackageName)/$(DebPackageVersion)</debIntermediatesDir>
</PropertyGroup>
<debLayoutDocs>$(debLayoutDirectory)docs</debLayoutDocs>
</PropertyGroup>
+ <!-- Error out if the configuration file doesn't exist -->
+ <Error Condition="!Exists('$(ConfigJsonFile)')" Text="Config file does not exist : '$(ConfigJsonFile)'" />
+
<RemoveDir Condition="Exists('$(debIntermediatesDir)')" Directories="$(debIntermediatesDir)" />
<MakeDir Directories="$(debIntermediatesDir)" />
- <!-- Compute LIBSSL Version -->
- <Exec Command="apt-cache search --names-only '^libssl[.0-9]+$' | cut -d' ' -f1"
- ConsoleToMSBuild="true">
- <Output TaskParameter="ConsoleOutput" PropertyName="LibSSLPackageName" />
- </Exec>
-
<!-- Create empty debian layout -->
<RemoveDir Condition="Exists('$(debLayoutDirectory)')" Directories="$(debLayoutDirectory)" />
<MakeDir Directories="$(debLayoutDirectory)" />
<ReplacementString>$(RuntimeDependenciesDebPkgName)</ReplacementString>
</SharedFrameworkTokenValue>
<SharedFrameworkTokenValue Include="%RUNTIME_DEPS_VERSION%">
- <ReplacementString>$(SharedFrameworkNugetVersion)</ReplacementString>
- </SharedFrameworkTokenValue>
- <SharedFrameworkTokenValue Include="%LIBSSL_PACKAGE_NAME%">
- <ReplacementString>$(LibSSLPackageName)</ReplacementString>
+ <ReplacementString>$(RuntimeDepsDebVersion)</ReplacementString>
</SharedFrameworkTokenValue>
- <SharedFrameworkTokenValue Include="%LIBICU_PACKAGE_NAME%">
- <ReplacementString>$(LibIcuPackageName)</ReplacementString>
- </SharedFrameworkTokenValue>
-
</ItemGroup>
<ReplaceFileContents InputFile="$(ConfigJsonFile)"
Importance="High" />
</Target>
- <!-- Compute LibIcu Package Name -->
- <Target Name="GetLibIcuPackageName">
- <Exec Command="apt-cache search --names-only '^libicu[0-9]+$' | cut -d' ' -f1"
- ConsoleToMSBuild="true">
- <Output TaskParameter="ConsoleOutput" PropertyName="LibIcuPackageName" />
- </Exec>
- </Target>
</Project>
\ No newline at end of file