Commit Graph
6984 Commits
Author SHA1 Message Date
Staffan Gustafsson cb49c77591 Adding CmdletsToExport and AliasesToExport to test module manifests. (#9108) 2019-03-21 14:22:36 -07:00
Travis Plunk 289ac4f551 Add tests for command globbing (#9180)
Add tests for command globbing
  - Also, add `-noprofile` to places where `pwsh` is launched so they don't fail locally.
2019-03-21 14:18:23 -07:00
Aditya Patwardhan 818c7de89c Performance improvements for release build (#9179)
This PR optimizes the download tasks to reduce build times. After the change we see a order of magnitude reduction in download times for Windows package signing and also the compliance tasks.

In addition to that the PR also makes changes to organize the build artifacts in folders.
2019-03-21 14:17:49 -07:00
dependabot[bot] 21e662010f Build(deps): Bump NJsonSchema from 9.13.25 to 9.13.26 (#9184)
Bumps [NJsonSchema](https://github.com/rsuter/NJsonSchema) from 9.13.25 to 9.13.26.
- [Release notes](https://github.com/rsuter/NJsonSchema/releases)
- [Commits](https://github.com/rsuter/NJsonSchema/commits)

Signed-off-by: dependabot[bot] <support@dependabot.com>
2019-03-21 14:17:35 -07:00
Aditya Patwardhan a8c6f1bd60 Add tsaVersion property as TsaV1 for compliance build phase (#9176)
Add the tsaVersion property with values as TsaV1 as it defaults to v2 instead. We explicitly need v1.
2019-03-21 14:17:25 -07:00
Aditya Patwardhan 1b1ae6df62 Publish global tool packages to pwshtool blob and bug fixes (#9163) 2019-03-21 14:17:17 -07:00
Travis Plunk 8f9666fe2d Translate Skipped the test results into something Azure DevOps does NOT understand (#9124) 2019-03-21 14:17:06 -07:00
dependabot[bot] 4f30e15999 Build(deps): Bump NJsonSchema from 9.13.24 to 9.13.25 (#9172)
Bumps [NJsonSchema](https://github.com/rsuter/NJsonSchema) from 9.13.24 to 9.13.25.
- [Release notes](https://github.com/rsuter/NJsonSchema/releases)
- [Commits](https://github.com/rsuter/NJsonSchema/commits)

Signed-off-by: dependabot[bot] <support@dependabot.com>
2019-03-21 14:16:57 -07:00
dependabot[bot] 18b8100737 Build(deps): Bump NJsonSchema from 9.13.23 to 9.13.24 (#9166) 2019-03-21 14:16:40 -07:00
Reece Dunham 3bf36c1cba Disable Homebrew analytics in macOS VSTS builds (#9130) 2019-03-21 14:14:46 -07:00
dependabot[bot] 19de092977 Build(deps): Bump PowerShellGet from 2.1.0 to 2.1.2 in /src/Modules (#9145) 2019-03-21 14:14:35 -07:00
dependabot[bot] da9be4bb07 Build(deps): Bump NJsonSchema from 9.13.22 to 9.13.23 (#9136) 2019-03-21 14:14:35 -07:00
Dongbo Wang 775a2ebbdf Make 'Start-Job' throw terminating error when PowerShell is being hosted (#9128) 2019-03-21 14:14:23 -07:00
Joel Sallow (/u/ta11ow) ea4bf50623 Fix -NoEnumerate behaviour in Write-Output (#9069)
Fix is to preserve input collection type in output.
The regression was caused by #2038
2019-03-13 13:32:51 -07:00
Reece Dunham 9356002d25 Remove appveyor references from packaging tools (#9117)
Removes appveyor stuff


## PR Context

<!-- Provide a little reasoning as to why this Pull Request helps and why you have opened it. -->
#8686 , appveyor removed
2019-03-13 13:29:45 -07:00
Bram Crielaard a64bac20e7 Add source for install-package to install netDumbster (#9081)
# Conflicts:
#	test/powershell/Modules/Microsoft.PowerShell.Utility/Send-MailMessage.Tests.ps1
2019-03-13 13:27:44 -07:00
Reece Dunham 722397b5e5 Fixed Dockerfile syntax highlighting (#8991)
The `f` in Dockerfile is not uppercase, this breaks syntax highlighting for vscode on my client
<!-- Summarize your PR between here and the checklist. -->

## PR Context
`DockerFile` breaks syntax highlighting as mentioned and described above.
<!-- Provide a little reasoning as to why this Pull Request helps and why you have opened it. -->
2019-03-13 13:25:35 -07:00
Aditya Patwardhan fb82019c4a Fix dependencies of nuget build to wait on DEB uploads to finish (#9118)
The NuGet build task should wait on uploads for DEB job to complete.

## PR Context

There is a race condition when the build for DEB is completed but the upload has not. If the NuGet build job starts it may not get all the packages needed for building nuget packages.
2019-03-13 13:22:00 -07:00
James Truher [MSFT] f80a0053e7 Fix tab completion test to handle multiple matches (#8891) 2019-03-13 13:20:50 -07:00
dependabot[bot] 4258c6c514 Build(deps): Bump PowerShellGet from 2.0.4 to 2.1.0 in /src/Modules (#9110) 2019-03-13 13:20:35 -07:00
Travis Plunk 3bc6e3cca4 Refactor macOS CI so that tests run in parallel (#9056)
Refactor macOS CI so that tests run in parallel 
  - Also:
    - Fix bootstrap issue where curl was failing for a month (so obviously not needed)
    - Change Windows test stages to use PowerShell Core (where we can) to avoid compat issues

## PR Context

This allows running all tests in about the same about of clock time.
2019-03-13 13:20:18 -07:00
Travis Plunk f8174e8c8f Fix artifact Download issue in release build (#9095)
Fix artifact Download issue in release build
2019-03-13 13:14:57 -07:00
Reece Dunham 93a777ad7f Comment cleanup in releaseTools.psm1 (#9064) 2019-03-13 13:13:48 -07:00
Dongbo Wang fefe5638e7 Update the task-based async APIs added to PowerShell to return a Task object directly (#9079)
Update the task-based async APIs added to PowerShell to not use the `aysnc/await` keywords, but to return a `Task` object directly.
There is nothing to continue on after the `Task.Factory.FromAsync` call in those methods, so there is not need to use `aysnc` and `await` keywords, which turns the method into a state machine class unnecessarily.
2019-03-13 13:13:11 -07:00
Kirk Munro 7482cbf5aa Add 5 'InvokeAsync' overloads and 'StopAsync' to the 'PowerShell' type (#8056) 2019-03-13 13:09:25 -07:00
Aditya Patwardhan 815a272437 Publish test package on release builds (#9063)
# Conflicts:
#	tools/releaseBuild/azureDevOps/diagram.puml
#	tools/releaseBuild/azureDevOps/diagram.svg
2019-03-13 13:07:51 -07:00
Reece Dunham a4517c015b Added RequireSudoOnUnix tags to PowerShellGet tests and unmark as pending (#8954) 2019-03-13 13:03:46 -07:00
dependabot[bot] 9b39b1bc4f Build(deps): Bump SelfSignedCertificate in /test/tools/Modules (#9055) 2019-03-13 13:02:58 -07:00
Aditya Patwardhan 2bbc0e2db1 Update docs for 6.2.0-rc.1 release (#9022) 2019-03-13 13:02:50 -07:00
Aditya Patwardhan 7747ed67d2 Update version for PowerShell.Native and hosting tests (#8983) 2019-03-13 13:02:07 -07:00
dependabot[bot] 10020ca71f Build(deps): Bump NJsonSchema from 9.13.19 to 9.13.22 (#9044)
Bumps [NJsonSchema](https://github.com/rsuter/NJsonSchema) from 9.13.19 to 9.13.22.
- [Release notes](https://github.com/rsuter/NJsonSchema/releases)
- [Commits](https://github.com/rsuter/NJsonSchema/commits)

Signed-off-by: dependabot[bot] <support@dependabot.com>
2019-03-13 13:02:06 -07:00
Ilya 6912a91d0f Pending NamedPipeConnectionInfo test (#9003)
Related #8971. Pending the test until we fix a root case of failure.
2019-03-13 12:55:43 -07:00
mjanko5 477ad564b6 Add test for -WhatIf for New-FileCatalog (#8966) 2019-03-13 12:55:29 -07:00
Travis Plunk f38df876e4 Merged PR 7298: Update Change log
Add the new commits
v6.2.0-rc.1
2019-03-04 21:28:18 +00:00
Aditya Patwardhan b2a8a733de Remove unused cached types (#9015)
These types are not used in PowerShell code base and should be removed.

## PR Context

The dotnet 3.0.100-preview3-010406 version added overloads to `string.get_Chars` and hence we cannot resolved which overload to load. Thus, we get an type load exception.

Since we are no using this type, it is better to remove it.
2019-02-28 17:28:44 -08:00
dependabot[bot] 4de93e8b64 Build(deps): Bump Markdig.Signed from 0.15.7 to 0.16.0 (#8981) 2019-02-28 14:10:30 -08:00
Travis Plunk 2a2ffd5955 Fix MSI Upgrade failure for preview builds (#9013) 2019-02-28 14:10:01 -08:00
Travis Plunk 991929ce46 Merged PR 7283: RC.1 change log
draft rc1 change log
2019-02-28 20:33:19 +00:00
Aditya Patwardhan fb05169a51 Build Global tool for PowerShell and SDK container (#8984)
* Add shim dll to redirect to appropriate runtime
* Build updates for creating global tool package
* Add building global tool to nuget.yml
* Add azure upload of nuget packages
2019-02-26 12:56:29 -08:00
Ilya 31699be223 Change label in doc issue template (#8895)
CL-* is used only for ChangeLog automation.
2019-02-26 12:35:18 -08:00
Travis Plunk dc8aed97dc Make test file result names unique (#8979)
Make test file result names unique
  - Also, remove dead code that I found during investigation

Fixes #8978

## PR Context

Making the filenames unique, ensures that we can download the results from the artifacts and do our own processing of the results.
2019-02-25 15:18:26 -08:00
Travis Plunk 54ee33d759 Add variable to control the version of the signing task we use (#8982) 2019-02-25 15:06:01 -08:00
Aditya Patwardhan 76e8091513 Publish test and code coverage artifacts for daily builds (#8955) 2019-02-25 13:03:06 -08:00
Aditya Patwardhan 81d37fcb84 Integrate building NuGet package in the coordinated build (#8947) 2019-02-25 09:57:20 -08:00
Dongbo Wang 5d54f1aa38 Make xUnit tests run sequentially to avoid race conditions caused by manipulating 'powershell.config.json' in tests (#8945) 2019-02-22 11:57:10 -08:00
Tyler James Leonhardt 23eccfd641 [feature] Add -CustomPipeName to pwsh and Enter-PSHostProcess (#8889)
This allows a user to start PowerShell up with the name of the named pipe that is used for cross process communication (I.e. Enter-PSHostProcess).
2019-02-22 23:40:03 +05:00
dependabot[bot] 63acf6812f Build(deps): Bump NJsonSchema from 9.13.18 to 9.13.19 (#8952) 2019-02-22 09:44:56 -08:00
Andrea Spadaccini af86157855 Fix typo: aganist ➜ against (#8943) 2019-02-22 18:46:31 +05:00
Ilya 778920bbc4 Use verbatim string literals for paths (#8937) 2019-02-22 11:35:32 +05:00
Victor Silva a4d2f0b701 Update the "dir -recurse" example (#8939) 2019-02-22 08:04:40 +05:00