Make Travis CI use libcurl+openssl+gssapi for macOS #5629

Merged
merged 4 commits into from Dec 6, 2017

Conversation

Projects
None yet
3 participants
Collaborator

markekraus commented Dec 5, 2017

Closes #5590

  • makes Travis CI use the brew installed libcurl that uses OpenSSL for the crypto provider and include the gssapi option. The native libcurl provides inconsistent feature support across OS versions.
  • re-enable tests marked pending in #5605
  • GSSAPI is required for PowerShellGet in order to support HttpClientHandler.UseDefaultCredentials which it sets as true (unless you supply credentials).

PR Checklist

Note: Please mark anything not applicable to this PR NA.

PR Summary

@markekraus markekraus changed the title from Make Travis CI use libcurl+openssl to Make Travis CI use libcurl+openssl+gssapi Dec 5, 2017

Collaborator

markekraus commented Dec 5, 2017

yay.. all passed this time.

So.. the question is where do I document this at? in the web cmdlets documentations? somewhere in this repo (install documentation)? both?

Member

daxian-dbw commented Dec 5, 2017

We need to document it in the web cmdlets help content, and point out what parameters are affected by this. docs/FAQ.md might also be a good place to keep this information.

markekraus added some commits Dec 5, 2017

One comment about another issue this PR brings up, Please file an issue or submit a PR for this and link in this PR.

CHANGELOG.md
@@ -5,6 +5,8 @@
- Update the contribution guideline to note that updating the changelog is required. (#5586)
- Remove Pester as a module include with the PowerShell Packages.
In the future, you should be able to add it by running `Install-Module Pester`. (#5623, #5631)
+- Make Travis CI use `libcurl+openssl` (#5629, @markekraus)
+- Make Travis CI use `libcurl+openssl+gssapi` (#5629, @markekraus)
@TravisEz13

TravisEz13 Dec 6, 2017

Member

should only have one line for a single PR

@@ -1533,7 +1533,7 @@ function Start-PSBootstrap {
Start-NativeExecution { brew install $Deps } -IgnoreExitcode
# Install patched version of curl
- Start-NativeExecution { brew install curl --with-openssl } -IgnoreExitcode
+ Start-NativeExecution { brew install curl --with-openssl --with-gssapi } -IgnoreExitcode
@daxian-dbw

daxian-dbw Dec 6, 2017

Member

We need to figure out what to do with the powershell package about this limitation on macOS.
CoreCLR has explicitly moved away from OpenSSL on mac, see this PR: dotnet/corefx#17011.
Please open an issue to track the macOS packaging about this.

@daxian-dbw daxian-dbw self-assigned this Dec 6, 2017

Member

daxian-dbw commented Dec 6, 2017

I didn't add the [feature] tag when resolving a conflict. Add the [feature] to trigger full test run.

@daxian-dbw daxian-dbw merged commit ee7fbed into PowerShell:master Dec 6, 2017

3 checks passed

continuous-integration/appveyor/pr AppVeyor build succeeded
Details
continuous-integration/travis-ci/pr The Travis CI build passed
Details
license/cla All CLA requirements met.
Details

@daxian-dbw daxian-dbw changed the title from Make Travis CI use libcurl+openssl+gssapi to Make Travis CI use libcurl+openssl+gssapi for macOS Dec 6, 2017

TravisEz13 added a commit to TravisEz13/PowerShell that referenced this pull request Dec 7, 2017

@TravisEz13 TravisEz13 referenced this pull request Dec 7, 2017

Merged

Move 6.0.0 rc.2 changes #5646

@TravisEz13 TravisEz13 added this to the 6.0.0-RC.2 milestone Dec 8, 2017

@markekraus markekraus deleted the markekraus:macOsLibcurlFix branch Jan 19, 2018

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment