Commit Graph
459 Commits
Author SHA1 Message Date
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
Reece Dunham c14d5dd67f Remove some of the last AppVeyor references (#8867)
This removes some of the last mentions of the AppVeyor name.  Don't change the title, we don't want the word to appear in the CLs
Also problem: the last references are in the changelogs but I don't want to modify them without committee approval.  

## PR Context  

it was removed, #8686
2019-02-19 12:44:00 -08:00
Travis Plunk 93f33bb0d3 Update stable version to 6.1.3 (#8902) 2019-02-19 11:07:46 -08:00
Travis Plunk af4e8117df Support release branches based on the forward slash separator (#8903) 2019-02-19 10:47:39 -08:00
Travis Plunk a7f798575d Parallelize the windows CI to enable us to run all tests all the time (#8868)
Split Windows CI into the following Jobs

1. Combine Build and xUnit, which published build artifact
1. Elevated CI tests
1. Unelevated CI test
1. Elevated everything else tests
1. Unelevated everything else tests
1. Package build and test
1. Verify xUnit result

## PR Context  

Before this test:

- A CI run would take ~14 minutes
- A Feature run would take ~30 minutes

After this change, it always runs all tests and takes ~20 minutes.
Job `Unelevated everything else tests` is the long poll, taking ~4 minutes longer than the next shortest job.  We should be able to get this back down to ~15 if we split that test job somehow.
2019-02-14 16:33:19 -08:00
Travis Plunk 2834b576ab Fixes for Scheduled release build (#8887) 2019-02-13 19:13:54 -08:00
Travis Plunk 68f0ae5d4e Start tracking release build information in an azure storage table (#8850)
Start tracking release build information in an azure storage table

* Also, fix some issues found when the build is started through a schedule
2019-02-12 09:24:11 -08:00
Travis Plunk 8cf9e056f2 Remove references to uninitialized variable (#8849)
Remove references to uninitialized variable 
regressed in #8822 	

## PR Context  

Some artifacts never got published because the conditions would never be true
2019-02-08 16:52:20 -08:00
Reece Dunham cb4b818d55 Refactor travis.ps1 into ci.psm1 (#8822)
Refactors `travis.ps1`. Important for maintainers: I removed the webhook and badge stuff as neither exist anymore. I also merged the build and test phase with the bootstrap phase.
2019-02-08 14:37:36 -08:00
Aditya Patwardhan 6b23be6323 Add Experimental Features to change log creation (#8827)
Added feature to classify experimental features in change log. Also fixed an issue with reporting all PRs with missing tags together.

## PR Context
Updates to the script which generates the change log.
2019-02-05 17:25:23 -08:00