PowerShell/tools/releaseBuild
Aditya Patwardhan ab1d47712b Fix dependencies of nuget build to wait on DEB uploads to finish (#9118)
The NuGet build task should wait on uploads for DEB job to complete.

## PR Context

There is a race condition when the build for DEB is completed but the upload has not. If the NuGet build job starts it may not get all the packages needed for building nuget packages.
2019-03-11 15:02:29 -07:00
..
azureDevOps Fix dependencies of nuget build to wait on DEB uploads to finish (#9118) 2019-03-11 15:02:29 -07:00
Images Merged PR 6648: Bump SDK and Runtime Versions 2019-01-23 02:18:44 +00:00
macOS Add compliance to Coordinated build (#8798) 2019-01-30 14:10:52 -08:00
.gitignore Move release build definition into PowerShell (#4884) 2017-09-26 14:02:55 -07:00
build.json Build package build using ubuntu 18.04 image (#8666) 2019-01-16 15:10:39 -08:00
createComplianceFolder.ps1 Build and package framework dependent package (#7729) 2018-09-10 12:47:32 -07:00
generatePackgeSigning.ps1 Add Windows build to universal release build YAML (#8695) 2019-01-22 11:21:02 -08:00
packagesigning.xml update signing subjects (#5650) 2017-12-07 17:56:37 -08:00
README.md Move Final artifacts from universal build to finalResults folder (#8806) 2019-02-01 10:59:01 -08:00
setReleaseTag.ps1 Support release branches based on the forward slash separator (#8903) 2019-02-19 10:47:39 -08:00
setReleaseTag.sh add scripts to set/update the release tag in VSTS (#6107) 2018-02-07 15:24:34 -08:00
signing.xml Build Global tool for PowerShell and SDK container (#8984) 2019-02-26 12:56:29 -08:00
updateSigning.ps1 Build Global tool for PowerShell and SDK container (#8984) 2019-02-26 12:56:29 -08:00
vstsbuild.ps1 Remove build and doc references to Git submodules (#8177) 2018-11-05 10:39:29 -08:00
vstsbuild.sh Update install/build scripts and dockerfiles (#5222) 2017-10-25 08:25:35 -07:00

Azure Dev Ops Release Builds

Requirements

Docker must be installed to run any of the release builds.

Running Windows Release Builds Locally

From PowerShell on Windows, run .\vstsbuild.ps1 -ReleaseTag <tag> -Name <buildName>.

For the package builds, run .\vstsbuild.ps1 -ReleaseTag <tag> -Name <buildName> -BuildPath <path to extracted zip from build step> -SignedFilesPath <path to extracted 'symbol' zip from build step>

Windows Build Names:

  • win7-x64-symbols
    • Builds the Windows x64 Zip with symbols
  • win7-x86-symbols
    • Builds the Windows x86 Zip with symbols
  • win7-arm-symbols
    • Builds the Windows ARM Zip with symbols
  • win7-arm64-symbols
    • Builds the Windows ARM64 Zip with symbols
  • win7-fxdependent-symbols
    • Builds the Windows FxDependent Zip with symbols
  • win7-x64-package
    • Builds the Windows x64 packages
  • win7-x86-package
    • Builds the Windows x86 packages
  • win7-arm-package
    • Builds the Windows ARM packages
  • win7-arm64-package
    • Builds the Windows ARM64 packages
  • win7-fxdependent-package
    • Builds the Windows FxDependent packages

Running Linux Release Builds Locally

From PowerShell on Linux or macOS, run .\vstsbuild.ps1 -ReleaseTag <tag> -Name <buildName>.

Linux Build Names:

  • deb
    • Builds the Debian Packages, ARM32 and ARM64.
  • alpine
    • Builds the Alpine Package
  • rpm
    • Builds the RedHat variant Package

Azure Dev Ops Build

The release build is fairly complicated. The definition is at ./azureDevOps/releaseBuild.yml.

Here is a diagram of the build:

Release Build diagram