Skip to content
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

Library template update automation, and bug fixes #44

Merged
merged 47 commits into from
Mar 6, 2021

Conversation

krowlandson
Copy link
Contributor

This PR introduces the following updates:

  • Update Unit and E2E test pipelines to use YML templates and dynamic matrix generation.
  • Add custom PS module for Enterprise Scale Library Tools to handle automated library template updates.
  • Add script and GitHub Action to enable automated library template updates from Azure/Enterprise-Scale repository using a CI pipeline.
  • Add offline ProviderApiVersions cache in Enterprise Scale Library Tools to negate the need for Azure credentials.
  • Update Library Templates (automated) using new CI process.
  • Manual remediations to updated library templates to ensure full compatibility with Terraform (needs to be fixed at source to prevent regression).
  • Update Policy Assignments and archetypes to provide parity with WingTip reference Enterprise-Scale foundations.
  • Update Resource definitions in base module to use name field instead of properties.displayName to allow setting a more "human-friendly" displayName on policies and roles.
  • Fix bug where duplicate roles are created at the same scope for policy assignments with managed identity.
  • Add customizable delay between deployment of different resource types to reduce deployment errors due to caching and replication in the Azure API (Improvement to help Fix Cannot create role definition and assign to mgmn group #37).
  • Update root_parent_id validation regex to include support for additional supported characters (Fix root_parent_id validation for Management Group ID #43).

Further work/assessment to planned for subsequent PR to ensure fixes are implement for:

Kevin Rowlandson and others added 30 commits February 9, 2021 20:23
Merge udpates from upstream
* Use yml templates for shared CI tasks
* Add matrix generator for CI tasks
Kevin Rowlandson and others added 13 commits March 3, 2021 21:54
* Improve logic on CI steps

* Add github_token for gh api command

* Fetch all history for local repository

* Add escaping to double-quotes in string

* Update CHECK_GIT_STATUS to array

* Update expression in step conditions

* Remove expression syntax from conditions

* Update logic for removing escaped characters
Update Library Templates (automated)
@krowlandson krowlandson added bug Something isn't working enhancement New feature or request labels Mar 6, 2021
@krowlandson krowlandson requested a review from ljtill March 6, 2021 13:50
@krowlandson krowlandson self-assigned this Mar 6, 2021
@krowlandson krowlandson changed the title Feature policy updates and bug fixes Library template update automation, and bug fixes Mar 6, 2021
@krowlandson
Copy link
Contributor Author

/azp run unit

@azure-pipelines
Copy link

Azure Pipelines successfully started running 1 pipeline(s).

@krowlandson krowlandson marked this pull request as ready for review March 6, 2021 14:12
@krowlandson
Copy link
Contributor Author

/azp run e2e

@azure-pipelines
Copy link

Azure Pipelines successfully started running 1 pipeline(s).

Copy link
Member

@ljtill ljtill left a comment

Choose a reason for hiding this comment

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

LGTM

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working enhancement New feature or request
Projects
None yet
3 participants