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-1896) - Use puppet-modulebuilder for PDK build #1374

Merged
merged 2 commits into from
Jul 11, 2024

Conversation

jordanbreen28
Copy link
Contributor

@jordanbreen28 jordanbreen28 commented Jul 8, 2024

Summary

This PR updates the pdk to use the module builder gem for its build functionality. The PDK build code had largely duplicated this, therefore we were maintaining two codebases with very similiar purpose.

The use of the modulebuilder gem means we now only have to maintain the build code in one place.

Additional Context

Add any additional context about the problem here.

  • Root cause and the steps to reproduce. (If applicable)
  • Thought process behind the implementation.

Related Issues (if any)

Mention any related issues or pull requests.

Checklist

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

@jordanbreen28 jordanbreen28 force-pushed the cat-1896-use_puppet-modulebuilder branch 3 times, most recently from cee086d to a758f5b Compare July 9, 2024 09:32
@jordanbreen28 jordanbreen28 changed the title (WIP) (CAT-1896) - Use puppet-modulebuilder for PDK build (WIP) (CAT-1896) - Use puppet-modulebuilder for PDK build & Add module_dir option to pdk build Jul 9, 2024
@jordanbreen28 jordanbreen28 changed the title (WIP) (CAT-1896) - Use puppet-modulebuilder for PDK build & Add module_dir option to pdk build (WIP) (CAT-1896) - Use puppet-modulebuilder for PDK build & Add module-dir option to pdk build Jul 9, 2024
@jordanbreen28 jordanbreen28 force-pushed the cat-1896-use_puppet-modulebuilder branch 9 times, most recently from 7d6523a to 3eb999b Compare July 9, 2024 15:39
Copy link

codecov bot commented Jul 9, 2024

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 88.54%. Comparing base (1a35834) to head (f01112c).

Additional details and impacted files
@@            Coverage Diff             @@
##             main    #1374      +/-   ##
==========================================
+ Coverage   88.24%   88.54%   +0.30%     
==========================================
  Files         128      127       -1     
  Lines        5435     5334     -101     
==========================================
- Hits         4796     4723      -73     
+ Misses        639      611      -28     

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

@jordanbreen28 jordanbreen28 force-pushed the cat-1896-use_puppet-modulebuilder branch 2 times, most recently from 37c1db4 to 26c6f32 Compare July 10, 2024 09:25
@jordanbreen28 jordanbreen28 changed the title (WIP) (CAT-1896) - Use puppet-modulebuilder for PDK build & Add module-dir option to pdk build (CAT-1896) - Use puppet-modulebuilder for PDK build & Add module-dir option to pdk build Jul 10, 2024
@jordanbreen28 jordanbreen28 removed the WIP label Jul 10, 2024
@jordanbreen28 jordanbreen28 force-pushed the cat-1896-use_puppet-modulebuilder branch from 26c6f32 to e1a02df Compare July 10, 2024 10:42
@jordanbreen28 jordanbreen28 changed the title (CAT-1896) - Use puppet-modulebuilder for PDK build & Add module-dir option to pdk build (CAT-1896) - Use puppet-modulebuilder for PDK build Jul 10, 2024
@jordanbreen28 jordanbreen28 force-pushed the cat-1896-use_puppet-modulebuilder branch 6 times, most recently from 41f707f to efac6dc Compare July 10, 2024 11:45
@jordanbreen28 jordanbreen28 marked this pull request as ready for review July 10, 2024 11:52
@jordanbreen28 jordanbreen28 requested a review from a team as a code owner July 10, 2024 11:52
@jordanbreen28 jordanbreen28 force-pushed the cat-1896-use_puppet-modulebuilder branch from efac6dc to 4627f32 Compare July 10, 2024 13:19
This commit updates the pdk to use the module builder gem
for its build functionality. The PDK build code had largely
duplicated this, therefore we were maintaining two codebases
with very similiar purpose.
@jordanbreen28 jordanbreen28 force-pushed the cat-1896-use_puppet-modulebuilder branch from 4627f32 to f01112c Compare July 10, 2024 13:36
Copy link
Contributor

@gavindidrichsen gavindidrichsen left a comment

Choose a reason for hiding this comment

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

Looks fantastic!!

@gavindidrichsen gavindidrichsen merged commit da0a3b8 into main Jul 11, 2024
10 of 11 checks passed
@gavindidrichsen gavindidrichsen deleted the cat-1896-use_puppet-modulebuilder branch July 11, 2024 14:32
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants