468 Commits
Author SHA1 Message Date
Aditya Patwardhan 2c46e3b20f Fix azure file copy issues in release build (#13182)
Co-authored-by: Aditya Patwardhan <Aditya Patwardhan>
# Conflicts:
#	tools/releaseBuild/azureDevOps/templates/mac-package-signing.yml
2020-07-15 12:52:22 -07:00
Travis Plunk cf0cd29f23 Fix Azure File Copy break in AzDevOps (#13173)
# Conflicts:
#	tools/releaseBuild/azureDevOps/WindowsBuild.yml
#	tools/releaseBuild/azureDevOps/templates/json.yml
#	tools/releaseBuild/azureDevOps/templates/linux.yml
#	tools/releaseBuild/azureDevOps/templates/mac-package-signing.yml
#	tools/releaseBuild/azureDevOps/templates/nuget.yml
#	tools/releaseBuild/azureDevOps/templates/upload.yml
2020-07-14 12:21:32 -07:00
Aditya Patwardhan 1385256b54 Build test artifacts for Alpine (#11483) 2020-06-10 10:12:54 -07:00
Aditya Patwardhan 1851c39b98 Add @TylerLeonhardt to PowerShell team list to correct changelog generation (#12927) 2020-06-09 10:32:06 -07:00
Travis Plunk befaba33cd Update the build to sign any unsigned files as 3rd party Dlls - part 2 (#12581) 2020-06-09 09:32:32 -07:00
Aditya Patwardhan bd67662afa Check if Azure Blob exists before overwriting (#12921)
Co-authored-by: Aditya Patwardhan <Aditya Patwardhan>
# Conflicts:
#	tools/releaseBuild/azureDevOps/releaseBuild.yml
2020-06-08 18:09:34 -07:00
Christoph Bergmeister [MVP] 8adbdad674 Pin major Pester version to 4 to prevent breaking changes caused by upcoming release of v5 (#12262)
# Conflicts:
#	.vsts-ci/misc-analysis.yml
#	.vsts-ci/templates/nanoserver.yml
#	build.psm1
2020-06-08 15:04:48 -07:00
Aditya Patwardhan 1ae7bd498c Upgrade APIScan version (#12876)
# Conflicts:
#	tools/releaseBuild/azureDevOps/templates/compliance.yml
2020-06-08 14:32:21 -07:00
Travis Plunk d1ee46744c Update the build to sign any unsigned files as 3rd party Dlls (#12581)
# Conflicts:
#	tools/packaging/packaging.psd1
2020-06-08 14:26:15 -07:00
Travis Plunk cc8f141add backport code for new changelog format. 2020-05-13 12:58:02 -07:00
Travis Plunk 12911bbb40 Update the combined package build to release the daily builds (#10449)
# Conflicts:
#	.vsts-ci/install-ps.yml
#	.vsts-ci/templates/install-ps-phase.yml
#	tools/install-powershell.ps1
#	tools/releaseBuild/azureDevOps/templates/windows-build.yml
2020-05-13 11:40:54 -07:00
Aditya Patwardhan 600436ae3a Refactor packaging pipeline (#11852)
Co-authored-by: Travis Plunk <travis.plunk@microsoft.com>
Co-authored-by: Dongbo Wang <dongbow@microsoft.com>

# Conflicts:
#	tools/releaseBuild/azureDevOps/releaseBuild.yml
2020-05-13 11:24:21 -07:00
Travis Plunk 3ceddd0dce Move to standard internal pool for building (#12119)
# Conflicts:
#	tools/releaseBuild/azureDevOps/templates/nuget.yml
2020-05-12 10:52:27 -07:00
Aditya Patwardhan 3e28403c20 Merged PR 10792: Fix path for getting reference assemblies
Fix path for getting reference assemblies
2020-01-21 19:07:26 +00:00
Travis Plunk 5bea9ef2d9 Update to use TSAv2 (#9914) 2020-01-21 08:11:10 -08:00
Dongbo Wang 82fc0f7580 Make Add-Type usable in application that hosts PowerShell (#10587) 2020-01-17 16:53:54 -08:00
Travis Plunk 67094325a2 Add automated RPM signing to release build (#10013) 2019-07-08 10:48:07 -07:00
Aditya Patwardhan 042870b229 Update copyright symbol for NuGet packages (#9936) 2019-07-08 10:47:48 -07:00
Travis Plunk f4aec00216 Enable building of msix package (#9289) (#9715)
Add support in packaging.psm1 to produce a .msix AppX package.  Update the docker image to use the new msix package type.  Update the associated yml files so AzDevOps performs the build.

## PR Context

Enable publishing PSCore6 to Microsoft Store
2019-05-23 16:28:06 -07:00
Aditya Patwardhan 2d1fc730c7 Merged PR 8394: Port release automation changes into 6.2.1 2019-05-15 00:12:12 +00:00
Steve Lee 193eeea1cb Add Preview assets for msix (#9375)
# Conflicts:
#	tools/packaging/packaging.psm1
2019-05-13 14:51:32 -07:00
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
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
Steve LeeandTravis 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
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 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
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
Reece Dunham 3bf36c1cba Disable Homebrew analytics in macOS VSTS builds (#9130) 2019-03-21 14:14:46 -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
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
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
Aditya Patwardhan 2bbc0e2db1 Update docs for 6.2.0-rc.1 release (#9022) 2019-03-13 13:02:50 -07:00
Travis Plunk 2a2ffd5955 Fix MSI Upgrade failure for preview builds (#9013) 2019-02-28 14:10:01 -08: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
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