Aditya Patwardhan
7929074e2e
Create codecoverage and test packages for non-windows ( #9373 )
...
Refactor the `ci.psm1` to publish the code coverage and test packages.
Allow `CodeCoverage` configuration on non-windows.
## PR Context
We plan to run code coverage on Windows, Linux and macOS. These changes are needed to unblock those runs.
2019-05-13 14:51:32 -07:00
Aditya Patwardhan
cf9d6b5dd5
Fix publishing daily nupkg to MyGet ( #9269 )
...
# Conflicts:
# .vsts-ci/windows.yml
2019-05-13 14:51:31 -07:00
dependabot[bot]
ae6b9743f2
Build(deps): Bump gulp from 4.0.1 to 4.0.2 in /test/common/markdown ( #9545 )
2019-05-13 14:04:25 -07:00
dependabot[bot]
abb7c8859b
Build(deps): Bump PackageManagement from 1.3.1 to 1.3.2 in /src/Modules ( #9568 )
...
Bumps PackageManagement from 1.3.1 to 1.3.2.
Signed-off-by: dependabot[bot] <support@dependabot.com >
2019-05-09 10:12:38 -07:00
dependabot[bot]
60498ca01a
Build(deps): Bump NJsonSchema from 9.13.36 to 9.13.37 ( #9524 )
2019-05-02 15:12:49 -07:00
dependabot[bot]
a4ee670f5a
Build(deps): Bump NJsonSchema from 9.13.35 to 9.13.36 ( #9477 )
2019-04-26 15:28:06 -07:00
dependabot[bot]
20970af898
Build(deps): Bump gulp from 4.0.0 to 4.0.1 in /test/common/markdown ( #9443 )
2019-04-25 16:28:42 -07:00
dependabot[bot]
817dac37e4
Build(deps): Bump Newtonsoft.Json ( #9432 )
...
Bumps [Newtonsoft.Json](https://github.com/JamesNK/Newtonsoft.Json ) from 12.0.1 to 12.0.2.
- [Release notes](https://github.com/JamesNK/Newtonsoft.Json/releases )
- [Commits](https://github.com/JamesNK/Newtonsoft.Json/compare/12.0.1...12.0.2 )
Signed-off-by: dependabot[bot] <support@dependabot.com >
2019-04-24 19:25:36 +05:00
dependabot[bot]
630a5cf49a
Build(deps): Bump NJsonSchema from 9.13.34 to 9.13.35 ( #9442 )
2019-04-22 14:42:29 -07:00
dependabot[bot]
860ba95227
Build(deps): Bump Newtonsoft.Json from 12.0.1 to 12.0.2 ( #9433 )
2019-04-22 10:38:20 -07:00
dependabot[bot]
54a6ff3a4c
Build(deps): Bump NJsonSchema from 9.13.31 to 9.13.34 ( #9422 )
2019-04-20 13:12:32 -07:00
dependabot[bot]
85573311b0
Build(deps): Bump NJsonSchema from 9.13.30 to 9.13.31 ( #9410 )
2019-04-18 16:09:53 -07:00
dependabot[bot]
26b2a87aac
Build(deps): Bump NJsonSchema from 9.13.29 to 9.13.30 ( #9389 )
2019-04-17 15:14:55 -07:00
dependabot[bot]
97a4f61787
Build(deps): Bump NJsonSchema from 9.13.27 to 9.13.29 ( #9365 )
...
Bumps [NJsonSchema](https://github.com/rsuter/NJsonSchema ) from 9.13.27 to 9.13.29.
- [Release notes](https://github.com/rsuter/NJsonSchema/releases )
- [Commits](https://github.com/rsuter/NJsonSchema/commits )
Signed-off-by: dependabot[bot] <support@dependabot.com >
2019-04-17 08:54:05 +05:00
dependabot[bot]
0ea1c4fd93
Build(deps): Bump System.Net.Http.WinHttpHandler from 4.5.2 to 4.5.3 ( #9367 )
...
Bumps [System.Net.Http.WinHttpHandler](https://github.com/dotnet/corefx ) from 4.5.2 to 4.5.3.
- [Release notes](https://github.com/dotnet/corefx/releases )
- [Commits](https://github.com/dotnet/corefx/commits )
Signed-off-by: dependabot[bot] <support@dependabot.com >
2019-04-17 08:05:15 +05:00
Steve Lee and Travis Plunk
9a2ed974fd
Fix skipping of tests in RemoteSession.Basic.Tests.ps1 ( #9304 )
...
Moved check if able to write to $PSHome as way to skip test to `BeforeAll` which already contained a check if running on Windows.
## PR Context
As part https://github.com/PowerShell/PowerShell/pull/9279 , tests were updated to be skipped if the test requires writing to `$PSHome` but is not able to. However, these tests already had a skip mechanism in place so the additional check caused the test to run when it should have skipped.
Co-authored-by: Travis Plunk <github@ez13.net >
2019-04-15 14:29:52 -07:00
Steve Lee and Travis Plunk
efe9f99f1a
Update tests to account for when $PSHOME is readonly ( #9279 )
...
Co-Authored-By: SteveL-MSFT <slee@microsoft.com >
Co-authored-by: Travis Plunk <travis.plunk@microsoft.com >
2019-04-15 14:29:42 -07:00
Travis Plunk
5f53274ba7
Mark tests in macOS CI which use applescript as pending/inconclusive ( #9352 )
...
Mark tests in macOS CI which use applescript as pending/inconclusive
# Conflicts:
# build.psm1
2019-04-15 13:21:49 -07:00
Aditya Patwardhan
276c84d171
Add AcessToken variable to jobs that perform signing ( #9351 )
2019-04-15 13:20:06 -07:00
Aditya Patwardhan
921dec58ac
Create test package for macOS on release builds ( #9344 )
2019-04-15 13:19:44 -07:00
Travis Plunk
20419b86eb
Update repo for Ubuntu 14.04 EOL ( #9324 )
...
Update repo for Ubuntu 14.04 EOL
- also remove a missed instance of Fedora 27
# Conflicts:
# README.md
2019-04-15 13:19:01 -07:00
Travis Plunk
340f66ca6e
Add component detection to all jobs ( #8964 )
...
Add component detection to all jobs.
2019-04-15 13:17:35 -07:00
Travis Plunk
7b40c5e17d
Make sure non-Windows CI fails when a test fails ( #9303 )
...
Make sure non-Windows CI fails when a test fails
## PR Context
We discovered that some tests were failing after a PR and the CI was not failing
# Conflicts:
# tools/ci.psm1
2019-04-15 13:17:06 -07:00
Aditya Patwardhan
ac76c65ff1
Move artifacts to artifact staging directory before uploading ( #9273 )
2019-04-15 13:11:09 -07:00
Aditya Patwardhan
370f5a7eb1
Merged PR 7747: Update the changelog with release date
v6.2.0
2019-03-28 18:48:25 +00:00
Aditya Patwardhan
513029a356
Update release date
2019-03-28 10:35:44 -07:00
Travis Plunk
a79bda1116
Merged PR 7680: 6.2.0 Changelog
...
draft changelog
2019-03-27 21:10:59 +00:00
Travis Plunk
1fd69de8e9
Fix spelling
2019-03-26 11:24:08 -07:00
Travis Plunk
194bb3915e
Address PR Feedback
2019-03-26 11:19:27 -07:00
Travis Plunk
e9a3899516
draft changelog
2019-03-25 17:44:57 -07:00
Paul Higinbotham
fc87a3b0a5
Add psremoting enable/disable cmdlet warning messages ( #9203 )
...
Adds warning messages to the Enable-PSRemoting and Disable-PSRemoting cmdlets that informs the user that the cmdlets only affect PSCore6 remoting endpoint configurations and not Windows PowerShell configurations.
PR Context
As documented, Enable-PSRemoting and Disable-PSRemoting affects all PowerShell remoting on a Windows system, and Windows users will likely expect the cmdlets to continue working this way in PSCore6. However, these cmdlets currently affect only PSCore6 remoting endpoints when run in PSCore6 and have no effect on Windows remoting endpoints.
2019-03-25 10:02:34 -07:00
dependabot[bot]
52ff03f392
Build(deps): Bump NJsonSchema from 9.13.26 to 9.13.27 ( #9196 )
...
Bumps [NJsonSchema](https://github.com/rsuter/NJsonSchema ) from 9.13.26 to 9.13.27.
- [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-25 10:01:45 -07:00
Travis Plunk
566f4da5b5
Make Linux CI parallel ( #9209 )
...
Make the Linux CI build once and then run the tests on 4 different machines, by tag.
## PR Context
Running in parallel allows us to run all tests in about the same amount of clock time
2019-03-25 10:01:24 -07:00
Steve Lee and Travis Plunk
9e608ac55f
Enable SecureString cmdlets for non-Windows ( #9199 )
...
On Unix systems, fallback to plaintext manipulation instead of using the DPAPI which is not available.
## PR Context
Currently, existing scripts that use SecureString cmdlets fail with an error complaining about crypt32.dll not being available. This change allows these cmdlets to be used, but there is no encryption of the string.
.Net already [states](https://docs.microsoft.com/en-us/dotnet/api/system.security.securestring?view=netcore-2.1#remarks ) that the contents of a SecureString are not encrypted on .Net Core.
Fix https://github.com/PowerShell/PowerShell/issues/1654
Co-authored-by: Travis Plunk <travis.plunk@microsoft.com >
2019-03-25 10:01:11 -07:00
dependabot[bot]
d4eed9ea2a
Build(deps): Bump Microsoft.PowerShell.Native from 6.2.0-rc.1 to 6.2.0 ( #9200 )
2019-03-25 10:00:57 -07:00
Travis Plunk
f581ea657d
Add Obsolete message to Send-MailMessage ( #9178 )
...
Add Obsolete message to Send-MailMessage
## PR Context
See https://github.com/PowerShell/PowerShell-RFC/pull/160
Co-authored-by: Steve Lee <slee@microsoft.com >
Co-authored-by: Ilya <darpa@yandex.ru >
# Conflicts:
# test/powershell/Modules/Microsoft.PowerShell.Utility/Send-MailMessage.Tests.ps1
2019-03-25 10:00:42 -07:00
Aditya Patwardhan
6be91aade6
Fix Restart-Computer to work on localhost when WinRM is not present ( #9160 )
2019-03-21 14:30:44 -07:00
Paul Higinbotham
6ea736c7c3
Fix for FormatTable remote deserialization regression ( #9116 )
2019-03-21 14:29:33 -07:00
Travis Plunk
e0d5dfd828
Fix Enter-PSHostProcess tests flakiness ( #9007 )
2019-03-21 14:28:49 -07:00
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