Skip to content

stack resources module for 2018-03-01-hybrid profile #7051

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

Merged
merged 12 commits into from
Sep 5, 2018

Conversation

bganapa
Copy link
Member

@bganapa bganapa commented Aug 26, 2018

Description

Copy of the version 6.0.0 with back ported fix for ADFS Roleassignment fix and older version of Authorization Client

Checklist

@bganapa
Copy link
Member Author

bganapa commented Aug 27, 2018

@MiYanni Is this failure known? I am going to retry..
Microsoft.Azure.Commands.Profile.Test.TelemetryTests.DataCollectionHandlesSerializationErrors
System.ArgumentException : An item with the same key has already been added.

I

@MiYanni
Copy link
Contributor

MiYanni commented Aug 27, 2018

@bganapa We've been having intermittent failures with the Telemetry tests. We will need to investigate. Thanks for letting us know.

@bganapa
Copy link
Member Author

bganapa commented Aug 27, 2018

Cred scanner issues :(

@MiYanni
Copy link
Contributor

MiYanni commented Aug 27, 2018

@bganapa We skipped DataCollectionHandlesSerializationErrors in the latest from the preview branch. Pull in to get that update.

For credscan, if those files have been there for a while (not real issues), you simply need to add the exception to the CredScanSuppressions.json file in the tools folder.

@bganapa
Copy link
Member Author

bganapa commented Aug 29, 2018

This should be good to merge except for the localfeed package

@maddieclayton
Copy link
Contributor

@maddieclayton
Copy link
Contributor

@bganapa This PR has the common changes you need: #6986. Once it gets merged I'll pull in the latest from preview into this PR and it should build.

@maddieclayton
Copy link
Contributor

@bganapa In the meantime, please resolve the merge conflict that have come up so we can get this in as fast as possible.

@bganapa
Copy link
Member Author

bganapa commented Aug 30, 2018

@maddieclayton i just rebased in the morning :). i will do it again now

@bganapa bganapa force-pushed the resources-2018 branch 2 times, most recently from 6f74460 to 9dbb3d2 Compare August 31, 2018 01:13
@bganapa
Copy link
Member Author

bganapa commented Aug 31, 2018

Rebased again as #6986 is merged

@maddieclayton
Copy link
Contributor

@deathly809
Copy link
Member

@maddieclayton passing! 💯

@bganapa
Copy link
Member Author

bganapa commented Aug 31, 2018

Should be good to merge

<SubType>Designer</SubType>
</None>
</ItemGroup>
<!-- <ItemGroup>
Copy link
Member

Choose a reason for hiding this comment

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

Delete commented out code!

<Reference Include="Microsoft.Azure.Insights">
<HintPath>..\..\..\packages\Microsoft.Azure.Insights.0.10.0-preview\lib\net45\Microsoft.Azure.Insights.dll</HintPath>
</Reference>
<!-- <Reference Include="Hyak.Common">
Copy link
Member

Choose a reason for hiding this comment

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

Commented code.

<Compile Include="ResourceGroups\NewAzureResourceGroupCommandTests.cs" />
</ItemGroup>
<ItemGroup>
<!-- <ProjectReference Include="..\..\..\..\Common\Commands.Common.Authentication.Abstractions\Commands.Common.Authentication.Abstractions.csproj">
Copy link
Member

Choose a reason for hiding this comment

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

Commented code.

<Compile Include="Models.ResourceGroups\ResourceClient.cs" />
</ItemGroup>
<ItemGroup>
<!-- <ProjectReference Include="..\..\..\Common\Commands.Common.Authentication.Abstractions\Commands.Common.Authentication.Abstractions.csproj">
Copy link
Member

Choose a reason for hiding this comment

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

Commented out code.

<Reference Include="Microsoft.Azure.Management.ResourceManager, Version=1.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35, processorArchitecture=MSIL">
<HintPath>..\..\..\packages\Microsoft.Azure.Management.ResourceManager.1.6.0-preview\lib\net452\Microsoft.Azure.Management.ResourceManager.dll</HintPath>
</Reference>
<!--<Reference Include="Microsoft.Azure.Management.Authorization, Version=2.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35, processorArchitecture=MSIL">
Copy link
Member

Choose a reason for hiding this comment

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

Commented out code.

@bganapa
Copy link
Member Author

bganapa commented Sep 3, 2018

@bganapa
Copy link
Member Author

bganapa commented Sep 3, 2018

@bganapa
Copy link
Member Author

bganapa commented Sep 4, 2018

@markcowl, @maddieclayton ps-sign and ps-demand are successful. This should be good to merge

@markcowl
Copy link
Member

markcowl commented Sep 4, 2018

@maddieclayton
Copy link
Contributor

@bganapa I am currently seeing an error at the bottom of your build (not sure why it isn't failing the build): 22:33:53 MSBUILD : error : CA0501 : Unable to read output report: c:\workspace\powershell\tools\..\src\stack\Debug\ResourceManager\AzureResourceManager\AzureRM.Resources\Microsoft.Azure.Commands.Resources.dll.CodeAnalysisLog.xml [c:\workspace\powershell\src\StackAdmin\Resources\Commands.Resources\Commands.Resources.csproj]

Mark suspects that this could be fixed by removing this line: https://github.com/Azure/azure-powershell/blob/preview/src/ResourceManager/Resources/Commands.Resources/Commands.Resources.csproj#L205

@@ -20,7 +20,7 @@
<DebugSymbols>true</DebugSymbols>
<DebugType>full</DebugType>
<Optimize>false</Optimize>
<OutputPath>..\..\..\..\Stack\Debug\ResourceManager\AzureResourceManager\AzureRM.Resources\</OutputPath>
<OutputPath>$(StackPackageFolder)\Debug\ResourceManager\AzureResourceManager\AzureRM.Resources\</OutputPath>
Copy link
Contributor

Choose a reason for hiding this comment

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

Can you revert this change? I think creating that StackPackageFolder might be what is failing the build (it is still failing after the latest change)

@maddieclayton
Copy link
Contributor

Something weird is happening with Jenkins, but the build is passing: https://azuresdkci.westus2.cloudapp.azure.com/job/powershell/7140/. Merging now.

@maddieclayton maddieclayton merged commit 9b661c6 into Azure:preview Sep 5, 2018
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.

6 participants