Travis Plunk
20d9bd5f0a
pass nugetkey as param ( #8461 )
2018-12-13 17:23:41 -08:00
Travis Plunk
80a5be921d
Fix daily NuGet publishing ( #8460 )
...
Fix daily NuGet publishing
## PR Checklist
- [x] [PR has a meaningful title](https://github.com/PowerShell/PowerShell/blob/master/.github/CONTRIBUTING.md#pull-request---submission )
- Use the present tense and imperative mood when describing your changes
- [x] [Summarized changes](https://github.com/PowerShell/PowerShell/blob/master/.github/CONTRIBUTING.md#pull-request---submission )
- [x] [Change is not breaking](https://github.com/PowerShell/PowerShell/blob/master/.github/CONTRIBUTING.md#making-breaking-changes )
- [x] [Make sure all `.h`, `.cpp`, `.cs`, `.ps1` and `.psm1` files have the correct copyright header](https://github.com/PowerShell/PowerShell/blob/master/.github/CONTRIBUTING.md#pull-request---submission )
- [x] This PR is ready to merge and is not [Work in Progress](https://github.com/PowerShell/PowerShell/blob/master/.github/CONTRIBUTING.md#pull-request---work-in-progress ).
- If the PR is work in progress, please add the prefix `WIP:` to the beginning of the title and remove the prefix when the PR is ready.
- **User-facing changes**
- [ ] Not Applicable
- **OR**
- [ ] User-facing [Documentation needed](https://github.com/PowerShell/PowerShell/blob/master/.github/CONTRIBUTING.md#pull-request---submission )
- [ ] Issue filed - Issue link:
- **Testing - New and feature**
- [ ] Not Applicable or can only be tested interactively
- **OR**
- [ ] [Make sure you've added a new test if existing tests do not effectively test the code changed](https://github.com/PowerShell/PowerShell/blob/master/.github/CONTRIBUTING.md#before-submitting )
- [ ] [Add `[feature]` if the change is significant or affects feature tests](https://github.com/PowerShell/PowerShell/blob/master/docs/testing-guidelines/testing-guidelines.md#requesting-additional-tests-for-a-pr )
2018-12-13 15:25:22 -08:00
Ilya
a9f106da58
Move xUnit tests in new folder ( #8356 )
...
## Motivation
I have a PR where there are many new xUnit tests.
It would also be useful to create new xUnit tests for public APIs.
The number of xUnit tests will increase and their ordering is required.
## PR Summary
- Move C# xUnit tests in new folder. This allows to put new xUnit tests in directory structure in accordance with directory structure where cs files are.
- Use an xUnit TestCaseOrderer attribute to sequentially process tests for `powershell.config.json`.
- Update README.md
- A race condition was fixed which allowed to run all XUnit tests in single batch job.
2018-12-13 14:22:07 -08:00
Darwin
5478cf6f66
support for linuxmint in installpsh-debian.sh ( #8440 )
...
Add #8437 - add linuxmint support
2018-12-11 14:40:38 -08:00
Steve Lee
ac2b453ba7
Enable install-powershell.ps1 to use MSI ( #8418 )
2018-12-11 13:58:49 -08:00
Travis Plunk
59c514f7a7
Merge release-v6.2.0-preview.3 to master
...
Release v6.2.0 preview.3
2018-12-10 17:25:51 -08:00
Andrew
a1299cd6d4
Adding yml for Windows Release builds ( #8374 )
2018-12-07 10:59:27 -08:00
Aditya Patwardhan
1d32d05157
Merged PR 6201: Update docs and csproj version
...
Update docs and csproj version
2018-12-07 18:24:07 +00:00
Travis Plunk
50890b5ae7
Update the name of the artifact to be unique per artifact ( #8405 )
2018-12-05 16:21:08 -08:00
Travis Plunk
5f7dde584f
Create unified release build for macOS and Linux packages ( #8399 )
...
Create unified release build for macOS and Linux packages
- Also, updated the definition with latest definitions from the definitions in use.
I will work on these in future PRs:
- Add compliance Job
- Add macOS Signing step
- Merging Windows into the YAML
2018-12-05 14:47:54 -08:00
Alex Earl
74de391193
Add Linux ARM64 build support ( #8016 )
2018-12-05 10:55:09 -08:00
Christoph Bergmeister [MVP]
7c021e42e9
Update resgen, typegen to use .Net Core 2.1 ( #8369 )
2018-12-04 09:40:40 -08:00
Aditya Patwardhan
13cf8af667
Remove dependabot attribution and generate changelog sections using CL-* labels ( #8386 )
...
* Remove dependabot attribution from change log.
* Create sections in generated change log using the `CL-*` labels.
2018-12-03 14:34:29 -08:00
Dongbo Wang
a11810bf33
Improve powershell startup time ( #8341 )
...
Major changes are as follows:
- Avoid `SecuritySupport.IsProductBinary` and unnecessary AMSI/suspicious code scan at startup time
- Update `CompiledScriptBlockData.IsProductCode` to avoid unnecessary calls to `IsProductBinary`, which attempts to retrieve catalog signature of the target file.
- Update `PerformSecurityChecks` to skip AMSI and suspicious code scan for the `.psd1` file that contains a safe `HashtableAst` only.
- Use customized `ReadOnlyBag` instead of `ImmutableHashSet` so that we can avoid loading the `System.Collections.Immutable.dll` completely.
- Replace `SHA1` with `CRC32` when generating module analysis cache file name
- This remove the loading of `System.Security.Cryptography.Algorithms.dll` at startup
- Move `ConvertFrom-SddlString` to C# to remove the `Utility.psm1` file.
- Crossgen `Microsoft.ApplicationInsights.dll` and enable tiered compilation
- Even pwsh with crossgen assemblies spends a lot time in jitting at the startup, about `191.6ms` comparing with `24.7ms` for Windows PowerShell.
- Jitting `Microsoft.ApplicationInsights.dll` takes about `51.6ms`.
- By crossgen `Microsoft.ApplicationInsights.dll` and enable tiered compilation, the jitting time drops to about `98.9ms`.
2018-12-02 12:52:39 -08:00
Aditya Patwardhan
9510fe56f5
Enable pipeline to sync PSGallery modules to AzArtifacts feed ( #8316 )
...
Compare the PowerShell modules dependencies on PowerShell Gallery and sync them to AzDevOps artifacts feed if a newer is available. The release builds pick up modules from AzDevOps feed.
2018-11-27 11:15:09 -08:00
Aditya Patwardhan
b0daa1e724
Build Alpine tar.gz package in release builds ( #8340 )
...
Enable building tar.gz package for Alpine in release builds.
## PR Checklist
- [x] [PR has a meaningful title](https://github.com/PowerShell/PowerShell/blob/master/.github/CONTRIBUTING.md#pull-request---submission )
- Use the present tense and imperative mood when describing your changes
- [x] [Summarized changes](https://github.com/PowerShell/PowerShell/blob/master/.github/CONTRIBUTING.md#pull-request---submission )
- [x] [Change is not breaking](https://github.com/PowerShell/PowerShell/blob/master/.github/CONTRIBUTING.md#making-breaking-changes )
- [x] [Make sure all `.h`, `.cpp`, `.cs`, `.ps1` and `.psm1` files have the correct copyright header](https://github.com/PowerShell/PowerShell/blob/master/.github/CONTRIBUTING.md#pull-request---submission )
- [x] This PR is ready to merge and is not [Work in Progress](https://github.com/PowerShell/PowerShell/blob/master/.github/CONTRIBUTING.md#pull-request---work-in-progress ).
- If the PR is work in progress, please add the prefix `WIP:` to the beginning of the title and remove the prefix when the PR is ready.
- **User-facing changes**
- [x] Not Applicable
- **OR**
- [ ] User-facing [Documentation needed](https://github.com/PowerShell/PowerShell/blob/master/.github/CONTRIBUTING.md#pull-request---submission )
- [ ] Issue filed - Issue link:
- **Testing - New and feature**
- [x] Not Applicable or can only be tested interactively
- **OR**
- [ ] [Make sure you've added a new test if existing tests do not effectively test the code changed](https://github.com/PowerShell/PowerShell/blob/master/.github/CONTRIBUTING.md#before-submitting )
- [ ] [Add `[feature]` if the change is significant or affects feature tests](https://github.com/PowerShell/PowerShell/blob/master/docs/testing-guidelines/testing-guidelines.md#requesting-additional-tests-for-a-pr )
2018-11-27 10:45:49 -08:00
Aditya Patwardhan
9fda1d0e4f
Publish test package to AppVeyor daily build ( #8273 )
2018-11-26 10:44:42 -08:00
Aditya Patwardhan
82091d6a45
Merge release-v6.2.0-preview.2 to master
...
Merge Release-v6.2.0-preview.2
2018-11-15 17:59:42 -08:00
Darwin
a244c049e8
Make install-powershell.sh autodetect if it should use wget or curl ( #8225 )
...
install-powershell.sh now autodetects whether curl or wget is installed to download secondary script when it is not found locally.
2018-11-14 10:45:52 -08:00
Aditya Patwardhan
20497d19c2
Merged PR 5822: Update version for dependencies
...
Update version for dependencies
2018-11-14 01:56:28 +00:00
Travis Plunk
ab809d95d9
Merged PR 5818: Port changes to allow AzDevOps NuGet feeds for Mac build
...
Port changes to allow AzDevOps NuGet feeds for Mac build
2018-11-14 01:04:39 +00:00
Travis Plunk
605994fbf4
Update metadata for 6.0.5 and 6.1.1 releases ( #8259 )
2018-11-13 15:34:53 -08:00
Travis Plunk
6698af81b7
Remove tilde from Linux preview packages ( #8244 )
...
Remove tilde from Linux preview packages.
- Since we have a separate package for preview, we don't need a second indicator that these packages are preview.
- Also, many system we use to release don't like the `~` character, which leads to manual interventions and errors.
2018-11-13 09:52:48 -08:00
Travis Plunk
655b8b614c
Update SignType in signing.xml ( #8223 )
2018-11-12 10:31:45 -08:00
Paul Higinbotham
d4bf5c87bc
Fix tests running in Azure DevOps ( #8220 )
2018-11-09 15:11:02 -08:00
John Eismeier
4118fd2829
Propose fix some typos ( #8206 )
2018-11-09 08:33:24 +05:00
Aditya Patwardhan
94fde189a8
Fix script path for PowerShellPackageVsts.ps1 ( #8189 )
...
Fix mac build failure caused due to missing path.
2018-11-05 18:30:15 -08:00
Aditya Patwardhan
a1585502bb
Workaround for accessing Az Artifacts ( #8188 )
...
Added a workaround for accessing Az Artifacts feed from release build.
- Also, converted the `sh` task to PowerShell.
2018-11-05 18:02:10 -08:00
Aditya Patwardhan
e6c3a38336
Update mac release build to create the nuget.config ( #8185 )
...
Update the build definition to create the nuget.config for the gallery modules.
2018-11-05 16:15:56 -08:00
Andrew Schwartzmeyer
54874180ce
Remove build and doc references to Git submodules ( #8177 )
...
As of #7892 , the PowerShell repository no longer uses Git submodules.
This is fantastic from a workflow standpoint, and so all the notes about
how to deal with submodules (and all the build steps explicitly
initializing and updating submodules) can be safely removed.
2018-11-05 10:39:29 -08:00
Andrew
3597d58432
Adding yml for Linux builds ( #8168 )
...
As part of improving the build process, the UI build pipeline for Linux Builds was converted to a yml-based pipeline.
2018-11-05 10:35:53 -08:00
Darwin
ddaad12183
Update installpsh amazonlinux for container build ( #7907 )
2018-10-24 10:10:32 -07:00
Aditya Patwardhan
487073e57b
Add functionality to create a test package ( #8087 )
2018-10-19 14:56:58 -07:00
Aditya Patwardhan
eb84c3d928
Merged PR 5379: Improve debugging of nuget package generation and add type to filtering
2018-10-16 20:23:57 +00:00
Aditya Patwardhan
1e31e707c8
Merged PR 5363: Version and doc changes
...
Version and doc changes
2018-10-15 20:24:00 +00:00
Aditya Patwardhan
5fcab21111
Remove PDBs from fxdependent pacakge ( #8006 )
2018-10-11 18:08:28 -07:00
Jellyfrog
8f6bbdf11e
Add dependencies for SUSE ( #7938 )
2018-10-03 12:29:13 -07:00
Travis Plunk
cd18af03bc
Revert "install-powershell.sh: Adding autodetection of curl / wget" due to regression from PR #7893 ( #7918 )
...
This reverts commit 4831a9fd63 .
2018-10-01 18:52:27 -07:00
Darwin
4831a9fd63
install-powershell.sh: Adding autodetection of curl / wget ( #7893 )
...
install-powershell.sh now autodetects whether curl or wget is installed to download secondary script when it is not found locally.
2018-10-01 16:36:46 -07:00
Darwin
4dae2825e1
Ffixing syntax error in installpwsh-amazonlinux.sh ( #7905 )
...
* Fix syntax error for issue 7903. Typo come from #6849
* Add identation after copyright message
2018-10-01 14:58:14 +05:00
Dongbo Wang
4926e15984
Make Start-PSPackage give better message about how to fix 'files.wxs' ( #7841 )
2018-09-25 09:53:42 -07:00
Aditya Patwardhan
8d4dd1e58f
Remove packaging, building and installation scripts for Ubuntu 17.10 ( #7773 )
2018-09-17 14:48:23 -07:00
Aditya Patwardhan
0f81101f5c
Merged PR 4985: Update metadata json for 6.1.0 release
...
Update metadata json for 6.1.0 release
2018-09-13 16:52:17 +00:00
Travis Plunk
15a3beb12d
Make sure MSI build works when not preview ( #7752 )
...
The variable was set to empty (meaning to delete the variable) in the non-preview case and the build fails.
The fix avoids setting the variable to empty
2018-09-10 14:36:23 -07:00
Aditya Patwardhan
89278290d9
Build and package framework dependent package ( #7729 )
...
Add the functionality to build a framework dependent (shared framework) package for PowerShell.
The changes create two packages, one for Windows and other for Linux, due to #if code.
2018-09-10 12:55:06 -07:00
Travis Plunk
179ff6bc16
update metadata json in preparation for 6.1 release ( #7741 )
...
ReleaseTag is now StableReleaseTag
NextReleaseTag is not PreviewReleaseTag
Added ServicingReleaseTag for the N-1 Stable release
2018-09-10 11:18:50 -07:00
Aditya Patwardhan
c41b19923e
Fix docker image names for release build ( #7726 )
2018-09-06 18:00:46 -07:00
Travis Plunk
433a263a17
Add daily build non-windows platforms ( #7683 )
...
Add daily build non-windows platforms
- Also, make the [Feature] tag work in VSTS for non-windows
- Also, add a way to force feature tests to run
- Also, fix an issue where `-workingdirectory` didn't work when running async
2018-09-06 18:00:46 -07:00
Travis Plunk
137d5de82b
Add tests to report when package references are out of date ( #7661 )
...
Add tests to report when package references are out of date
- Also, update the packaging script to generate updated `files.wxs`
2018-09-05 14:06:09 -07:00
Jason Shirk
eae6d50d7a
Add tools for PowerShell perf analysis ( #7595 )
2018-08-31 16:55:42 -07:00