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

(CAT-1322) - Run Puppetize Biweekly #262

Closed
wants to merge 22 commits into from

Conversation

jordanbreen28
Copy link

@jordanbreen28 jordanbreen28 commented Sep 11, 2023

Summary

This PR changes the puppetize workflow to run at 6am on the 1st and 15th day of each month.
It also includes a change which allows the workflow to gather the top 50 DSC modules using the forge API, and puppetize them.

Note
This only creates a job for the modules which are out of sync with the PS Gallery, not all modules will create a job so this will keep compute resources down.

This PR also contains a number of smaller maintenance fixes:

  • Updated the naming of the Install-Gems function to Invoke-BundleInstall as per the powershell styling guidelines.
  • Adds a nightly workflow for reporting
  • Adds 7ZipArchiveDsc to dsc_resources.yml as the forge name does not match the name found for this module on PSGallery, so prevents a mismatch between the forge and psgallery apis.

Checklist

  • 🟢 Spec tests.
  • 🟢 Acceptance tests.
  • Manually verified.

@jordanbreen28 jordanbreen28 added the maintenance non-user-visible changes improving the infrastructure label Sep 11, 2023
@jordanbreen28 jordanbreen28 requested a review from a team as a code owner September 11, 2023 17:10
@jordanbreen28 jordanbreen28 changed the title Cat 1322 run puppetize biweekly (CAT-1322) - Run Puppetize Biweekly Sep 11, 2023
@jordanbreen28 jordanbreen28 force-pushed the CAT-1322-run_puppetize_biweekly branch 6 times, most recently from 098fc01 to 45e2919 Compare September 12, 2023 07:46
@jordanbreen28
Copy link
Author

jordanbreen28 commented Sep 12, 2023

For example, you can see here even though it gathered the top 50 modules it only ran on the unpuppetized modules, which was only about 12 modules.
This number would likely be a lot smaller when puppetize is run on a regular-basis.

@jordanbreen28 jordanbreen28 force-pushed the CAT-1322-run_puppetize_biweekly branch 5 times, most recently from 981570d to fbbb580 Compare September 12, 2023 13:28
@jordanbreen28 jordanbreen28 deleted the CAT-1322-run_puppetize_biweekly branch September 12, 2023 13:40
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
maintenance non-user-visible changes improving the infrastructure
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant