Commit graph

154 commits

Author SHA1 Message Date
Livar Cunha
e1916cc4dc Merge remote-tracking branch 'dotnet/release/15.5' into merges/release/15.5-to-master-20171016-070031
* dotnet/release/15.5: (21 commits)
  Manually merging some changes that git merged wrong and deleted from the 15.5 branch.
  Separating the 'legacy' URL construction from the 'current' URL construction methods and logic.
  Use temporary path for fake deps.json in test
  Use same build number for roslyn and F# satellites
  Updating Roslyn satellites and SDK versions
  Insert NuGet Build 4.5.0-preview2-4529 into cli
  Update NuGet to 4529 (signed)
  MSBuild 15.5.154
  MSBuild 15.5.153
  removed commented out config I'd meant to remove
  added a way to specify the asp.net template versions
  Porting 'dotnet-install.sh' from CLI:master to CLI:release/2.0.0
  'NuGet.master.config' does not appear to be used.
  Fixed tests
  Update branch info to release/15.5
  Updating the websdk version to 2.0.0-rel-20171010-665
  Insert NuGet Build 4.5.0-preview1-4526 into cli
  Update DependencyVersions.props
  Updated version of TestPlatform to 15.5.0-preview-20170923-02
  MSBuild 15.4.8
  ...
2017-10-16 15:42:40 -07:00
John Beisner
3d52d24058 Separating the 'legacy' URL construction from the 'current' URL construction methods and logic. 2017-10-13 09:43:04 -07:00
John Beisner
282de2bfe2 Porting 'dotnet-install.sh' from CLI:master to CLI:release/2.0.0 2017-10-11 10:53:53 -07:00
David Ben Knoble
8d671caef4 Remove unnecessary quotes per review 2017-10-04 15:33:45 -04:00
David Ben Knoble
0ee5b46cd7 Remove copy logging; unquote override_switch
The copy logging is no longer needed (cf. 191ffece6)

The quotes around the override switch caused cp to see "" as a target
2017-10-04 12:06:29 -04:00
David Ben Knoble
191ffece69 Log copying during dotnet-install.sh
There's an issue copying some of the files and I can't identify it
specifically. I need to see it in the test output.

I will revert this when I have identified and fixed the problem.
2017-10-04 09:42:12 -04:00
David Ben Knoble
b8e179501f Quote variable expansions in dotnet-install.sh
Fix #5281 to prevent paths with spaces from causing problems due to word
splitting.
2017-10-03 19:24:02 -04:00
Livar Cunha
4bd9bb92cc Merge remote-tracking branch 'dotnet/release/2.0.0' into merges/release/2.0.0-to-master-20170927-070027
* dotnet/release/2.0.0: (29 commits)
  Updating the CLI branding to 2.0.3
  Fixing merges.
  Removing the trailing '\r' for bash shells; commit hash.
  Removing the trailing '\r' for bash shells. https://github.com/dotnet/cli/issues/7392
  Changing ItAddsFxVersionAsAParamWhenTheToolHasThePrefercliruntimeFile to expect 2.0.0 as the runtime version.
  Fixing 'librarypath'
  Update the installation scripts in release/2.0.0 branch.
  Insert SDK 2.0.2-vspre-20170921-5
  Insert SDK 2.0.2-vspre-20170915-1
  MSBuild 15.4.7
  Updating the websdk version to 2.0.0-rel-20170908-653
  Insert NuGet Build 4.4.0-preview3-4475 into cli
  Remove out of support ubuntu1610
  Removing extra line feeds...
  Turning on the NuPkg publishing from Win x86
  The enumeration of the nupkg packages depends on that the creation of packages has already occurred.
  Trivial change to start a VSO build
  Push the 'VS.Redist.Common.Net.Core.SDK*.nupkg' packages to blob storage.
  Remove EOL openSuSE 42.1
  Trigger build
  ...
2017-09-27 14:35:00 -07:00
John Beisner
38b88c99f1 Removing the trailing '\r' for bash shells; commit hash. 2017-09-26 08:32:11 -07:00
John Beisner
572d2367df Removing the trailing '\r' for bash shells.
https://github.com/dotnet/cli/issues/7392
2017-09-25 19:41:58 -07:00
John Beisner
44326a0a64 Fixing 'librarypath' 2017-09-22 14:16:08 -07:00
John Beisner
0722cce590 Update the installation scripts in release/2.0.0 branch. 2017-09-22 11:25:15 -07:00
Jan Vorlicek
41ae8a0f3c Fix issues caused by adding RHEL6 support
There were two issues. One was that additional arguments that are not
recognized by the build.sh script were incorrectly passed as a single
argument in single-quotes to msbuild.
The second issue was that when LD_LIBRARY_PATH was not set, the
dotnet-install.sh script was failing due to its using of the "set -u"
option that prevents usage of unset variables.
2017-09-22 17:51:30 +00:00
Jan Vorlicek
90e217831b Enable RHEL 6 support
This change enables RHEL 6 support. It also adds a new command line option to the
run-build.sh script that enables passing in a folder containing a bootstrap CLI.
This helps in bringup of new target platforms.
2017-09-21 15:20:55 +00:00
John Beisner
a5c2cf4faa Logic error...fixing. 2017-09-18 13:05:43 -07:00
John Beisner
5c620978c1 https://github.com/dotnet/cli/issues/6747 2017-09-18 11:54:20 -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
e0172b5689 Changes per code review... 2017-08-31 13:40:32 -07:00
John Beisner
8a150f89a3 Miscellaneous script fixes... 2017-08-31 13:18:42 -07:00
John Beisner
735188e023 Merge pull request #7377 from mikeharder/mikeharder/libcurl
Add prereq check for libcurl
2017-08-31 09:27:22 -07:00
Nick Guerrera
4f6a2ae0a2 Merge pull request #7515 from natemcmaster/non-versioned-files
Add -SkipNonVersionedFiles to dotnet-install.{sh,ps1}
2017-08-28 21:50:12 -07:00
John Beisner
9af126356b Merge pull request #6981 from dotnet/namc/output
Change usages of Write-Output to Write-Host
2017-08-28 11:55:37 -07:00
Nate McMaster
7586ad844d Add -SkipNonVersionedFiles to dotnet-install.{sh,ps1} 2017-08-24 14:06:38 -07:00
Daniel Plaisted
83f9a374d3 Fix dotnet-install script when latest version file for channel is returned as application/octet-stream 2017-08-14 18:05:30 -07:00
Daniel Plaisted
8c5e955252 Fix dotnet-install script when latest version file for channel is returned as application/octet-stream 2017-08-14 18:05:04 -07:00
Mike Harder
bc6c795338 Add prereq check for libcurl 2017-08-04 16:28:28 -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
Nate McMaster
be47c19b43 Remove line that only writes "C:" to console output 2017-06-28 17:25:57 -07:00
Nate McMaster
38f8f5b548 Correct usages of Write-Output with Write-Host 2017-06-21 16:20:51 -07:00
John Beisner
47988952ac Updating the links in the README; fixing the installation script. 2017-06-15 15:25:41 -07:00
jbeisner
add33234a5 Merge pull request #6857 from johnbeisner/RuntimeCoherence
Enable creation and consumption of a 'coherent' pointer
2017-06-15 10:22:40 -07:00
John Beisner
c497bf498f Write a 'latest.coherent.version' file at blob storage so users have a 'coherent' option to SDK installations. 2017-06-13 16:45:29 -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
John Beisner
b92c63c4d3 Fixing a conditional. 2017-06-12 09:38:02 -07:00
John Beisner
5eae1a3a31 Fixing logic; variable name. 2017-06-12 09:31:09 -07:00
John Beisner
cd753db228 Default channel=LTS
Clarify nomenclature from "alternate" to "legacy"
Skip construction of legacy URL if it's flawed.
2017-06-09 12:00:29 -07:00
John Beisner
ce61070a69 Updates to install scripts to consume the renaming packages at blob storage. Unpinning the CLI build from a specific version. 2017-06-07 10:18:05 -07:00
John Beisner
ed65b2bc9c Runtime download link missing the "runtime" identifier. 2017-05-31 08:35:00 -07:00
John Beisner
a53424cc04 Fixing an OSx break: "osname: unbound variable" 2017-05-30 11:37:34 -07:00
John Beisner
b48b7d2ea0 .NET Core 2+ Naming and Versioning
New file name structure for the runtime and the CLI
per: https://github.com/dotnet/designs/issues/2

The renaming of assets, therefore the dotnet installation scripts must change to accommodate.

Trivial:
"Write-Host" should be "Write-Output"
2017-05-26 15:46:56 -07:00
jbeisner
911236d964 Merge pull request #6664 from johnbeisner/InstallScripts
Linux distro update for dotnet-install.sh; et al.
2017-05-23 17:28:29 -07:00
John Beisner
d3373d9459 Removing unused parameters.; ".StartsWith" method for strings is not always present. 2017-05-23 16:41:46 -07:00
John Beisner
229518b486 Default channel in the install scripts; dotnet-install.ps1 and dotnet-install.sh = “release/1.0.0”
For the Runtime: resolves to: 1.0.5
For the SDK: resolves to: 1.0.4
2017-05-23 15:09:31 -07:00
John Beisner
1ded4f11e3 Forcing 'curl' to return an usable exitcode. 2017-05-23 11:28:38 -07:00
John Beisner
6222e66a07 Changes per code review - stronger download failure logic. 2017-05-23 10:45:15 -07:00
John Beisner
1fe96fd86e Changes per additional manual testing on ubuntu-x64 2017-05-23 08:15:41 -07:00
John Beisner
283bff55ce Changes per manual testing on Windows-x64 2017-05-22 16:17:31 -07:00
John Beisner
cff302d678 Changes per manual testing on ubuntu-x64 2017-05-22 14:15:43 -07:00
John Beisner
3db157aba6 First draft changes for install script for the SDK and Runtime. 2017-05-22 12:53:52 -07:00