Commit Graph
9359 Commits
Author SHA1 Message Date
Aditya Patwardhan 00d165ee71 Make sure we execute tests on LTS package for older LTS releases (#17326) 2022-05-12 12:53:04 -07:00
dependabot[bot] 950ff45625 Bump Microsoft.NET.Test.Sdk from 17.1.0 to 17.2.0 (#17320)
Bumps [Microsoft.NET.Test.Sdk](https://github.com/microsoft/vstest) from 17.1.0 to 17.2.0.
- [Release notes](https://github.com/microsoft/vstest/releases)
- [Commits](https://github.com/microsoft/vstest/compare/v17.1.0...v17.2.0)

---
updated-dependencies:
- dependency-name: Microsoft.NET.Test.Sdk
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-05-12 11:35:13 -07:00
Travis Plunk 87f621eb1f Add fedora to the OS's that can't run WSMan (#17325) 2022-05-12 11:25:14 -07:00
yogeshbirlaandYogesh Birla 30f4b82b8a Add sles15 support to install-powershell.sh (#16984)
Co-authored-by: Yogesh Birla <yogeshbirla@microsoft.com>
2022-05-12 17:46:47 +00:00
Travis PlunkandJames Truher [MSFT] ba6fbe9f2a Start rotating through all images (#17315)
* Use day of week for fallback seed

* Use new properties to select CI image

* move container selection code into

* use parameter

* fix azDO variable refernce

* move container name left in non-PR build name

* Use get-command to detect package manager

* update dependencies in build.psm1

* Add RHEL to WSMan support function

* Update build.psm1

* Update tools/ci.psm1

Co-authored-by: James Truher [MSFT] <jimtru@microsoft.com>

Co-authored-by: James Truher [MSFT] <jimtru@microsoft.com>
2022-05-12 10:03:40 -07:00
github-actions[bot]andadityapatwardhan e8a5db2d74 Update the cgmanifest (#17324)
Co-authored-by: adityapatwardhan <adityapatwardhan@users.noreply.github.com>
2022-05-12 09:58:22 -07:00
github-actions[bot] 38909f7ee5 Update .NET SDK version from 7.0.100-preview.2.22153.17 to 7.0.100-preview.4.22252.9 (#17061) 2022-05-11 18:27:51 -07:00
Travis Plunk 57965f22f6 Disable release security analysis for SSH CI (#17303) 2022-05-11 15:24:40 -07:00
Travis Plunk 2fe5f0037d Add a finalize template which causes jobs with issues to fail (#17314)
* Add a finalize template

* add finalize to prep

* update display name

* Add condition

* revert me: add fake issue

* fix display name

* Revert "revert me: add fake issue"

This reverts commit 5b10f299ce.
2022-05-11 15:23:58 -07:00
github-actions[bot]andadityapatwardhan e4fb4a8112 Update to the latest NOTICES file (#17311)
Co-authored-by: adityapatwardhan <adityapatwardhan@users.noreply.github.com>
2022-05-11 15:22:22 -07:00
Anam Navied 765c7badd9 Add mapping for ubuntu22.04 jammy (#17317) 2022-05-11 12:39:23 -07:00
James Truher [MSFT] 1a24540e31 Enable more tests to be run in a container. (#17294) 2022-05-11 12:30:22 -07:00
Dongbo Wang 514d6f62e0 Fix build.psm1 to find the required .NET SDK version when a higher version is installed (#17299) 2022-05-11 09:49:43 -07:00
Dongbo Wang 44098e771a Fix the list view to not leak VT decorations (#17262) 2022-05-10 16:05:14 -07:00
Ikko Ashimine 18846935c7 Correct spelling of pseudo in Compiler.cs (#17285)
psuedo -> pseudo
psuedo-code -> pseudo-code
2022-05-10 10:34:52 -07:00
github-actions[bot]andadityapatwardhan 6ffc24b4dc Update the cgmanifest (#17302)
Co-authored-by: adityapatwardhan <adityapatwardhan@users.noreply.github.com>
2022-05-10 10:31:39 -07:00
Travis Plunk 34f316db1a Improve how Linux container CI builds are identified (#17295)
* Add buildName preview to Jobs and tests

* try other syntax

* give up on task name

* try naming the job again

* use other syntax for variable

* rename and tag build

* Revert "try naming the job again"

This reverts commit b900e1231b.

* conditionally set build name and add tag

* Pass title prefix

* don't add tag when the build is a PR

* use correct variable name
2022-05-10 10:09:51 -07:00
Travis Plunk ee97dfe412 Only inject NuGet security analysis if we are using secure nuget.config (#17293) 2022-05-10 10:06:09 -07:00
Dongbo Wang ea0ab84eb2 Reduce unneeded verbose message from build.psm1 (#17291) 2022-05-09 17:51:07 -07:00
github-actions[bot]andadityapatwardhan 6c33ebd51f Update to the latest NOTICES file (#17275)
Co-authored-by: adityapatwardhan <adityapatwardhan@users.noreply.github.com>
2022-05-09 21:41:51 +00:00
Travis Plunk 4af204f574 Switch to using GitHub action to verify markdown links for PRs (#17281) 2022-05-09 11:42:15 -07:00
Travis PlunkandAditya Patwardhan a33b5d32b0 Put Secure supply chain analysis at correct place (#17273)
* Update releaseBuild.yml

* Add nuget security analysis to where it should be

* Add a display name

* Update tools/releaseBuild/azureDevOps/releaseBuild.yml

Co-authored-by: Aditya Patwardhan <adityap@microsoft.com>

Co-authored-by: Aditya Patwardhan <adityap@microsoft.com>
2022-05-06 11:54:04 -07:00
Travis Plunk 3bff8c0e69 Fix build id variable name when selecting CI container (#17279) 2022-05-06 11:47:42 -07:00
Dongbo Wang 4c6c4f30af Fix formatting truncation to handle strings with VT sequences (#17251) 2022-05-06 11:40:34 -07:00
Travis Plunk c000fc5430 Add rotation between the two mariner images (#17277)
* Add rotation between the two mariner images

* Add comments and fix issues

* select the tag that works with test-deps
2022-05-06 11:24:24 -07:00
Travis Plunk e08edcb82d Update to use mcr.microsoft.com (#17272) 2022-05-05 15:27:59 -07:00
Dongbo Wang 8cfb727a0c Update engine working group members (#17271) 2022-05-05 14:58:47 -07:00
0ff843da99 Bump PSReadLine from 2.2.2 to 2.2.5 in /src/Modules (#17252)
* Bump PSReadLine from 2.2.2 to 2.2.5 in /src/Modules

Bumps PSReadLine from 2.2.2 to 2.2.5.

---
updated-dependencies:
- dependency-name: PSReadLine
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>

* Update files.wxs

* Cleanup

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Travis Plunk <travis.plunk@microsoft.com>
Co-authored-by: Dongbo Wang <dongbow@microsoft.com>
2022-05-05 10:31:42 -07:00
github-actions[bot]andadityapatwardhan 0ea03f560d Update the cgmanifest (#17268)
Co-authored-by: adityapatwardhan <adityapatwardhan@users.noreply.github.com>
2022-05-05 17:29:12 +00:00
Travis Plunk d092aa96b3 Update timeout for daily (#17263)
* Update timeout for daily

* put timeout on job
2022-05-05 10:11:02 -07:00
dependabot[bot] 855b3ea569 Bump NJsonSchema from 10.6.9 to 10.6.10 (#16902)
Bumps [NJsonSchema](https://github.com/RicoSuter/NJsonSchema) from 10.6.9 to 10.6.10.
- [Release notes](https://github.com/RicoSuter/NJsonSchema/releases)
- [Commits](https://github.com/RicoSuter/NJsonSchema/compare/v10.6.9...v10.6.10)

---
updated-dependencies:
- dependency-name: NJsonSchema
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-05-04 15:41:51 -07:00
github-actions[bot]andTravisEz13 bb72e4990d Update the cgmanifest (#17260)
Co-authored-by: TravisEz13 <TravisEz13@users.noreply.github.com>
2022-05-04 22:38:19 +00:00
Andrew e8c85a175b Merged PR 20274: Fix Generate checksum file for packages build failure - v7.1.7 (#17219)
Fix Generate checksum file for packages build failure
2022-05-04 15:33:31 -07:00
Travis Plunk 41062a588b Move cgmanifest generation to daily (#17258)
* Move cgmanifest generation to daily

* fix PR title
2022-05-04 14:57:19 -07:00
Patrick Meinecke 99f3bb7a6a Fix line breakpoints for return statements without a value (#17179) 2022-05-04 10:56:55 -07:00
Ryne Andal 2550a3a23a Add check for ScriptBlock wrapped in PSObject to $using used in ForEach-Object -Parallel (#17234) 2022-05-04 10:51:45 -07:00
dependabot[bot] de04e8dd2b Bump Microsoft.CodeAnalysis.NetAnalyzers (#17245)
Bumps [Microsoft.CodeAnalysis.NetAnalyzers](https://github.com/dotnet/roslyn-analyzers) from 7.0.0-preview1.22202.1 to 7.0.0-preview1.22252.2.
- [Release notes](https://github.com/dotnet/roslyn-analyzers/releases)
- [Changelog](https://github.com/dotnet/roslyn-analyzers/blob/main/PostReleaseActivities.md)
- [Commits](https://github.com/dotnet/roslyn-analyzers/commits)

---
updated-dependencies:
- dependency-name: Microsoft.CodeAnalysis.NetAnalyzers
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-05-03 12:06:42 -07:00
github-actions[bot]andadityapatwardhan b9c24db730 Update to the latest notice file (#17238)
Co-authored-by: adityapatwardhan <adityapatwardhan@users.noreply.github.com>
2022-05-03 11:57:13 -07:00
Travis Plunk 156757c93d Add container to Linux CI (#17233) 2022-05-02 15:59:23 -07:00
Dongbo Wang 36fcec3bdd Fix ForEach method to set property on a scalar object (#17213) 2022-05-02 10:07:12 -07:00
AndrewandTravis Plunk c3b7e10fd0 Merged PR 20126: Fix for partial PowerShell module search paths, that can be resolved to CWD locations (#17231)
The problem is .NET will return empty strings for special folders that don't exist in some accounts (like System account), and the module path code appends path locations without first checking if the root path is non-empty.  This results in partial paths in the PSModulePath list, which are then interpreted by .NET file APIs as rooted in the current working directory.  And this in turn can allow low privilege users to drop modules in locations that higher privilege accounts will load from, thus gaining escalated privilege code execution.

These changes detect this non-rooted condition and prevents partial paths from being included in search lists.

Cherry picked from !17201

Co-authored-by: Travis Plunk <tplunk@microsoft.com>
2022-05-01 13:04:58 +05:00
Andrewandtravis plunk 956c2efc3e Mark Microsoft.Management.Infrastructure.Runtime.Win as a developer dependency to hide in notice file (#17230)
Co-authored-by: travis plunk <github@ez13.net>
2022-04-29 18:40:59 +00:00
Staffan Gustafsson edc489a790 Fixing dotnet SDK version parsing in build.psm1 (#17198) 2022-04-29 10:07:57 -07:00
Andrew 5d7b8b95ec Fixed package names verification to support multi-digit versions (#17220)
Fixed package names verification to support multi-digit versions.

Currently "Validate RPM package names" release step is failing because of version "7.0.10" in these examples:
WARNING: powershell-7.0.10-1.centos.8.x86_64.rpm is not a valid package name
WARNING: powershell-7.0.10-1.rhel.7.x86_64.rpm is not a valid package name
WARNING: powershell-lts-7.0.10-1.centos.8.x86_64.rpm is not a valid package name
WARNING: powershell-lts-7.0.10-1.rhel.7.x86_64.rpm is not a valid package name
2022-04-29 00:30:08 +00:00
dependabot[bot] 669d15b95c Bump Microsoft.CodeAnalysis.CSharp from 4.2.0-1.final to 4.2.0-4.final (#17210)
Bumps [Microsoft.CodeAnalysis.CSharp](https://github.com/dotnet/roslyn) from 4.2.0-1.final to 4.2.0-4.final.
- [Release notes](https://github.com/dotnet/roslyn/releases)
- [Changelog](https://github.com/dotnet/roslyn/blob/main/docs/Breaking%20API%20Changes.md)
- [Commits](https://github.com/dotnet/roslyn/commits)

---
updated-dependencies:
- dependency-name: Microsoft.CodeAnalysis.CSharp
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-04-28 17:25:49 -07:00
Andrew 83edc101ed MakeNameObscurerTelemetryInitializer internal (#17214)
Making NameObscurerTelemetryInitializer internal
2022-04-28 17:07:25 -07:00
James Truher [MSFT] f22e475f53 Change logic in the testing helper module for determining whether PSHOME is writable (#17218) 2022-04-28 17:02:57 -07:00
Travis Plunk 42ad8b97e2 Add backport action (#17212) 2022-04-28 15:37:38 -07:00
AndrewandDongbo Wang 8fb34e87e5 Updated change logs for v7.0.9 / v7.0.10 / v7.1.6 / v7.1.7 / v7.2.2 / v7.2.3 (#17207)
* Merged PR 19472: Update change log for the v7.2.2 release

Update change log for the v7.2.2 release

* Merged PR 20440: Changelog for v7.2.3

Changelog for 7.2.3

* Update change log for v7.1.6 release

* Merged PR 20441: Changelog for v7.1.7

Changelog for 7.1.7

* Update change log for v7.0.9 release

* Merged PR 20442: Changelog for v7.0.10

Changelog for 7.0.10

* Cleaned merge conflicts in spelling file

* Cleaned conflicts in spelling file

Co-authored-by: Dongbo Wang <dongbow@microsoft.com>
2022-04-28 11:16:16 -07:00
Andrew f4e38e8fa7 Updated metadata.json and README.md for v7.2.3 and v7.0.10 (#17158) 2022-04-26 20:01:53 -07:00