-
Notifications
You must be signed in to change notification settings - Fork 4k
New cmdlets to create/enter PSSession in remote container app. New cmdlet for getting container continuous deployment url #7307
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
New cmdlets to create/enter PSSession in remote container app. New cmdlet for getting container continuous deployment url #7307
Conversation
Can one of the admins verify this patch? |
@vinisoto This PR would at least need to be building successfully by EoD today if it has a chance of getting into a preview module release for Ignite. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
- Missing tests for
Enter-AzureRmWebAppContainerPSSession
andNew-AzureRmWebAppContainerPSSession
- The
Enter
cmdlet may not have a way to do tests. So, that may be fine to not have. TheNew
cmdlet can definitely have tests.
- The
src/ResourceManager/Websites/Commands.Websites/Az.Websites.psd1
Outdated
Show resolved
Hide resolved
src/ResourceManager/Websites/Commands.Websites/help/AzureRM.Websites.md
Outdated
Show resolved
Hide resolved
src/ResourceManager/Websites/Commands.Websites/help/Enter-AzureRmWebAppContainerPSSession.md
Outdated
Show resolved
Hide resolved
@MiYanni yes. Working on it. |
@MiYanni @panchagnula - Any clues on why this test doesn't find the new cmdlet during CI? It is passing locally: [xUnit.net 00:00:21.87] Microsoft.Azure.Commands.Websites.Test.ScenarioTests.WebAppTests.TestEnableContainerContiniousDeploymentAndGetUrl [FAIL] |
src/ResourceManager/Websites/Commands.Websites/AzureRM.Websites.psd1
Outdated
Show resolved
Hide resolved
@vinisoto - for all commands there is a file that maps the AzureRm command to the az command - have you updated this file? I don't remember the name of the file off the top of my head . I would recommend doing that instead of skipping the test - especially since this a new commandlet you are adding |
@panchagnula - Thanks. Found it. Will try that |
@MiYanni regarding tests for
I propose that we we don't create a test for it right now until we come up with a way to test it properly. In any case, the underlying API (GetPublishingCredentials) that this cmdlet uses is already being tested by |
Adding this issue to track adding tests to |
@azuresdkci Retest this please |
@vinisoto You have static analysis failures to investigate. |
Thanks @MiYanni. I addressed the static analysis failures. |
@azuresdkci Retest this please |
Looks like all the checks have passed now |
@vinisoto The issue is, the main 2 cmdlets, |
src/ResourceManager/Websites/Commands.Websites/Utilities/WebsitesClient.cs
Outdated
Show resolved
Hide resolved
@azuresdkci Retest this please |
@azdevxps Retest this please |
Looks like all checks have passed |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
tools/AzureRM/AzureRM.psm1
should not be committed in this PR.
src/ResourceManager/Websites/Commands.Websites.Test/ScenarioTests/WebAppTests.cs
Outdated
Show resolved
Hide resolved
src/ResourceManager/Websites/Commands.Websites.Test/ScenarioTests/WebAppTests.cs
Outdated
Show resolved
Hide resolved
src/ResourceManager/Websites/Commands.Websites.Test/ScenarioTests/WebAppTests.ps1
Outdated
Show resolved
Hide resolved
Yes @MiYanni - we would like this cmdlet to be part of the next release. |
…isoto/azure-powershell into asfarok-container-newcmdlets
@MiYanni would you mind kicking off retesting? (can I do it myself?) |
@azuresdkci Retest this please |
Thanks @MiYanni for your help and guidance |
Description
@panchagnula @jvano @MiYanni
This PR replaces this original PR: #7231 due to the original requestor being OOF.
Azure/azure-powershell-cmdlet-review-pr#145
Checklist
CONTRIBUTING.md
platyPS
module