Commit Graph

414 Commits

Author SHA1 Message Date
John Luo c53c133bcb Compose store symbols to the correct location 2017-10-05 19:47:45 -07:00
Nate McMaster 8fbac32ed8 Only attempt to publish npm when npm artifacts exist 2017-10-04 11:57:26 -07:00
Nate McMaster 2b6989bc09 Add /t:Push 2017-10-04 11:24:40 -07:00
John Luo 0c1352dd27 Update metapackage via artifact dependencies 2017-10-03 17:48:01 -07:00
John Luo 955cd09ddc Add mirror dependencies 2017-10-03 15:12:48 -07:00
John Luo 15bfc962b7 Fix typo 2017-10-03 12:18:39 -07:00
John Luo 37c12d5a64 Add sources
for the final time
2017-10-03 11:46:57 -07:00
John Luo f6fa111333 Another attempt 2017-10-02 19:18:12 -07:00
John Luo e24913ae46 Try add restore sources when building metapackage 2017-10-02 18:16:40 -07:00
John Luo e3efdd5feb Add BuildDir as restore source 2017-10-02 17:18:27 -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 c3c8919523 Mirror Microsoft.NETCore.App 2.0.2 and its dependencies 2017-10-02 14:12:41 -07:00
Nate McMaster 372be2f638 Generate and set DotNetRestoreSourcePropsPath 2017-10-02 14:12:41 -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 44b84a8da7 Update KoreBuild and remove unused MSBuild property 2017-09-27 16:24:38 -07:00
John Luo 8204f17234 Add latest runtime packages 2017-09-22 15:37:24 -07:00
Nate McMaster 6af6dde460 Fix unexpected failures in CopyPackagesToSplitFolders when files exists 2017-09-20 19:08:32 -07:00
Nate McMaster f87c9d9fb5 Increase the minimum download timeout 2017-09-20 17:44:34 -07:00
Nate McMaster 34e10f7b2c Add additional repositories that are being patched 2017-09-20 17:39:54 -07:00
Nate McMaster 8b112a9548 Fix bug in external version verification causing Private=true to apply to all versions of that external dependency 2017-09-20 15:43:11 -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 cb7540bd40 Add aspnet/Security to the 2.0.x patch 2017-09-20 13:34:51 -07:00
Nate McMaster cca1480f3a Switch from feature/x to rel/x branches 2017-09-19 10:48:15 -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 351156f455 Include DotNetCliToolReference's when computing the build order 2017-09-18 14:04:24 -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 4182b0b5d2 When BuildGraphOf is used, only pin package references to packages currently building 2017-09-18 12:31:08 -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 51dbdbeac2 Code cleanup 2017-09-18 11:15:51 -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 997be52987 Add repos that should be patched due to cascading versions 2017-09-15 18:03:29 -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 479e37d7cc Include Identity in the list of repos that are being patched 2017-09-15 16:14:25 -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 4220c516bc Ensure PackageReference versions are consistent with artifacts that will be produced 2017-09-15 14:52:47 -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 8276bd163e Analyze repository build order from AnalyzeBuildGraph 2017-09-15 11:12:02 -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
Nate McMaster 1fef45db67 Start preparing list of repositories that need patching (#556) 2017-09-14 14:10:41 -07:00
John Luo 9895b71227 Remove vcs overrides 2017-09-05 10:30:20 -07:00
John Luo fdf8ace353 Temporarily remove SignalR from build 2017-09-01 17:12:06 -07:00
John Luo fda1730a7e Revert 2017-09-01 14:16:19 -07:00
John Luo 31df733119 Revert WIP commit 2017-09-01 13:47:17 -07:00
John Luo ac2fe035c2 EF rename 2017-08-31 16:33:16 -07:00
John Luo 0dde7b1a27 Patch 2.0.1 2017-08-31 15:48:19 -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 401276308d Branching for 2.0.0 2017-07-10 11:48:56 -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
Doug Bunting 76024196b6 Remove Entropy from Universe builds
- aspnet/Coherence-Signed#505
2017-07-02 21:59:50 -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
Kiran Challa 88f81f00e9 Copy Korebuild directory to cloned repoistories to avoid repeated downloads 2017-06-05 10:18:13 -07:00
Pranav K c9f9baba58 Branching for rel/2.0.0-preview2 2017-05-31 20:05:52 -07:00
Steve Sanderson ac3ab36b3d Add JavaScriptServices to Universe 2017-05-19 11:38:50 +01:00
Javier Calvarro Nelson d324d483d3 Remove identity service from universe 2017-05-12 11:06:59 -07:00
Kiran Challa 5e462aa87a Added log messages related to repository information 2017-05-12 06:05:50 -07:00
Andrew Stanton-Nurse e4b78ab958 Remove Microsoft.Extensions.PlatformAbstractions 2017-04-24 14:41:11 -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
Doug Bunting dd3889869c `StopOnFirstFailure` when doing repository builds
- avoids MSBuild continuing past failed repositories in sequential builds
- ignored when building in parallel (unfortunately)
2017-03-21 15:50:23 -07:00
Nate McMaster 23f4a31d47 React to aspnet/BuildTools#199 2017-03-20 10:25:47 -07:00
Pranav K 5bcf919faa Account for repositories with no packaes to publish 2017-03-15 10:05:30 -07:00
Pranav K 1db9776b24 Fix publishing packages to the volatile feed
Fixes #488
2017-03-15 09:22:29 -07:00
Brice Lambson bf61d14e0a Remove EntityFramework.Tools 2017-03-14 09:23:30 -07:00
Pranav K 89aebea9e5 Print the build graph prior to building repositories
Fixes #485
2017-03-14 08:42:44 -07:00
Pranav K e67bdd411e Add options to build a subgraph of repos 2017-03-13 15:33:56 -07:00
Pranav K f639d9f124 Add IgnoreStandardErrorWarningFormat to Exec task when running build.[cmd | sh]
on individual repositories
2017-03-10 12:00:23 -08:00
Pranav K df66022ff8 Use Exec instead of MsBuild task 2017-03-10 09:05:06 -08:00
Pavel Krymets 90922646bf Enable UnloadProjectsOnCompletion to prevent OOM (#480) 2017-03-09 18:06:52 -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 6eca0806af Remove workarounds 2017-02-09 14:30:27 -08:00
Nate McMaster 6ca8127bd6 Add foundation for the testing from packages, not project references 2016-12-16 16:06:30 -08:00
Victor Hurdugaci 510dab8407 Remove KoreBuild 2016-03-03 09:50:25 -08:00
Pranav K 2281d8cf89 Fix missing parantheses 2016-02-18 10:50:39 -08:00
Pranav K 03266b4b2a Don't return if no volatile feeds are found. 2016-02-18 10:26:58 -08:00
Pranav K 53eb708a8b Add support for Coherence build 2016-02-18 09:57:30 -08:00
Ajay Bhargav Baaskaran 99474a2709 Removed use of dnu commands 2016-01-14 11:57:29 -08:00
Andrew Stanton-Nurse 63c47a9c6d Revert "fix travis RID detection in KoreBuild"
This reverts commit c72ba87878.
2015-12-17 16:30:17 -08:00
Andrew Stanton-Nurse c72ba87878 fix travis RID detection in KoreBuild 2015-12-17 16:29:03 -08:00
Cesar Blum Silveira b33335a144 Skip tests on Mono if KOREBUILD_TEST_SKIPMONO is set. 2015-12-08 15:25:30 -08:00
John Luo 5ed05d34ac Adding directory existence check for nuget-install 2015-11-29 00:05:52 -08:00
Doug Bunting 419d3a3ea5 Support restoring with .NET Core
- infrastructure for switching restores everywhere i.e. addressing #290
- e.g. add `KOREBUILD_DNU_RESTORE_CORECLR` setting to `.travis.yml` files, especially if using Trusty
2015-11-13 14:49:58 -08:00
BrennanConroy 0541ba6d12 Update dnvm.cmd 2015-10-26 14:52:41 -07:00
Brennan b1c2447073 Update dnvm 2015-10-26 14:12:16 -07:00
Doug Bunting 207e97db7a Fix DNX Core testing on Windows
- avoid `cmd /C dnvm.cmd ...` because `cmd` does not report `.cmd` script exit code correctly
  - change both `_dnu.shade` and `_k.shade` though `_k.shade` is more-often an issue
- @moozzyk reported problem in [discussion](https://github.com/aspnet/Universe/pull/299#discussion-diff-41954492) of PR #299
2015-10-19 15:41:13 -07:00
Doug Bunting 4e87b0c972 Go back to running `dnu restore` with Mono
- can't fix #290 at this time; need Ubuntu 14.04 on Travis
2015-10-12 18:51:11 -07:00
Doug Bunting 24346ea976 Fix build breaks
- correct typo in `_kpm-publish.shade`
2015-10-12 10:39:48 -07:00
Doug Bunting d679c85aa3 Always restore w/ Core CLR and build w/ CLR or Mono
- #290
- remove workaround for aspnet/dnx#2566; not needed if building with CLR or Mono
- install Core CLR DNX in `build.sh`
  - must be applied in all repos using Travis before this PR goes in
- add `Dnu()` and `Dnx()` macros
  - remove `K()` macro from `_k-test.shade`; use `Dnx()` instead
- incorporate per-repo changes not yet applied to Universe templates
  - use newer `NuGet.exe`
  - Universe itself does not need the Korebuild package or `dnvm`

Changes partially revert 618a73b e.g. always start build with CLR or Mono DNX

nits:
- reduced DNX switches and `dnvm` calls in `build.cmd`
- base NuGet skip decision on _both_ KoreBuild and Sake's installation status
- make `Quiet` variable work more reliably; small changes often led to compilation problems
  - requires a small change in DNX repo at the same time
- remove some trailing whitespace and tabs
- add a bit more description to `_k.shade`
2015-10-12 10:02:18 -07:00
Doug Bunting 618a73b399 Support building with Core CLR (on Linux)
- hits all of the checkboxes in #272

Specify test runtime explicitly and support testing w/ DNX Core on Linux
- turn on DNX Core on Linux testing with `--test-dnxcore` target
  - or `KOREBUILD_TEST_DNXCORE` environment variable

Work around aspnet/dnx#2566
- builds fail with DNX Core on Linux otherwise

Do not attempt to install nodejs if not on Windows

Use user's `default` DNVM when `%SKIP_DNX_INSTALL%` defined on Windows
- enables builds with DNX Core
- should be the default for new repos; older repos can opt in

Use consistent case for all `--quiet` environment variables
  - also name these variables consistently; start w/ `KOREBUILD_`
- environment variables are case-sensitive on Linux and mixed case was annoying
- also get rid of leading space in these environment variable values

Check `IsLinux` and not `IsMono`
- `IsMono` is always `true` on Linux since Sake always runs in Mono there
  - but `IsLinux` is the right question

nits:
- remove tabs from a few files
- remove compilation warnings in local `makefile.shade`
2015-10-05 23:02:50 -07:00
Doug Bunting aa2beb83c2 Revert "Execute correct commands when building with Core CLR on Linux"
- bad merge; this commit should not have been included

This reverts commit 18d637dfc7.
2015-10-01 14:29:26 -07:00
Doug Bunting 580fe5b651 Merge branch 'dougbu/update.dnvm' into dev 2015-10-01 14:25:41 -07:00
Doug Bunting 18d637dfc7 Execute correct commands when building with Core CLR on Linux 2015-10-01 14:12:31 -07:00
Doug Bunting 352e41ff20 Update to latest `dnvm`
- `beta8-15518` to `rc1-15523`
- main changes include
  - remove `-a` alias for `-alias`; `build.cmd` files updated (thanx @NTaylorMullen)
  - [Linux] deprecate `dnvm unalias`; add `dnvm alias -d`
  - add `dnvm uninstall`
2015-10-01 14:04:57 -07:00
Anthony van der Hoorn fd7c5754fa Fix bug where we search for scripts in wwwroot/lib 2015-10-01 13:43:13 -07:00
BrennanConroy d7c3cebac9 Fix merge from release to dev 2015-09-30 09:33:42 -07:00
Pranav K 47ec2b4e50 Fix default feed for dev branch 2015-09-29 14:38:56 -07:00
Pranav K b1a0e1b251 Merge branch 'dev' into release 2015-09-28 22:46:10 -07:00
Pranav K faf91c06e0 * Use --quiet for git pull and git clone so git fetch messages do not show up in CI
error logs.
2015-09-28 21:09:12 -07:00
Doug Bunting 345c59826c Update to latest `dnvm`
- beta6-10394 to beta8-15518
  - grabbed from aspnet/Home but left default feed URIs alone
  - includes important fixes such as `dnvm use alias -r coreclr` support
2015-09-24 15:29:59 -07:00
Doug Bunting cb3dea63a3 Avoid path too long errors when performing BuildV2 builds in MVC repo
- do not glob to the ends of the earth when looking for `project.json` files

nits:
- remove unused variable in `_kpm-build.shade`
- remove incorrect comment in `_kpm-pack.shade`
- clean up some trailing whitespace
2015-09-18 13:09:51 -07:00
Ajay Bhargav Baaskaran a3d943197a Moving nuget-verify to run before test 2015-09-18 12:07:55 -07:00
N. Taylor Mullen a10610c0cc Update dnvm.ps1 and dnvm.sh DNX feed names to `aspnetcidev`. 2015-09-17 20:58:10 -07:00
Kiran Challa 5008e2743d Removed style cop related shade files 2015-09-15 14:19:00 -07:00
Doug Bunting 22952e1806 Add `restoreDir` parameter in `_k-restore.shade`
- enables use of this command where it's currently overridden
- in turn, this means `--quiet` would be honoured in those `makefile.shade` files

For example can use this hook to shut DNX build up a bit
- `makefile.shade` there calls `dnu restore` directly and ignores `--quiet`
2015-09-15 11:58:48 -07:00
moozzyk d59fa774a8 Updating licenses 2015-09-11 10:22:16 -07:00
Ajay Bhargav Baaskaran a0d51b9c2f Added Nuget feed and renamed packagelist json 2015-09-09 11:54:46 -07:00
Pranav K 864cc39ce2 Updating to Sake 0.2.2 2015-09-09 11:19:24 -07:00
N. Taylor Mullen a24c709344 Update dnvm.sh to use aspnetlitedev feed. 2015-09-02 22:15:17 -07:00
N. Taylor Mullen 7e2b09c249 Update dnvm.ps1 to use aspnetlitedev feed. 2015-09-02 20:38:51 -07:00
Pranav K 1b6d027fc1 Using Json parsing code from DNX
Fixes #141
2015-09-01 15:44:44 -07:00
Pranav K e5bea0fa1e Switching to aspnetrelease feed in Universe
Short term fix in the absence of ability to do this via build.cmd.
2015-08-17 14:39:01 -07:00
Victor Hurdugaci 7b0f6e7c2a Build tests and samples during regular build 2015-08-10 12:04:25 -07:00
Ajay Bhargav Baaskaran 73474132d1 Added a target to verify nupkgs with NugetPackageVerifier 2015-08-07 10:58:46 -07:00
moozzyk 3147920607 Reaciting to removing folder (including `.`) from the dnx command 2015-08-06 07:40:14 -07:00
Kirthi Krishnamraju ed9b0f59b5 Updated code to generate resx file only if file names does not have locales 2015-07-24 09:26:46 -07:00
Pranav K bd2025c561 Change nuget-resilient-publish to allow specifying a path to nuget.exe. 2015-06-29 15:21:23 -07:00
Pranav K 6d5ac18d0c Use dnvm run instead of switching using dnvm use 2015-06-24 14:35:02 -07:00
Pranav K d65251055e Updating dnvm 2015-06-24 13:58:01 -07:00
Doug Bunting f55367597a Pull in latest `dnvm` from Home's dev branch
- lots of `dnvm.ps1` fixes
- FreeBSD fixes in `dnvm.sh`
2015-06-17 11:28:48 -07:00
Victor Hurdugaci 00b2daa068 Fix argument parsing for fast build 2015-06-15 16:05:18 -07:00
Victor Hurdugaci f377542e38 Build projects in one go 2015-06-13 14:42:16 -07:00
Doug Bunting 664d718398 Add `Quiet` default to enable conditionalizing `Log.Info()` calls
- use in new `_copy.shade` which overrides the Sake default
2015-06-01 14:46:58 -07:00
Wei Wang 19333dc2dc Update dnvm scripts 2015-05-27 11:27:46 -07:00
Wei Wang 82333e1627 React to renaming "k-crossgen.cmd" to "dnx-crossgen.cmd" 2015-05-22 13:41:21 -07:00
moozzyk e771141eb8 Replacing rimraf in target-dir-clean with non-node.js based solution
rimraf needs to pull node.js and is slow.
2015-05-21 14:43:07 -07:00
Doug Bunting 75c1efeec7 Fix `target-dir-clean` target
- not currently cleaning in most cases
- typo in 16bb0df
2015-05-20 12:02:39 -07:00
moozzyk 16bb0df055 Replacing `directory delete` with `rimraf` in the `target-dir-clean` target
`directory delete` fails for read-only files
2015-05-19 09:27:16 -07:00
Brice Lambson 281c42ba1c Don't run tests using bin/debug/app/project.json files 2015-05-18 14:04:26 -07:00
mikary e3bccdb3b1 Support single threaded running of specific test projects through environment 2015-05-12 14:37:47 -07:00