You've already forked linux-packaging-mono
Imported Upstream version 5.0.0.42
Former-commit-id: fd56571888259555122d8a0f58c68838229cea2b
This commit is contained in:
parent
1190d13a04
commit
6bdd276d05
843
external/corert/buildpipeline/DotNet-CoreRT-Linux.json
vendored
Normal file
843
external/corert/buildpipeline/DotNet-CoreRT-Linux.json
vendored
Normal file
File diff suppressed because it is too large
Load Diff
376
external/corert/buildpipeline/DotNet-CoreRT-Mac.json
vendored
Normal file
376
external/corert/buildpipeline/DotNet-CoreRT-Mac.json
vendored
Normal file
@@ -0,0 +1,376 @@
|
||||
{
|
||||
"build": [
|
||||
{
|
||||
"enabled": true,
|
||||
"continueOnError": false,
|
||||
"alwaysRun": false,
|
||||
"displayName": "git clone",
|
||||
"timeoutInMinutes": 0,
|
||||
"task": {
|
||||
"id": "d9bafed4-0b18-4f58-968d-86655b4d2ce9",
|
||||
"versionSpec": "*",
|
||||
"definitionType": "task"
|
||||
},
|
||||
"inputs": {
|
||||
"filename": "$(Git)",
|
||||
"arguments": "clone $(GitUrl) $(SourceFolder)",
|
||||
"workingFolder": "",
|
||||
"failOnStandardError": "false"
|
||||
}
|
||||
},
|
||||
{
|
||||
"enabled": true,
|
||||
"continueOnError": false,
|
||||
"alwaysRun": false,
|
||||
"displayName": "git checkout",
|
||||
"timeoutInMinutes": 0,
|
||||
"task": {
|
||||
"id": "d9bafed4-0b18-4f58-968d-86655b4d2ce9",
|
||||
"versionSpec": "*",
|
||||
"definitionType": "task"
|
||||
},
|
||||
"inputs": {
|
||||
"filename": "$(Git)",
|
||||
"arguments": "checkout $(SourceVersion)",
|
||||
"workingFolder": "$(SourceFolder)",
|
||||
"failOnStandardError": "false"
|
||||
}
|
||||
},
|
||||
{
|
||||
"enabled": true,
|
||||
"continueOnError": false,
|
||||
"alwaysRun": false,
|
||||
"displayName": "Run $(Build.SourcesDirectory)/$(SourceFolder)/buildscripts/clean.sh",
|
||||
"timeoutInMinutes": 0,
|
||||
"task": {
|
||||
"id": "d9bafed4-0b18-4f58-968d-86655b4d2ce9",
|
||||
"versionSpec": "*",
|
||||
"definitionType": "task"
|
||||
},
|
||||
"inputs": {
|
||||
"filename": "$(Build.SourcesDirectory)/$(SourceFolder)/buildscripts/clean.sh",
|
||||
"arguments": "-all",
|
||||
"workingFolder": "$(SourceFolder)",
|
||||
"failOnStandardError": "false"
|
||||
}
|
||||
},
|
||||
{
|
||||
"enabled": true,
|
||||
"continueOnError": false,
|
||||
"alwaysRun": false,
|
||||
"displayName": "Build native",
|
||||
"timeoutInMinutes": 0,
|
||||
"task": {
|
||||
"id": "d9bafed4-0b18-4f58-968d-86655b4d2ce9",
|
||||
"versionSpec": "*",
|
||||
"definitionType": "task"
|
||||
},
|
||||
"inputs": {
|
||||
"filename": "$(Build.SourcesDirectory)/$(SourceFolder)/buildscripts/build-native.sh",
|
||||
"arguments": "$(Platform) $(Configuration) -OfficialBuildId $(OfficialBuildId)",
|
||||
"workingFolder": "$(SourceFolder)",
|
||||
"failOnStandardError": "false"
|
||||
}
|
||||
},
|
||||
{
|
||||
"enabled": true,
|
||||
"continueOnError": false,
|
||||
"alwaysRun": false,
|
||||
"displayName": "Build managed",
|
||||
"timeoutInMinutes": 0,
|
||||
"task": {
|
||||
"id": "d9bafed4-0b18-4f58-968d-86655b4d2ce9",
|
||||
"versionSpec": "*",
|
||||
"definitionType": "task"
|
||||
},
|
||||
"inputs": {
|
||||
"filename": "$(Build.SourcesDirectory)/$(SourceFolder)/buildscripts/build-managed.sh",
|
||||
"arguments": "$(Platform) $(Configuration) -OfficialBuildId $(OfficialBuildId)",
|
||||
"workingFolder": "$(SourceFolder)",
|
||||
"failOnStandardError": "false"
|
||||
}
|
||||
},
|
||||
{
|
||||
"enabled": true,
|
||||
"continueOnError": false,
|
||||
"alwaysRun": false,
|
||||
"displayName": "Build tests",
|
||||
"timeoutInMinutes": 0,
|
||||
"task": {
|
||||
"id": "d9bafed4-0b18-4f58-968d-86655b4d2ce9",
|
||||
"versionSpec": "*",
|
||||
"definitionType": "task"
|
||||
},
|
||||
"inputs": {
|
||||
"filename": "$(Build.SourcesDirectory)/$(SourceFolder)/buildscripts/build-tests.sh",
|
||||
"arguments": "$(Platform) $(Configuration) -OfficialBuildId $(OfficialBuildId)",
|
||||
"workingFolder": "$(SourceFolder)",
|
||||
"failOnStandardError": "false"
|
||||
}
|
||||
},
|
||||
{
|
||||
"enabled": true,
|
||||
"continueOnError": false,
|
||||
"alwaysRun": false,
|
||||
"displayName": "Build packages",
|
||||
"timeoutInMinutes": 0,
|
||||
"task": {
|
||||
"id": "d9bafed4-0b18-4f58-968d-86655b4d2ce9",
|
||||
"versionSpec": "*",
|
||||
"definitionType": "task"
|
||||
},
|
||||
"inputs": {
|
||||
"filename": "$(Build.SourcesDirectory)/$(SourceFolder)/buildscripts/build-packages.sh",
|
||||
"arguments": "$(Platform) $(Configuration) -OfficialBuildId $(OfficialBuildId)",
|
||||
"workingFolder": "$(SourceFolder)",
|
||||
"failOnStandardError": "false"
|
||||
}
|
||||
},
|
||||
{
|
||||
"enabled": true,
|
||||
"continueOnError": false,
|
||||
"alwaysRun": false,
|
||||
"displayName": "Publish packages",
|
||||
"timeoutInMinutes": 0,
|
||||
"task": {
|
||||
"id": "d9bafed4-0b18-4f58-968d-86655b4d2ce9",
|
||||
"versionSpec": "1.*",
|
||||
"definitionType": "task"
|
||||
},
|
||||
"inputs": {
|
||||
"filename": "$(Build.SourcesDirectory)/$(SourceFolder)/buildscripts/publish-packages.sh",
|
||||
"arguments": "-AzureAccount $(CloudDropAccountName) -AzureToken $(CloudDropAccessToken) -Container $(Label)",
|
||||
"workingFolder": "$(Build.SourcesDirectory)/$(SourceFolder)",
|
||||
"failOnStandardError": "false"
|
||||
}
|
||||
},
|
||||
{
|
||||
"enabled": true,
|
||||
"continueOnError": false,
|
||||
"alwaysRun": true,
|
||||
"displayName": "Copy Publish Artifact: BuildLogs",
|
||||
"timeoutInMinutes": 0,
|
||||
"task": {
|
||||
"id": "1d341bb0-2106-458c-8422-d00bcea6512a",
|
||||
"versionSpec": "*",
|
||||
"definitionType": "task"
|
||||
},
|
||||
"inputs": {
|
||||
"CopyRoot": "",
|
||||
"Contents": "*.log\n$(SourceFolder)/bin/Logs/*.*\n**/*.log",
|
||||
"ArtifactName": "BuildLogs",
|
||||
"ArtifactType": "Container",
|
||||
"TargetPath": "\\\\my\\share\\$(Build.DefinitionName)\\$(Build.BuildNumber)"
|
||||
}
|
||||
},
|
||||
{
|
||||
"enabled": true,
|
||||
"continueOnError": true,
|
||||
"alwaysRun": false,
|
||||
"displayName": "Compress the bin directory",
|
||||
"timeoutInMinutes": 0,
|
||||
"task": {
|
||||
"id": "d9bafed4-0b18-4f58-968d-86655b4d2ce9",
|
||||
"versionSpec": "*",
|
||||
"definitionType": "task"
|
||||
},
|
||||
"inputs": {
|
||||
"filename": "tar",
|
||||
"arguments": "-zcvf bin.tar.gz bin",
|
||||
"workingFolder": "$(SourceFolder)",
|
||||
"failOnStandardError": "false"
|
||||
}
|
||||
},
|
||||
{
|
||||
"enabled": true,
|
||||
"continueOnError": true,
|
||||
"alwaysRun": false,
|
||||
"displayName": "Copy Publish Artifact: bin",
|
||||
"timeoutInMinutes": 0,
|
||||
"task": {
|
||||
"id": "1d341bb0-2106-458c-8422-d00bcea6512a",
|
||||
"versionSpec": "*",
|
||||
"definitionType": "task"
|
||||
},
|
||||
"inputs": {
|
||||
"CopyRoot": "",
|
||||
"Contents": "$(SourceFolder)/bin.tar.gz",
|
||||
"ArtifactName": "bin",
|
||||
"ArtifactType": "Container",
|
||||
"TargetPath": "\\\\my\\share\\$(Build.DefinitionName)\\$(Build.BuildNumber)"
|
||||
}
|
||||
}
|
||||
],
|
||||
"options": [
|
||||
{
|
||||
"enabled": false,
|
||||
"definition": {
|
||||
"id": "7c555368-ca64-4199-add6-9ebaf0b0137d"
|
||||
},
|
||||
"inputs": {
|
||||
"multipliers": "[]",
|
||||
"parallel": "false",
|
||||
"continueOnError": "true",
|
||||
"additionalFields": "{}"
|
||||
}
|
||||
},
|
||||
{
|
||||
"enabled": false,
|
||||
"definition": {
|
||||
"id": "a9db38f9-9fdc-478c-b0f9-464221e58316"
|
||||
},
|
||||
"inputs": {
|
||||
"workItemType": "234347",
|
||||
"assignToRequestor": "true",
|
||||
"additionalFields": "{}"
|
||||
}
|
||||
},
|
||||
{
|
||||
"enabled": false,
|
||||
"definition": {
|
||||
"id": "57578776-4c22-4526-aeb0-86b6da17ee9c"
|
||||
},
|
||||
"inputs": {
|
||||
"additionalFields": "{}"
|
||||
}
|
||||
}
|
||||
],
|
||||
"variables": {
|
||||
"system.debug": {
|
||||
"value": "false",
|
||||
"allowOverride": true
|
||||
},
|
||||
"Configuration": {
|
||||
"value": "Release",
|
||||
"allowOverride": true
|
||||
},
|
||||
"Platform": {
|
||||
"value": "x64",
|
||||
"allowOverride": true
|
||||
},
|
||||
"SignType": {
|
||||
"value": "test",
|
||||
"allowOverride": true
|
||||
},
|
||||
"OfficialBuildId": {
|
||||
"value": "$(Build.BuildNumber)",
|
||||
"allowOverride": true
|
||||
},
|
||||
"BuildTag": {
|
||||
"value": "corert-alpha",
|
||||
"allowOverride": true
|
||||
},
|
||||
"Label": {
|
||||
"value": "$(BuildTag)-$(Build.BuildNumber)",
|
||||
"allowOverride": true
|
||||
},
|
||||
"SourceVersion": {
|
||||
"value": "HEAD",
|
||||
"allowOverride": true
|
||||
},
|
||||
"GitUrl": {
|
||||
"value": "https://github.com/dotnet/corert",
|
||||
"allowOverride": true
|
||||
},
|
||||
"SourceBranch": {
|
||||
"value": "master",
|
||||
"allowOverride": true
|
||||
},
|
||||
"Git": {
|
||||
"value": "git"
|
||||
},
|
||||
"SourceFolder": {
|
||||
"value": "corert_$(Build.BuildId)",
|
||||
"allowOverride": false
|
||||
},
|
||||
"MyGetFeedUrl": {
|
||||
"value": "https://dotnet.myget.org/F/dotnet-core/api/v2/package"
|
||||
},
|
||||
"MyGetApiKey": {
|
||||
"value": null,
|
||||
"isSecret": true,
|
||||
"allowOverride": true
|
||||
},
|
||||
"CloudDropAccountName": {
|
||||
"value": "dotnetbuildoutput"
|
||||
},
|
||||
"CloudDropAccessToken": {
|
||||
"value": null,
|
||||
"isSecret": true
|
||||
},
|
||||
"UpdatePublishedVersions.AuthToken": {
|
||||
"value": null,
|
||||
"isSecret": true
|
||||
},
|
||||
"VersionsRepoOwner": {
|
||||
"value": "crummel",
|
||||
"allowOverride": true
|
||||
},
|
||||
"VersionsRepo": {
|
||||
"value": "dotnet_versions",
|
||||
"allowOverride": true
|
||||
}
|
||||
},
|
||||
"demands": [
|
||||
"Agent.OS -equals darwin"
|
||||
],
|
||||
"retentionRules": [
|
||||
{
|
||||
"branches": [
|
||||
"+refs/heads/*"
|
||||
],
|
||||
"artifacts": [],
|
||||
"artifactTypesToDelete": [
|
||||
"FilePath",
|
||||
"SymbolStore"
|
||||
],
|
||||
"daysToKeep": 10,
|
||||
"minimumToKeep": 1,
|
||||
"deleteBuildRecord": true,
|
||||
"deleteTestResults": true
|
||||
}
|
||||
],
|
||||
"buildNumberFormat": "$(date:yyyyMMdd)$(rev:-rr)",
|
||||
"jobAuthorizationScope": "projectCollection",
|
||||
"jobTimeoutInMinutes": 60,
|
||||
"repository": {
|
||||
"properties": {
|
||||
"labelSources": "0",
|
||||
"reportBuildStatus": "true",
|
||||
"fetchDepth": "0",
|
||||
"gitLfsSupport": "false",
|
||||
"skipSyncSource": "false",
|
||||
"cleanOptions": "0"
|
||||
},
|
||||
"id": "0a2b2664-c1be-429c-9b40-8a24dee27a4a",
|
||||
"type": "TfsGit",
|
||||
"name": "DotNet-BuildPipeline",
|
||||
"url": "https://devdiv.visualstudio.com/DevDiv/_git/DotNet-BuildPipeline",
|
||||
"defaultBranch": "refs/heads/master",
|
||||
"clean": "true",
|
||||
"checkoutSubmodules": false
|
||||
},
|
||||
"quality": "definition",
|
||||
"defaultBranch": "refs/heads/master",
|
||||
"queue": {
|
||||
"pool": {
|
||||
"id": 39,
|
||||
"name": "DotNet-Build"
|
||||
},
|
||||
"id": 36,
|
||||
"name": "DotNet-Build"
|
||||
},
|
||||
"path": "\\",
|
||||
"type": "build",
|
||||
"id": 4511,
|
||||
"name": "DotNet-CoreRT-Mac",
|
||||
"url": "https://devdiv.visualstudio.com/DefaultCollection/0bdbc590-a062-4c3f-b0f6-9383f67865ee/_apis/build/Definitions/4511",
|
||||
"project": {
|
||||
"id": "0bdbc590-a062-4c3f-b0f6-9383f67865ee",
|
||||
"name": "DevDiv",
|
||||
"description": "Visual Studio and DevDiv team project for git source code repositories. Work items will be added for Adams, Dev14 work items are tracked in vstfdevdiv. ",
|
||||
"url": "https://devdiv.visualstudio.com/DefaultCollection/_apis/projects/0bdbc590-a062-4c3f-b0f6-9383f67865ee",
|
||||
"state": "wellFormed",
|
||||
"revision": 418097423
|
||||
}
|
||||
}
|
456
external/corert/buildpipeline/DotNet-CoreRT-Publish.json
vendored
Normal file
456
external/corert/buildpipeline/DotNet-CoreRT-Publish.json
vendored
Normal file
@@ -0,0 +1,456 @@
|
||||
{
|
||||
"build": [
|
||||
{
|
||||
"enabled": true,
|
||||
"continueOnError": false,
|
||||
"alwaysRun": false,
|
||||
"displayName": "Run script $(VS140COMNTOOLS)\\VsDevCmd.bat",
|
||||
"timeoutInMinutes": 0,
|
||||
"task": {
|
||||
"id": "bfc8bf76-e7ac-4a8c-9a55-a944a9f632fd",
|
||||
"versionSpec": "*",
|
||||
"definitionType": "task"
|
||||
},
|
||||
"inputs": {
|
||||
"filename": "$(VS140COMNTOOLS)\\VsDevCmd.bat",
|
||||
"arguments": "",
|
||||
"modifyEnvironment": "true",
|
||||
"workingFolder": "",
|
||||
"failOnStandardError": "false"
|
||||
}
|
||||
},
|
||||
{
|
||||
"enabled": true,
|
||||
"continueOnError": false,
|
||||
"alwaysRun": false,
|
||||
"displayName": "Fetch custom tooling (NuGet, EmbedIndex)",
|
||||
"timeoutInMinutes": 0,
|
||||
"task": {
|
||||
"id": "e213ff0f-5d5c-4791-802d-52ea3e7be1f1",
|
||||
"versionSpec": "*",
|
||||
"definitionType": "task"
|
||||
},
|
||||
"inputs": {
|
||||
"scriptType": "filePath",
|
||||
"scriptName": "scripts/DotNet-Trusted-Publish/Fetch-Tools.ps1",
|
||||
"arguments": "$(Build.StagingDirectory)\\ToolingDownload",
|
||||
"inlineScript": "# You can write your powershell scripts inline here. \n# You can also pass predefined and custom variables to this scripts using arguments\n\n Write-Host \"Hello World\"",
|
||||
"workingFolder": "",
|
||||
"failOnStandardError": "true"
|
||||
}
|
||||
},
|
||||
{
|
||||
"enabled": true,
|
||||
"continueOnError": false,
|
||||
"alwaysRun": false,
|
||||
"displayName": "Set up pipeline-specific git repository",
|
||||
"timeoutInMinutes": 0,
|
||||
"task": {
|
||||
"id": "e213ff0f-5d5c-4791-802d-52ea3e7be1f1",
|
||||
"versionSpec": "*",
|
||||
"definitionType": "task"
|
||||
},
|
||||
"inputs": {
|
||||
"scriptType": "inlineScript",
|
||||
"scriptName": "",
|
||||
"arguments": "-gitUrl $(GitUrl) -root $(Pipeline.SourcesDirectory)",
|
||||
"inlineScript": "param($gitUrl, $root)\n\nif (Test-Path $root)\n{\n Remove-Item -Recurse -Force $root\n}\ngit clone --no-checkout $gitUrl $root 2>&1 | Write-Host\ncd $root\ngit checkout $env:SourceVersion 2>&1 | Write-Host\n\nWrite-Host (\"##vso[task.setvariable variable=Pipeline.SourcesDirectory;]$root\")",
|
||||
"workingFolder": "",
|
||||
"failOnStandardError": "true"
|
||||
}
|
||||
},
|
||||
{
|
||||
"enabled": true,
|
||||
"continueOnError": false,
|
||||
"alwaysRun": false,
|
||||
"displayName": "Download packages",
|
||||
"timeoutInMinutes": 0,
|
||||
"task": {
|
||||
"id": "e213ff0f-5d5c-4791-802d-52ea3e7be1f1",
|
||||
"versionSpec": "*",
|
||||
"definitionType": "task"
|
||||
},
|
||||
"inputs": {
|
||||
"scriptType": "inlineScript",
|
||||
"scriptName": "",
|
||||
"arguments": "$(CloudDropAccountName) $(CloudDropAccessToken) $(Label)",
|
||||
"inlineScript": "param($account, $token, $container)\nif ($env:UseLegacyBuildScripts -eq \"true\")\n{\n .\\sync.cmd /ab /p:CloudDropAccountName=$account /p:CloudDropAccessToken=$token /p:ContainerName=$container\n}\nelse\n{\n .\\init-tools.cmd\n msbuild buildscripts\\syncAzure.proj /p:CloudDropAccountName=$account /p:CloudDropAccessToken=$token /p:ContainerName=$container /fl \"/flp:v=diag;logfile=package-download.log\"\n}",
|
||||
"workingFolder": "$(Pipeline.SourcesDirectory)",
|
||||
"failOnStandardError": "false"
|
||||
}
|
||||
},
|
||||
{
|
||||
"enabled": true,
|
||||
"continueOnError": false,
|
||||
"alwaysRun": false,
|
||||
"displayName": "Index symbol packages",
|
||||
"timeoutInMinutes": 0,
|
||||
"task": {
|
||||
"id": "e213ff0f-5d5c-4791-802d-52ea3e7be1f1",
|
||||
"versionSpec": "*",
|
||||
"definitionType": "task"
|
||||
},
|
||||
"inputs": {
|
||||
"scriptType": "inlineScript",
|
||||
"scriptName": "",
|
||||
"arguments": "",
|
||||
"inlineScript": "if ($env:Configuration -ne \"Release\") { exit }\n\n& $env:Build_SourcesDirectory\\scripts\\DotNet-Trusted-Publish\\Embed-Index.ps1 `\n $env:Pipeline_SourcesDirectory\\packages\\AzureTransfer\\Windows_NT.x64.$env:Configuration\\Microsoft.TargetingPack.Private.CoreRT\\$env:AzureContainerSymbolPackageGlob `\n $env:Build_StagingDirectory\\IndexedSymbolPackages",
|
||||
"workingFolder": "",
|
||||
"failOnStandardError": "true"
|
||||
}
|
||||
},
|
||||
{
|
||||
"enabled": true,
|
||||
"continueOnError": false,
|
||||
"alwaysRun": false,
|
||||
"displayName": "Generate Version Assets",
|
||||
"timeoutInMinutes": 0,
|
||||
"task": {
|
||||
"id": "e213ff0f-5d5c-4791-802d-52ea3e7be1f1",
|
||||
"versionSpec": "*",
|
||||
"definitionType": "task"
|
||||
},
|
||||
"inputs": {
|
||||
"scriptType": "inlineScript",
|
||||
"scriptName": "",
|
||||
"arguments": "",
|
||||
"inlineScript": "msbuild build.proj /t:CreateOrUpdateCurrentVersionFile /p:OfficialBuildId=$env:OfficialBuildId /p:BuildVersionFile=bin\\obj\\BuildVersion-$env:OfficialBuildId.props",
|
||||
"workingFolder": "$(Pipeline.SourcesDirectory)",
|
||||
"failOnStandardError": "true"
|
||||
}
|
||||
},
|
||||
{
|
||||
"enabled": true,
|
||||
"continueOnError": true,
|
||||
"alwaysRun": false,
|
||||
"displayName": "Log Native Version Assets Files",
|
||||
"timeoutInMinutes": 0,
|
||||
"task": {
|
||||
"id": "d9bafed4-0b18-4f58-968d-86655b4d2ce9",
|
||||
"versionSpec": "*",
|
||||
"definitionType": "task"
|
||||
},
|
||||
"inputs": {
|
||||
"filename": "dir",
|
||||
"arguments": "$(Pipeline.SourcesDirectory)\\bin\\obj\\BuildVersion*",
|
||||
"workingFolder": "",
|
||||
"failOnStandardError": "false"
|
||||
}
|
||||
},
|
||||
{
|
||||
"enabled": true,
|
||||
"continueOnError": false,
|
||||
"alwaysRun": false,
|
||||
"displayName": "packages -> dotnet.myget.org",
|
||||
"timeoutInMinutes": 0,
|
||||
"task": {
|
||||
"id": "e213ff0f-5d5c-4791-802d-52ea3e7be1f1",
|
||||
"versionSpec": "*",
|
||||
"definitionType": "task"
|
||||
},
|
||||
"inputs": {
|
||||
"scriptType": "inlineScript",
|
||||
"scriptName": "",
|
||||
"arguments": "$(MyGetApiKey)",
|
||||
"inlineScript": "param($ApiKey)\nif ($env:Configuration -ne \"Release\") { exit }\n& $env:CustomNuGetPath push $env:Pipeline_SourcesDirectory\\packages\\AzureTransfer\\Windows_NT.x64.$env:Configuration\\Microsoft.TargetingPack.Private.CoreRT\\$env:AzureContainerPackageGlob $ApiKey -Source $env:MyGetFeedUrl -Timeout 3600",
|
||||
"workingFolder": "",
|
||||
"failOnStandardError": "true"
|
||||
}
|
||||
},
|
||||
{
|
||||
"enabled": true,
|
||||
"continueOnError": false,
|
||||
"alwaysRun": false,
|
||||
"displayName": "symbol packages -> dotnet.myget.org",
|
||||
"timeoutInMinutes": 0,
|
||||
"task": {
|
||||
"id": "e213ff0f-5d5c-4791-802d-52ea3e7be1f1",
|
||||
"versionSpec": "*",
|
||||
"definitionType": "task"
|
||||
},
|
||||
"inputs": {
|
||||
"scriptType": "inlineScript",
|
||||
"scriptName": "",
|
||||
"arguments": "$(MyGetApiKey)",
|
||||
"inlineScript": "param($ApiKey)\nif ($env:Configuration -ne \"Release\") { exit }\n& $env:CustomNuGetPath push $env:Build_StagingDirectory\\IndexedSymbolPackages\\*.nupkg $ApiKey -Source $env:MyGetFeedUrl -Timeout 3600",
|
||||
"workingFolder": "",
|
||||
"failOnStandardError": "true"
|
||||
}
|
||||
},
|
||||
{
|
||||
"enabled": true,
|
||||
"continueOnError": false,
|
||||
"alwaysRun": false,
|
||||
"displayName": "Update versions repository",
|
||||
"timeoutInMinutes": 0,
|
||||
"task": {
|
||||
"id": "e213ff0f-5d5c-4791-802d-52ea3e7be1f1",
|
||||
"versionSpec": "*",
|
||||
"definitionType": "task"
|
||||
},
|
||||
"inputs": {
|
||||
"scriptType": "inlineScript",
|
||||
"scriptName": "",
|
||||
"arguments": "-gitHubAuthToken $(UpdatePublishedVersions.AuthToken) -root $(Pipeline.SourcesDirectory)",
|
||||
"inlineScript": "param($gitHubAuthToken, $root)\nif ($env:Configuration -ne \"Release\") { exit }\ncd $root\n. $root\\buildscripts\\UpdatePublishedVersions.ps1 `\n -gitHubUser dotnet-build-bot -gitHubEmail dotnet-build-bot@microsoft.com `\n -gitHubAuthToken $gitHubAuthToken `\n -versionsRepoOwner $env:VersionsRepoOwner -versionsRepo $env:VersionsRepo `\n -versionsRepoPath build-info/dotnet/$env:GitHubRepositoryName/$env:SourceBranch `\n -nupkgPath $root\\packages\\AzureTransfer\\Windows_NT.x64.$env:Configuration\\Microsoft.TargetingPack.Private.CoreRT\\$env:AzureContainerPackageGlob",
|
||||
"workingFolder": "",
|
||||
"failOnStandardError": "true"
|
||||
}
|
||||
},
|
||||
{
|
||||
"enabled": true,
|
||||
"continueOnError": false,
|
||||
"alwaysRun": false,
|
||||
"displayName": "Get Build Number",
|
||||
"timeoutInMinutes": 0,
|
||||
"task": {
|
||||
"id": "e213ff0f-5d5c-4791-802d-52ea3e7be1f1",
|
||||
"versionSpec": "*",
|
||||
"definitionType": "task"
|
||||
},
|
||||
"inputs": {
|
||||
"scriptType": "inlineScript",
|
||||
"scriptName": "",
|
||||
"arguments": "$(OfficialBuildId) $(Pipeline.SourcesDirectory)",
|
||||
"inlineScript": "param(\n [string]$OfficialBuildId,\n [string]$SourcesDir\n)\n$VersionPropsFile=$SourcesDir + \"\\bin\\obj\\BuildVersion-\" + $OfficialBuildId + \".props\"\n[xml]$versionXml=Get-Content $VersionPropsFile\n$env:BuildNumber=$versionXml.Project.PropertyGroup.BuildNumberMajor.InnerText + \".\" + $versionXml.Project.PropertyGroup.BuildNumberMinor.InnerText\nWrite-Host (\"##vso[task.setvariable variable=BuildNumber;]$env:BuildNumber\")",
|
||||
"workingFolder": "",
|
||||
"failOnStandardError": "true"
|
||||
}
|
||||
},
|
||||
{
|
||||
"enabled": true,
|
||||
"continueOnError": true,
|
||||
"alwaysRun": false,
|
||||
"displayName": "Publish to Artifact Services Drop (BuildNumber)",
|
||||
"timeoutInMinutes": 0,
|
||||
"task": {
|
||||
"id": "f9d96d25-0c81-4e77-8282-1ad1f785cbb4",
|
||||
"versionSpec": "*",
|
||||
"definitionType": "task"
|
||||
},
|
||||
"inputs": {
|
||||
"dropServiceURI": "https://devdiv.artifacts.visualstudio.com/DefaultCollection",
|
||||
"buildNumber": "dotnet/$(GitHubRepositoryName)/$(SourceBranch)/$(BuildNumber)/packages/$(Configuration)",
|
||||
"sourcePath": "$(Pipeline.SourcesDirectory)\\packages\\AzureTransfer",
|
||||
"dropExePath": "",
|
||||
"toLowerCase": "true",
|
||||
"detailedLog": "false",
|
||||
"usePat": "false"
|
||||
}
|
||||
},
|
||||
{
|
||||
"enabled": true,
|
||||
"continueOnError": true,
|
||||
"alwaysRun": false,
|
||||
"displayName": "Publish to Artifact Services Drop (OfficialBuildId)",
|
||||
"timeoutInMinutes": 0,
|
||||
"task": {
|
||||
"id": "f9d96d25-0c81-4e77-8282-1ad1f785cbb4",
|
||||
"versionSpec": "*",
|
||||
"definitionType": "task"
|
||||
},
|
||||
"inputs": {
|
||||
"dropServiceURI": "https://devdiv.artifacts.visualstudio.com/DefaultCollection",
|
||||
"buildNumber": "dotnet/$(GitHubRepositoryName)/$(SourceBranch)/$(OfficialBuildId)/packages/$(Configuration)",
|
||||
"sourcePath": "$(Pipeline.SourcesDirectory)\\packages\\AzureTransfer",
|
||||
"dropExePath": "",
|
||||
"toLowerCase": "true",
|
||||
"detailedLog": "false",
|
||||
"usePat": "false"
|
||||
}
|
||||
},
|
||||
{
|
||||
"enabled": true,
|
||||
"continueOnError": false,
|
||||
"alwaysRun": true,
|
||||
"displayName": "Copy Publish Artifact: PublishLogs",
|
||||
"timeoutInMinutes": 0,
|
||||
"task": {
|
||||
"id": "1d341bb0-2106-458c-8422-d00bcea6512a",
|
||||
"versionSpec": "*",
|
||||
"definitionType": "task"
|
||||
},
|
||||
"inputs": {
|
||||
"CopyRoot": "",
|
||||
"Contents": "**\\*.log",
|
||||
"ArtifactName": "PublishLogs",
|
||||
"ArtifactType": "Container",
|
||||
"TargetPath": "\\\\my\\share\\$(Build.DefinitionName)\\$(Build.BuildNumber)"
|
||||
}
|
||||
}
|
||||
],
|
||||
"options": [
|
||||
{
|
||||
"enabled": false,
|
||||
"definition": {
|
||||
"id": "7c555368-ca64-4199-add6-9ebaf0b0137d"
|
||||
},
|
||||
"inputs": {
|
||||
"multipliers": "[]",
|
||||
"parallel": "false",
|
||||
"continueOnError": "true",
|
||||
"additionalFields": "{}"
|
||||
}
|
||||
},
|
||||
{
|
||||
"enabled": false,
|
||||
"definition": {
|
||||
"id": "a9db38f9-9fdc-478c-b0f9-464221e58316"
|
||||
},
|
||||
"inputs": {
|
||||
"workItemType": "234347",
|
||||
"assignToRequestor": "true",
|
||||
"additionalFields": "{}"
|
||||
}
|
||||
},
|
||||
{
|
||||
"enabled": false,
|
||||
"definition": {
|
||||
"id": "57578776-4c22-4526-aeb0-86b6da17ee9c"
|
||||
},
|
||||
"inputs": {
|
||||
"additionalFields": "{}"
|
||||
}
|
||||
}
|
||||
],
|
||||
"variables": {
|
||||
"system.debug": {
|
||||
"value": "false",
|
||||
"allowOverride": true
|
||||
},
|
||||
"Configuration": {
|
||||
"value": "Debug",
|
||||
"allowOverride": true
|
||||
},
|
||||
"TeamName": {
|
||||
"value": "DotNetCore"
|
||||
},
|
||||
"CloudDropAccountName": {
|
||||
"value": "dotnetbuildoutput"
|
||||
},
|
||||
"CloudDropAccessToken": {
|
||||
"value": null,
|
||||
"isSecret": true
|
||||
},
|
||||
"OfficialBuildId": {
|
||||
"value": "$(Build.BuildNumber)",
|
||||
"allowOverride": true
|
||||
},
|
||||
"BuildTag": {
|
||||
"value": "corert-alpha",
|
||||
"allowOverride": true
|
||||
},
|
||||
"Label": {
|
||||
"value": "$(BuildTag)-$(Build.BuildNumber)",
|
||||
"allowOverride": true
|
||||
},
|
||||
"MyGetFeedUrl": {
|
||||
"value": "https://dotnet.myget.org/F/dotnet-core-test/api/v2/package",
|
||||
"allowOverride": true
|
||||
},
|
||||
"MyGetApiKey": {
|
||||
"value": null,
|
||||
"isSecret": true
|
||||
},
|
||||
"VstsPat": {
|
||||
"value": null,
|
||||
"isSecret": true
|
||||
},
|
||||
"DevDivPat": {
|
||||
"value": null,
|
||||
"isSecret": true
|
||||
},
|
||||
"UpdatePublishedVersions.AuthToken": {
|
||||
"value": null,
|
||||
"isSecret": true
|
||||
},
|
||||
"VersionsRepoOwner": {
|
||||
"value": "crummel",
|
||||
"allowOverride": true
|
||||
},
|
||||
"VersionsRepo": {
|
||||
"value": "dotnet_versions",
|
||||
"allowOverride": true
|
||||
},
|
||||
"Pipeline.SourcesDirectory": {
|
||||
"value": "$(Build.BinariesDirectory)\\pipelineRepository"
|
||||
},
|
||||
"SourceVersion": {
|
||||
"value": "master",
|
||||
"allowOverride": true
|
||||
},
|
||||
"SourceBranch": {
|
||||
"value": "master",
|
||||
"allowOverride": true
|
||||
},
|
||||
"AzureContainerPackageGlob": {
|
||||
"value": "*.nupkg",
|
||||
"allowOverride": true
|
||||
},
|
||||
"AzureContainerSymbolPackageGlob": {
|
||||
"value": "symbols\\*.nupkg",
|
||||
"allowOverride": true
|
||||
},
|
||||
"GitHubRepositoryName": {
|
||||
"value": "corert"
|
||||
},
|
||||
"UseLegacyBuildScripts": {
|
||||
"value": "false",
|
||||
"allowOverride": true
|
||||
}
|
||||
},
|
||||
"retentionRules": [
|
||||
{
|
||||
"branches": [
|
||||
"+refs/heads/*"
|
||||
],
|
||||
"artifacts": [],
|
||||
"artifactTypesToDelete": [
|
||||
"FilePath",
|
||||
"SymbolStore"
|
||||
],
|
||||
"daysToKeep": 10,
|
||||
"minimumToKeep": 1,
|
||||
"deleteBuildRecord": true,
|
||||
"deleteTestResults": true
|
||||
}
|
||||
],
|
||||
"buildNumberFormat": "$(date:yyyyMMdd)$(rev:-rr)",
|
||||
"jobAuthorizationScope": "projectCollection",
|
||||
"jobTimeoutInMinutes": 180,
|
||||
"repository": {
|
||||
"properties": {
|
||||
"labelSources": "0",
|
||||
"reportBuildStatus": "false"
|
||||
},
|
||||
"id": "0a2b2664-c1be-429c-9b40-8a24dee27a4a",
|
||||
"type": "TfsGit",
|
||||
"name": "DotNet-BuildPipeline",
|
||||
"url": "https://devdiv.visualstudio.com/DevDiv/_git/DotNet-BuildPipeline",
|
||||
"defaultBranch": "refs/heads/master",
|
||||
"clean": "true",
|
||||
"checkoutSubmodules": false
|
||||
},
|
||||
"quality": "definition",
|
||||
"defaultBranch": "refs/heads/master",
|
||||
"queue": {
|
||||
"pool": {
|
||||
"id": 39,
|
||||
"name": "DotNet-Build"
|
||||
},
|
||||
"id": 36,
|
||||
"name": "DotNet-Build"
|
||||
},
|
||||
"path": "\\",
|
||||
"type": "build",
|
||||
"id": 2943,
|
||||
"name": "DotNet-CoreRT-Publish",
|
||||
"project": {
|
||||
"id": "0bdbc590-a062-4c3f-b0f6-9383f67865ee",
|
||||
"name": "DevDiv",
|
||||
"description": "Visual Studio and DevDiv team project for git source code repositories. Work items will be added for Adams, Dev14 work items are tracked in vstfdevdiv. ",
|
||||
"url": "https://devdiv.visualstudio.com/DefaultCollection/_apis/projects/0bdbc590-a062-4c3f-b0f6-9383f67865ee",
|
||||
"state": "wellFormed",
|
||||
"revision": 418097399
|
||||
}
|
||||
}
|
513
external/corert/buildpipeline/DotNet-CoreRT-Windows.json
vendored
Normal file
513
external/corert/buildpipeline/DotNet-CoreRT-Windows.json
vendored
Normal file
File diff suppressed because it is too large
Load Diff
5
external/corert/buildpipeline/README.md
vendored
Normal file
5
external/corert/buildpipeline/README.md
vendored
Normal file
@@ -0,0 +1,5 @@
|
||||
These are the checked in build definitions used by BuildPipeline.
|
||||
|
||||
You may edit build steps, variables, and other artifacts of the definition directly to modify the BuildPipeline builds.
|
||||
|
||||
If you want to make major changes to these definitions such as adding / deleting build steps, or other major rewrites, chcosta has tools to assist with those changes and can provide guidance. It is important that we know what kinds of changes are being made to the build definitions so that we can invest in improving those experiences.
|
154
external/corert/buildpipeline/pipeline.json
vendored
Normal file
154
external/corert/buildpipeline/pipeline.json
vendored
Normal file
@@ -0,0 +1,154 @@
|
||||
{
|
||||
"Repository": "corert",
|
||||
"Definitions": {
|
||||
"Path": ".",
|
||||
"Type": "VSTS",
|
||||
"BaseUrl": "https://devdiv.visualstudio.com/DefaultCollection"
|
||||
},
|
||||
"Pipelines": [
|
||||
{
|
||||
"Name": "All-Release",
|
||||
"Parameters": {
|
||||
"TreatWarningsAsErrors": "false"
|
||||
},
|
||||
"BuildParameters": {
|
||||
"Configuration": "Release"
|
||||
},
|
||||
"Definitions": [
|
||||
{
|
||||
"Name": "DotNet-CoreRT-Linux",
|
||||
"Parameters": {
|
||||
"Platform": "x64"
|
||||
},
|
||||
"ReportingParameters": {
|
||||
"OperatingSystem": "Debian 8.2",
|
||||
"Type": "build/product/",
|
||||
"ConfigurationGroup": "Release",
|
||||
"Platform": "x64"
|
||||
}
|
||||
},
|
||||
{
|
||||
"Name": "DotNet-CoreRT-Mac",
|
||||
"Parameters": {
|
||||
"Platform": "x64"
|
||||
},
|
||||
"ReportingParameters": {
|
||||
"OperatingSystem": "OSX",
|
||||
"Type": "build/product/",
|
||||
"ConfigurationGroup": "Release",
|
||||
"Platform": "x64"
|
||||
}
|
||||
},
|
||||
{
|
||||
"Name": "DotNet-CoreRT-Windows",
|
||||
"Parameters": {
|
||||
"Platform": "x64"
|
||||
},
|
||||
"ReportingParameters": {
|
||||
"OperatingSystem": "Windows",
|
||||
"Type": "build/product/",
|
||||
"ConfigurationGroup": "Release",
|
||||
"Platform": "x64"
|
||||
}
|
||||
}
|
||||
]
|
||||
},
|
||||
{
|
||||
"Name": "All-Debug",
|
||||
"Parameters": {
|
||||
"TreatWarningsAsErrors": "false"
|
||||
},
|
||||
"BuildParameters": {
|
||||
"Configuration": "Debug"
|
||||
},
|
||||
"Definitions": [
|
||||
{
|
||||
"Name": "DotNet-CoreRT-Linux",
|
||||
"Parameters": {
|
||||
"Platform": "x64"
|
||||
},
|
||||
"ReportingParameters": {
|
||||
"OperatingSystem": "Debian 8.2",
|
||||
"Type": "build/product/",
|
||||
"ConfigurationGroup": "Debug",
|
||||
"Platform": "x64"
|
||||
}
|
||||
},
|
||||
{
|
||||
"Name": "DotNet-CoreRT-Mac",
|
||||
"Parameters": {
|
||||
"Platform": "x64"
|
||||
},
|
||||
"ReportingParameters": {
|
||||
"OperatingSystem": "OSX",
|
||||
"Type": "build/product/",
|
||||
"ConfigurationGroup": "Debug",
|
||||
"Platform": "x64"
|
||||
}
|
||||
},
|
||||
{
|
||||
"Name": "DotNet-CoreRT-Windows",
|
||||
"Parameters": {
|
||||
"Platform": "x64"
|
||||
},
|
||||
"ReportingParameters": {
|
||||
"OperatingSystem": "Windows",
|
||||
"Type": "build/product/",
|
||||
"ConfigurationGroup": "Debug",
|
||||
"Platform": "x64"
|
||||
}
|
||||
}
|
||||
]
|
||||
},
|
||||
{
|
||||
"Name": "Publish-Release",
|
||||
"Parameters": {
|
||||
"TreatWarningsAsErrors": "false"
|
||||
},
|
||||
"BuildParameters": {
|
||||
"Configuration": "Release"
|
||||
},
|
||||
"Definitions": [
|
||||
{
|
||||
"Name": "DotNet-CoreRT-Publish",
|
||||
"Parameters": {
|
||||
"GitHubRepositoryName": "corert"
|
||||
},
|
||||
"ReportingParameters": {
|
||||
"TaskName": "Package Publish",
|
||||
"Type": "build/publish/",
|
||||
"ConfigurationGroup": "Release - Push to MyGet Feed"
|
||||
}
|
||||
}
|
||||
],
|
||||
"DependsOn": [
|
||||
"All-Release"
|
||||
]
|
||||
},
|
||||
{
|
||||
"Name": "Publish-Debug",
|
||||
"Parameters": {
|
||||
"TreatWarningsAsErrors": "false"
|
||||
},
|
||||
"BuildParameters": {
|
||||
"ConfigurationGroup": "Debug"
|
||||
},
|
||||
"Definitions": [
|
||||
{
|
||||
"Name": "DotNet-CoreRT-Publish",
|
||||
"Parameters": {
|
||||
"GitHubRepositoryName": "corert"
|
||||
},
|
||||
"ReportingParameters": {
|
||||
"TaskName": "Package Publish",
|
||||
"Type": "build/publish/",
|
||||
"ConfigurationGroup": "Debug - Push to Azure Storage"
|
||||
}
|
||||
}
|
||||
],
|
||||
"DependsOn": [
|
||||
"All-Debug"
|
||||
]
|
||||
}
|
||||
]
|
||||
}
|
Reference in New Issue
Block a user