Commit graph

163 commits

Author SHA1 Message Date
Livar Cunha
d613ec5758 Making the cli-test-env shell script runnable and removing test workaround for preview runtimes. It is not needed in master. 2017-11-30 11:50:37 -08:00
Livar
01393ed3bc
Merge branch 'master' into merges/release/15.5-to-master-20171120-080035 2017-11-20 12:30:12 -08:00
Livar Cunha
005eab5b3f Merge branch 'release/15.5-MSRC' into merge_15_5_msrc
* release/15.5-MSRC:
  Update aspnetcore to 2.0.3 build 125
  Update aspnetcore to 2.0.3 build 124
  Update aspnetcore to 2.0.3 build 123
  Updating branding to 2.0.3, again
  Fixing closing tags in the DEB and RPM targets.
  Enabling our native installer tests to always get a 2.0.0 asp.net runtime store. We need to solve this in a more generic way in the future. But this will unblock the build for now.
  Update aspnetcore runtime store and LZMA to 2.0.3 build 120
  Adding the pre-release runtime version hack to RHEL as well. Basically, skip native installer tests when using a pre-release runtime.
  Adding the access token to the native installer URLs so that we can download those from protected locations when needed.
  Fixing the expected runtime version by the tool tests.
  Updating the runtime version.
  Updating the branding to 15.5.1
  Adding a test hack to allow the CLI to pass tests with a pre-release runtime for 2.0 TFM.
  Merged PR 82801: Allow non-anonymous storage account access for .lzma download
2017-11-14 12:47:53 -08:00
Nick Guerrera
20d4d77586
Merge pull request #7998 from dotnet/release/15.5
Merge release/15.5 to master
2017-11-11 10:15:25 -08:00
Nick Guerrera
2a0569dc34 Fix build error when using SeparateSymbolsArchive=false 2017-11-03 15:22:41 -07:00
Nick Guerrera
4f31e3db66 Improve symbols zip archive
We were publishing a -debug zip with sdk code and symbols, but it was captured before
publishing was finished and had incorrect code content. Trying to use it would blow up
due to incorrect runtimeconfig.json.

Replace it with a -symbols zip that contains only symbols and that can be overlayed
over the main zip. This is just like the -langpack zip that has satellite assemblies.

Also add an option to leave the PDBs in the same directory/packages as code:
/p:SeparateSymbolsArchive=false. Setting this on local builds facilitates
debugging and profiling by removing the need to adjust symbol paths or copy PDBs
around.
2017-11-02 16:08:06 -07:00
Livar Cunha
e37e9f3fe8 Fixing closing tags in the DEB and RPM targets. 2017-10-20 14:43:29 -07:00
Livar Cunha
d4f980a02e Enabling our native installer tests to always get a 2.0.0 asp.net runtime store. We need to solve this in a more generic way in the future. But this will unblock the build for now. 2017-10-20 14:23:34 -07:00
Livar Cunha
34235acb37 Adding the pre-release runtime version hack to RHEL as well. Basically, skip native installer tests when using a pre-release runtime. 2017-10-09 15:27:05 -07:00
Livar Cunha
ec9b583eb4 Adding the access token to the native installer URLs so that we can download those from protected locations when needed. 2017-10-09 14:09:48 -07:00
Livar Cunha
36892f28e9 Adding a test hack to allow the CLI to pass tests with a pre-release runtime for 2.0 TFM. 2017-10-06 11:08:02 -07:00
William Lee
221ab05346 Use one build definition to produce all Linux distro specific packages (#7615)
By using `./build.sh /t:AllLiuxDistrosNativeInstaller`

Make a sandbox folder after compile step and copy compiled artifact to it. Since the content will be Linux generic, use package step with Docker in different distros.
After finishing all the distro specific packaging, upload all of them at once

Publish to debian only support all distro

Improve perf of AllLiuxDistrosNativeInstaller, by copying more cache in to sandbox

There will be a retry if package command failed
2017-09-14 13:33:46 -07:00
John Beisner
6a76bb8396 Incorrect token. 2017-09-06 08:53:01 -07:00
John Beisner
5000ba5f10 Adding required environmental variables. 2017-09-05 15:08:42 -07:00
Daniel Plaisted
6e0646f7bf Update environment variables for EndToEnd test run on Debian package 2017-09-01 18:21:25 -07:00
Daniel Plaisted
ac67434ea4 Fix debian package generation
Previously, dotnet-deb-tool-consumer.csproj was copied to the out/artifacts folder before being restored.  This no longer works as it depends on repo properties, and there is a Directory.Build.props in teh out directory to stop projects inside it from getting the repo properties.  So this change restores it in-place instead.
2017-09-01 12:12:10 -07:00
Daniel Plaisted
2222290394 Update MSI tests to use new output directory layout 2017-08-24 17:16:11 -07:00
Daniel Plaisted
c6e4c8f477 Rename Stage0 build variables to PreviousStage 2017-08-24 17:16:11 -07:00
Daniel Plaisted
ae0aa8ed24 Move dir.props to auto-imported Directory.Build.props
This is necessary for setting the intermediate output path to work correctly
2017-08-24 15:46:45 -07:00
William Li
1fa454bda4 Ingest new version Aspnet store
Change the url and name accordingly for the name naming convention
2017-08-14 16:05:22 -07:00
William Lee
be54917dc4 ingest store without timestamp (#7317)
- Handling no timestamp aspnetcore-store for deb native installers
- Handling no timestamp aspnetcore-store for rpm native installers
  AspNetCoreRuntimePackageName and the version in RPM package.
- Align the name for debian 8 and rhel 7 package.
2017-07-28 20:34:57 -07:00
William Li
20a7ab075a Add the missing / 2017-07-27 11:32:59 -07:00
Livar Cunha
9e04dcf8a4 Updating the native installers to use a fully qualified path to dotnet.dll and execute it with dotnet exec, so that the first run experience to populate the offline cache will trigger for the SDK being installed, instead of for the latest one in the box. 2017-07-26 23:10:48 -07:00
Livar Cunha
1de47f5704 Producing a nupkg for Microsoft.NET.MSBuildResolver. Note that this package contains only the Resolver dll. The hostfxr dll will still have to be acquired separately. 2017-07-21 15:24:59 -07:00
William Li
5e5cd87363 Rename to AspNetCoreRuntimePackageTimestamp 2017-07-13 14:59:00 -07:00
William Li
21aa774707 dotnet-sdk rpm package consume store by dependency
Instead of Packing along.
Edit RPM config, add download store rpm package as part of the test.
2017-07-13 12:08:35 -07:00
William Li
b9c5e2ec57 dotnet-sdk DEB package consume store by dependency
Instead of Packing along.
Edit Debian config, add download store deb package as part of the packing process as well as test.
2017-07-13 12:07:51 -07:00
Livar
425850697b Merge pull request #7019 from livarcocc/framework_downlevel_msi
Adding a installer for Downlevel (Dev14) to install .NET Framework pr…
2017-06-29 20:07:13 -07:00
Livar Cunha
a396550ed0 Adding a installer for Downlevel (Dev14) to install .NET Framework props and targets to enable it to reference netstandard 2.0. 2017-06-29 09:55:26 -07:00
Livar Cunha
126ec29fe2 Generating a layout folder with the satellite assemblies only which we use to generate a language pack tarball/zip. Initially, I wanted a IncludeOnlyFilter, but couldn't quite get that to work on tar, just passing the filter in the command line didn't work because the shell does not do recursive globbing. So, I opted for the layout folder. 2017-06-22 12:59:38 -07:00
Livar Cunha
44d888dfc4 Exclude satellite assemblies from archive. 2017-06-21 08:48:12 -07:00
William Li
30ef374785 Add explicit dependency for pakcage smoke test
So package smoke test can be run without full functional test run first.
2017-06-15 15:03:07 -07:00
William Li
a01ab8f362 Fix Debian VSTS/packing failure
One place missing replacement of OsName => HostOsName. But the root cause is
$(HostOSName)' == 'ubuntu' OR '$(HostOSName)' == 'debian' is duplicated too
much.

Extract IsDebianBaseDistro for it
2017-06-13 15:18:05 -07:00
William Li
3419a87d6f Produce RPM packages
Reference from https://github.com/dotnet/core-setup/tree/master/src/pkg/packaging/rpm

The goal is to have parity with Debian,
but does not publish to the feed

When run the script with rhel, it will
produce rpm file in the package step
and publish rpm to the blob storage
2017-06-13 15:00:35 -07:00
Daniel Plaisted
9cd4e5a956 Add Microsoft.NET.Build.Extensions files to package for VS insertion 2017-06-09 11:18:46 -07:00
William Li
987d4c0b05 Make deb package has linux-x64 content
By build using RID -- linux-x64 and
package publish use HostRID ubuntu etc
2017-06-07 19:55:11 -07:00
John Beisner
eb3beef346 Updates to DEB packaging and publishing. 2017-06-06 15:26:04 -07:00
John Beisner
b0648b1809 Stop producing the 'dotnet-runtime-sdk' packages.
https://github.com/dotnet/cli/issues/6718
2017-06-05 11:50:56 -07:00
John Beisner
78a0b7560d Renaming "dotnet-dev" to "dotnet-sdk" for DEB targets. 2017-06-05 10:48:12 -07:00
Eric Erhardt
7079f047f6 Revert "Temporarily change the runtime deb pkg name to unblock the integration."
This reverts commit f709590402.
2017-06-02 11:05:57 -05:00
Eric Erhardt
f709590402 Temporarily change the runtime deb pkg name to unblock the integration. 2017-06-01 11:35:23 -05:00
Eric Erhardt
4de4ee225b Fix dotnet-deb-tool path. 2017-05-31 17:10:12 -05:00
Eric Erhardt
61c217c6f2 Fix shared framework deb package name in response to https://github.com/dotnet/core-setup/pull/2461 2017-05-24 19:36:39 -05:00
William Lee
4701bcb768 Produce Debian 8 native package (#6604)
* Produce Debian 8 native package

Since Debian is a branch from Ubuntu threat them the same

Tested on Debian 8 VM

* fix file path

* Fix name field in Publish Deb packages

* publish debian 8 native to Azure
2017-05-18 21:33:47 -07:00
Eric Erhardt
928c510c84 Clean up unused build code. 2017-05-11 08:59:38 -05:00
Livar Cunha
9c796bbe6b Refactoring shared item groups between deb and pkg to the same location. 2017-05-03 17:55:34 -07:00
Livar Cunha
1736c388b0 Adding the Asp.Net runtime package store to the SDK pkg for now, since we don't have a separate PKG for it being produced. 2017-05-03 17:38:06 -07:00
William Li
3e42e8233b Add asp.net runtime to SDK deb package
Copy the runtime file to the deb layout folder, the deb tool picks it up
from there
2017-05-03 23:42:06 +00:00
William Li
c9295d1df7 Run dotnet new after install to prime cache for deb
Copy postinst to correct directory

Can only rely on env for get dotnet command

Print telemetry notice anyway
2017-05-03 14:10:30 -07:00
John Beisner
6ada5b7596 Inserting 'AspNetCorePackageStoreLib.wixlib' into the 'dotnet-dev-win' bundles. 2017-05-01 21:42:51 -07:00