-
Notifications
You must be signed in to change notification settings - Fork 517
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
Swap individual policy assignments to alzDefaultPolicyAssignments
module in E2E tests
#183
Conversation
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.
A few bits, also really want to ensure we have enough delay or retry logic if the policy assignments fail due to Azure/Enterprise-Scale#902.
Can we add some error handling if the deployment fails due to this, to wait for say 5 mins and try again, as this should give replication a chance to catch up in ARM
alzDefaultPolicyAssignments
module in E2E tests
Co-authored-by: Jack Tracey <41163455+jtracey93@users.noreply.github.com>
Co-authored-by: Jack Tracey <41163455+jtracey93@users.noreply.github.com>
Looking into the error handling bits |
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.
Just a few bits 👍
Great work though 👍
Co-authored-by: Jack Tracey <41163455+jtracey93@users.noreply.github.com>
Co-authored-by: Jack Tracey <41163455+jtracey93@users.noreply.github.com>
Co-authored-by: Jack Tracey <41163455+jtracey93@users.noreply.github.com>
…rskov/ALZ-Bicep into alzdefaultpolassignunittest
/azp run E2E |
Azure Pipelines successfully started running 1 pipeline(s). |
/azp run E2E |
Azure Pipelines successfully started running 1 pipeline(s). |
/azp run E2E |
Azure Pipelines successfully started running 1 pipeline(s). |
/azp run E2E |
Azure Pipelines successfully started running 1 pipeline(s). |
/azp run E2E |
Azure Pipelines successfully started running 1 pipeline(s). |
Overview/Summary
Update unit test pipeline to include alzDefaultPolicyAssignments
This PR fixes/adds/changes/removes
Breaking Changes
N/A
Testing Evidence
Ran script manually, with custom policies not deployed to root of ALZ management group structure.
After failing script waits 30 seconds and then retries.
Separately entered the policies while script was running and it succeded.
As part of this Pull Request I have
main
branch