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

Specify set of PS modules for different actions #874

Merged
merged 23 commits into from
Jan 11, 2022

Conversation

eriqua
Copy link
Contributor

@eriqua eriqua commented Jan 10, 2022

Change

Closes #873
GH runners take some time to set up due to an increasing list of PS modules to be installed.
Most of the modules are required for the removal step.

This change improves the environment agent setup time by specifying the required set of PS modules to install based on the job type

e.g. PS modules like 'Az.CognitiveServices','Az.Compute','Az.KeyVault','Az.Monitor','Az.OperationalInsights','Az.RecoveryServices' are not needed for Pester tests, thus are not installed on the runner executing them

CognitiveServices: Accounts
Automation: AutomationAccounts
Compute: DiskEncryptionSets
OperationalInsights: Workspaces
KeyVault: Vaults

Type of Change

Please delete options that are not relevant.

  • Bug fix (non-breaking change which fixes an issue)
  • New feature (non-breaking change which adds functionality)
  • Breaking change (fix or feature that would cause existing functionality to not work as expected)
  • This change requires a documentation update (Wiki)

Checklist

  • I'm sure there are no other open Pull Requests for the same update/change
  • My corresponding pipelines / checks run clean and green without any errors or warnings
  • My code follows the style guidelines of this project
  • I have commented my code, particularly in hard-to-understand areas
  • I have made corresponding changes to the documentation (readme)
  • I did format my code

@eriqua eriqua added the [cat] pipelines category: pipelines label Jan 10, 2022
@eriqua eriqua added this to the v 0.4 milestone Jan 10, 2022
@eriqua eriqua self-assigned this Jan 10, 2022
@eriqua eriqua added the [cat] azure devops category: Azure DevOps label Jan 10, 2022
eriqua and others added 2 commits January 11, 2022 15:05
Co-authored-by: Alexander Sehr <ASehr@hotmail.de>
Co-authored-by: Alexander Sehr <ASehr@hotmail.de>
@eriqua eriqua enabled auto-merge (squash) January 11, 2022 14:06
@eriqua eriqua merged commit a639e28 into main Jan 11, 2022
@AlexanderSehr AlexanderSehr deleted the users/erikag/runner-module branch January 11, 2022 14:08
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
[cat] azure devops category: Azure DevOps [cat] pipelines category: pipelines
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Runners setup time increasing due to PS modules installation
2 participants