Skip to content

Adding -AzureStorageAccounts parameter to Set-AzureRmWebApp and Set-AzureRmWebAppSlot #7295

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

Closed
wants to merge 21 commits into from

Conversation

vinisoto
Copy link
Contributor

@vinisoto vinisoto commented Sep 19, 2018

Description

Adding -AzureStorageAccounts parameter to Set-AzureRmWebApp and Set-AzureRmWebAppSlot to support "Bring your own storage" to Container-based web apps

Checklist

Description

Adding -AzureStorageAccounts parameter to Set-AzureRmWebApp and Set-AzureRmWebAppSlot to support "Bring your own storage" to Container-based web apps

Checklist

@adxsdkps
Copy link
Collaborator

Can one of the admins verify this patch?

@vinisoto
Copy link
Contributor Author

  • @jvano. Who else need to review this? Thanks.

@vinisoto
Copy link
Contributor Author

Hi! I opened a design review for this changes: https://github.com/Azure/azure-powershell-cmdlet-review-pr/issues/166

jvano
jvano previously approved these changes Sep 19, 2018
Copy link

@jvano jvano left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

:shipit:

@vinisoto
Copy link
Contributor Author

vinisoto commented Oct 9, 2018

Hi @maddieclayton - I have submitted the changes as per the design review. However, looks like the Jenkins build is failing:

c:\workspace\powershell\src\packages\BuildTools.StyleCop.4.7.49.0\tools\StyleCop.targets(98,5): error MSB4062: The "StyleCopTask" task could not be loaded from the assembly c:\workspace\powershell\src\packages\BuildTools.StyleCop.4.7.49.0\tools\StyleCop.dll. Could not load file or assembly 'Microsoft.Build.Utilities.v3.5, Version=3.5.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a' or one of its dependencies. The system cannot find the file specified. Confirm that the <UsingTask> declaration is correct, that the assembly and all its dependencies are available, and that the task contains a public class that implements Microsoft.Build.Framework.ITask. [c:\workspace\powershell\src\ServiceManagement\RecoveryServices\Commands.RecoveryServices\Commands.RecoveryServicesRdfe.csproj]

It doesn't seem related to my change but I might be wrong. Would you mind taking a look?

Thank you

@vinisoto
Copy link
Contributor Author

Hey @maddieclayton and @cormacpayne looks like all checks have passed.

@@ -122,5 +122,12 @@ public void TestWebAppSwapWithPreviewCompleteSlotSwap()
{
WebsitesController.NewInstance.RunPsTest(_logger, "Test-WebAppSwapWithPreviewCompleteSlotSwap");
}

[Fact(Skip = "Currently the API fails when adding Azure Storage Accounts for slots. Will enable this test when the API is fixed")]
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

We can't merge this PR until the API is fixed

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@maddieclayton - I will ping you once the API is fixed

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@vinosoto still waiting for this change

@@ -27,7 +28,6 @@
* Updating to use the latest .NET SDK version (2.0.0)
* Added two new cmdlets: Get-AzureRmDeletedWebApp and Restore-AzureRmDeletedWebApp
* New-AzureRmAppServicePlan -HyperV switch is added for create app service plan with windows container
* New-AzureRmWebApp/ New-AzureRmWebAppSlot/ Set-AzureRmWebApp/ Set-AzureRmWebAppSlot - New parameters (–ContainerRegistryUser string -ContainerRegistryPassword secureString -EnableContainerContinuousDeployment) added for creating and managing windows container app
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please add this line back in.


namespace Microsoft.Azure.Commands.WebApps.Validations
{
public class ValidateAzureStorageAccountsAttribute : ValidateArgumentsAttribute
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

do you still need this class?

@@ -1 +0,0 @@
#placeholder
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please revert this change.

@markcowl
Copy link
Member

@vinosoto We are still waiting on re-enabling the test. If this is not done by EOW, we will have to close this PR for lack of activity

@vinisoto
Copy link
Contributor Author

@markcowl - the underlying API that this test uses will tentatively be updated on Nov 6th. Let's close this Pr and I will raise a new one once the API is updated. Thanks.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

7 participants