Commit Graph

189 Commits

Author SHA1 Message Date
Nate McMaster e860022e1a Remove references to aspnetcore-ci-dev and fix properties in PackageArchive targets 2017-11-22 08:31:19 -08:00
Nate McMaster 3113d9573c Stop modifying the NuGet.config file during build 2017-11-21 08:42:30 -08:00
Nate McMaster fac246e67c
Add support for PB_SkipTests and PB_SignType variables (#646) 2017-11-13 12:27:01 -08:00
Nate McMaster a24bed01d7 Identify the difference between skipped and shipped repositories 2017-11-10 13:46:25 -08:00
Nate McMaster ee5178160e Account for .Sources packages when computing the repo graph 2017-11-09 14:08:13 -08:00
Nate McMaster 3d88b10b73 Merge branch 'dev' into namc/merge-rel-2.0.3 2017-11-09 11:27:02 -08:00
Nate McMaster 476a383539
Add mirrored artifacts to restore sources for repo builds 2017-11-09 10:33:04 -08:00
Nate McMaster 7ebdee8667 Update thet list of external dependencies 2017-11-08 16:57:57 -08:00
Nate McMaster dae1f1ce78 Merge branch 'rel/2.0.3' into dev 2017-11-08 16:31:07 -08:00
Nate McMaster 7c0d83e7ff
Stop producing PackageLineup and remove obsolete code (#628) 2017-11-03 16:20:29 -07:00
Nate McMaster cccfe3dd57
Use submodules for source dependencies (#621)
As a part of making builds more reproducible, we want to start committing the exact sha of source dependencies used to build aspnetcore. This implements that using git submodules, and removes targets that were previously used to clone source on demand.

Initial submodule status:

Antiforgery => e1884586
AzureIntegration => c998d74e
BasicMiddleware => 9f3ed006
BrowserLink => 7e2ff85a
Caching => c6a9cbbe
Common => 062ad3e7
CORS => 8fd36866
DataProtection => 49b2e22a
DependencyInjection => 88297e3c
Diagnostics => 7ac0e06a
DotNet=>ols => 1836201b
EntityFrameworkCore => e70d7dae
EventNotification => 3f881f18
FileSystem => 51e14a62
Hosting => 82ccf4f0
HtmlAbstractions => d687617a
HttpAbstractions => c0f93723
HttpSysServer => 02331040
Identity => 52dfb021
JavaScriptServices => e583a17e
JsonPatch => e453fafa
KestrelHttpServer => 0c34523e
Logging => e8e3e707
MetaPackages => d63542ca
Mvc => 2e4bc548
Razor => 6c7551d9
Routing => bb413c6a
Security => 88cb3df0
SignalR => 2419867d

[auto-updated: submodules]
2017-11-01 13:03:46 -07:00
Nate McMaster e91af13a7d Generate the PackageVersionProps file and put it in the lineup package 2017-10-23 15:00:53 -07:00
= a4e87d1dd8 Build runtime store installers
- hosting tar.gz archives
- rpm installers for generic and red hat
- deb installers for debian.8, ubuntu 14.04, ubuntu 16.04, ubuntu 16.10

Create hosting targz archives
2017-10-13 17:00:46 -07:00
Nate McMaster 446de15f0b Add aspnet/Templating to the universe build 2017-10-12 18:02:16 -07:00
John Luo afba40b573 Build LZMA
- Update metapackage reference insertion
2017-10-11 16:11:12 -07:00
Nate McMaster c8068b7d1c Use submodules for source dependencies
As a part of making builds more reproducible, we want to start committing the exact sha of source dependencies used to build aspnetcore. This implements that using git submodules, and removes targets that were previously used to clone source on demand.
2017-10-11 15:48:50 -07:00
Nate McMaster c76125af0e Add previously-built aspnetcore artifacts as external dependencies 2017-10-09 12:55:14 -07:00
Nate McMaster 869d762641 Copy symbol packages to artifacts/symbols 2017-10-09 12:27:41 -07:00
Nate McMaster 611b6a23ad Update how PackageReference versions are set
Changes:
 - Remove floating versions
 - Disable myget feeds during a Universe build
 - Use package-specific MSBuild variables. Pattern = `packageId.Pascalize() + "PackageVersion"`, with a few exceptions.
 - Remove myget feeds during build
 - Remove obsolete 'GenerateLineup' targets/tasks
2017-10-09 11:32:21 -07:00
Nate McMaster 2b6989bc09 Add /t:Push 2017-10-04 11:24:40 -07:00
John Luo 8cba694aa4 Build all metapackage before split packages 2017-10-02 16:48:09 -07:00
= 11b25e7c87 Build and pack Runtime Store
- Also add targets to build all metapackage.
2017-10-02 16:43:30 -07:00
Nate McMaster 372be2f638 Generate and set DotNetRestoreSourcePropsPath 2017-10-02 14:12:41 -07:00
Nate McMaster 197d2f5633 Fix KOREBUILD_REPOSITORY_EXCLUDE 2017-10-02 10:30:14 -07:00
Nate McMaster 7ee6b5db9e Skip coherence checks on test-only builds 2017-10-02 09:50:55 -07:00
Nate McMaster a6a01db7a6 Include DotNetPackageVersionPropsPath in the design-time build 2017-09-29 17:03:35 -07:00
Nate McMaster d2e49a726c Generate the package version props file 2017-09-29 14:39:58 -07:00
Nate McMaster e7c5ce6bb9 Push lineup packages and put symbols in a separate directory 2017-09-29 14:14:57 -07:00
Nate McMaster 586d3c99c7 Fix bug in DependsOnTargets and /t:Push 2017-09-29 12:22:06 -07:00
Nate McMaster 9aebb2d823 Don't clear cloned sources when SkipClone=true 2017-09-29 11:42:45 -07:00
Nate McMaster 2e7f1355e5 Add property to skip cloning 2017-09-29 11:40:33 -07:00
Nate McMaster e841229782 Verify and mirror external dependencies and self-consistent package versions (#566)
Moves build logic from other infrastructure repos into aspnet/Universe.
2017-09-29 10:25:47 -07:00
Nate McMaster 44b84a8da7 Update KoreBuild and remove unused MSBuild property 2017-09-27 16:24:38 -07:00
Nate McMaster 6af6dde460 Fix unexpected failures in CopyPackagesToSplitFolders when files exists 2017-09-20 19:08:32 -07:00
Nate McMaster 34e10f7b2c Add additional repositories that are being patched 2017-09-20 17:39:54 -07:00
Nate McMaster 8922f69532 Mirror external dependencies 2017-09-20 15:05:21 -07:00
Nate McMaster 951dc99d5b Verify external dependencies (#561) 2017-09-20 14:58:15 -07:00
Nate McMaster 72598ad07c Update env checked to see if TeamCity cloned the source 2017-09-20 14:07:26 -07:00
Nate McMaster 22ef9c3feb Don't clone repositories when TC is configured to clone them 2017-09-20 13:56:02 -07:00
Nate McMaster 177fa71634 Copy packages to ship/noship and verify coherent versions (#560) 2017-09-18 16:44:12 -07:00
Nate McMaster f77b6ff614 Re-add CloneRepositories to BuildDependsOn 2017-09-18 13:26:11 -07:00
Nate McMaster b9e332c11b Use KoreBuild to clone source code instead of TeamCity 2017-09-18 13:10:08 -07:00
Nate McMaster 83adfd2484 Find commit hashes from the TeamCity environment variables 2017-09-18 13:06:07 -07:00
Nate McMaster 4fa08287a2 Remove dead code and ensure source code is cloned when building on CI 2017-09-18 12:39:27 -07:00
Nate McMaster 4924f79efc Update PackageReferences to non-floating versions when building multiple repos 2017-09-18 12:05:12 -07:00
Nate McMaster a10ba83751 Add /t:UpdateRepoLineups which will automatically update the build/dependencies.targets file with appropriate versions 2017-09-18 10:33:48 -07:00
Nate McMaster dc50526a6d Rename target, remove unused parameter, and add comments to the AnalyzeBuildGraph task 2017-09-18 09:37:12 -07:00
Nate McMaster 7568441acc Update analysis to account for non-shipping package references (samples, tests) 2017-09-15 17:45:55 -07:00
Nate McMaster a0547c7b9f Generate a file that contains all of the dependencies and their versions 2017-09-15 16:10:24 -07:00
Nate McMaster a43fb2271e Use artifact info to correctly analyze the packages produced from a repository 2017-09-15 13:17:49 -07:00
Nate McMaster 8f25a559a5 Begin implementation of build graph analysis 2017-09-14 17:13:57 -07:00
Nate McMaster 52757943ac Backport improvements from dev branch to repo tasks
- CalculateBuildGraph
 - PinVersion tool
 - Ensuring sub-repositories build with the same version of KoreBuild executing in Universe
2017-09-14 15:23:27 -07:00
Nate McMaster 9eb27fa53f Stub out a task to validate cascading version effects (#557) 2017-09-14 14:48:11 -07:00
John Luo 9895b71227 Remove vcs overrides 2017-09-05 10:30:20 -07:00
Nate McMaster 425c1b83e6 Support partial-graph builds
This merges pre-existing packages from previous builds of Universe with the list of packages to be produced in the current run.

Pre-existing packages are expected to be in .deps/build/ and are expected to have only one version of a package id in that folder.

This also requires any additional lineups to be in .deps/lineups/ so they can be filtered from the Internal.AspNetCore.Universe.Lineup file
2017-08-18 15:54:32 -07:00
Nate McMaster 708ae1797f Revert "Support partial-graph builds (#545)"
This reverts commit 8f263a2085.
2017-08-18 14:50:22 -07:00
Nate McMaster 8f263a2085 Support partial-graph builds (#545)
This merges pre-existing packages from previous builds of Universe with the list of packages to be produced in the current run.

Pre-existing packages are expected to be in .deps/build/ and are expected to have only one version of a package id in that folder.
2017-08-18 14:40:17 -07:00
Pranav K 28a4bb4d5f Clone over https if we cannot determine the repository's clone url 2017-08-11 22:32:23 -07:00
Pranav K 418f58f31d Clone repositories over https 2017-08-11 16:05:16 -07:00
Nate McMaster f5710de3e5 Produce a lineup package containing all packages produced 2017-08-10 11:41:10 -07:00
Nate McMaster ca7f72e3f0 Move PinVersions into RepoTasks (#535) 2017-08-02 15:04:19 -07:00
Nate McMaster dc7b2d0883 Respect ExcludeSolutions when calculating the build graph 2017-07-28 16:18:24 -07:00
Nate McMaster b512181608 Prevent deleting the .r/ folder on CI 2017-07-25 12:35:15 -07:00
Nate McMaster 581bcd7396 Update the bootstrapper to install compiled KoreBuild
- This installs KoreBuild as a compiled artifact and introduces the korebuild-lock.txt file
 - In addition, changed from using PackagePublisher directly as a console tool to using the PushNuGetPackages task
2017-07-24 17:12:43 -07:00
Pranav K 68d84099a0 Use the repository name as the directory to clone to. 2017-07-12 06:23:59 -07:00
Pranav K 98525da02b Use the right set of env variables for determining commit hash 2017-07-11 19:20:15 -07:00
Pranav K aa25401a50 Make the calculation of the build graph a task so we can pass metadata around 2017-07-11 18:51:46 -07:00
Pranav K 81363a4e5f Use clone uris and commit hash that the CI specifies 2017-07-07 15:10:46 -07:00
Kiran Challa d518d653d2 Enabled a way to passing in additional build arguments to individual repositories being built 2017-07-07 12:29:35 -07:00
Ryan Brandenburg bbd7f03114 Update PackagePublisher version 2017-06-29 11:18:40 -07:00
Kiran Challa 0cfecf4cb2 Copy msbuild artifacts from individual repos to universe artifacts folder 2017-06-06 10:14:16 -07:00
Kiran Challa 59ec6e0c50 Updated refereces of 'rel/2.0.0-preview2' to 'dev' 2017-06-06 10:09:49 -07:00
Pranav K c9f9baba58 Branching for rel/2.0.0-preview2 2017-05-31 20:05:52 -07:00
Kiran Challa 5e462aa87a Added log messages related to repository information 2017-05-12 06:05:50 -07:00
Nate McMaster 31635abf6b Resolve warnings about duplicate imports of Microsoft.Common.targets 2017-04-21 08:54:29 -07:00
Kiran Challa e08e63a033 Updated to use 1.0.2 version of PackagePublisher 2017-04-12 21:30:59 -07:00
Kiran Challa 71d09dc15c Using PackagePublisher tool to publish packages as it does retries 2017-03-27 10:50:37 -07:00
Nate McMaster 23f4a31d47 React to aspnet/BuildTools#199 2017-03-20 10:25:47 -07:00
Pranav K 1db9776b24 Fix publishing packages to the volatile feed
Fixes #488
2017-03-15 09:22:29 -07:00
Pranav K e67bdd411e Add options to build a subgraph of repos 2017-03-13 15:33:56 -07:00
Pranav K df66022ff8 Use Exec instead of MsBuild task 2017-03-10 09:05:06 -08:00
Pranav K 84b038498a Use an exact match from the first repository that finds a package. 2017-03-08 10:15:11 -08:00
Pranav K bca4474dd2 Use the same name for the props file when loading it from the deps directory 2017-03-08 06:59:31 -08:00
Pranav K 4e84690938 Make publishing to the volatile feed work. 2017-03-07 22:37:58 -08:00
Pranav K 471f48f56e Update to MSBuild 2017-03-07 22:21:16 -08:00
Nate McMaster ba69cd5df4 Add VerifyAll target shim 2017-03-01 18:37:04 -08:00
Nate McMaster d60d10e16b Update Universe to use the MSBuild-first KoreBuild 2017-03-01 17:50:24 -08:00
Nate McMaster 1d67db92c2
React to aspnet/Korebuild#160 2017-02-16 10:05:34 -08:00
Nate McMaster d84de39721 Replace makefile.shade and update test TFM to net452 2017-02-13 14:25:20 -08:00