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

parallel_spec_standalone: use --format progress #446

Merged
merged 1 commit into from
May 9, 2024

Conversation

bastelfreak
Copy link
Collaborator

For the past decade, people used a .rspec_parallel to configure this. We can set it directly in the rake task. That enables us to remove the .rspec_parallel and ultimately reduces the number of files required for pdk update/modulesync.

Summary

Provide a detailed description of all the changes present in this pull request.

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.

@bastelfreak bastelfreak requested a review from a team as a code owner April 9, 2024 18:55
@bastelfreak bastelfreak marked this pull request as draft April 9, 2024 18:57
Copy link

codecov bot commented Apr 9, 2024

Codecov Report

Attention: Patch coverage is 0% with 3 lines in your changes are missing coverage. Please review.

Project coverage is 41.82%. Comparing base (e7173ab) to head (20dd0d7).

Files Patch % Lines
lib/puppetlabs_spec_helper/rake_tasks.rb 0.00% 3 Missing ⚠️
Additional details and impacted files
@@            Coverage Diff             @@
##             main     #446      +/-   ##
==========================================
- Coverage   41.88%   41.82%   -0.07%     
==========================================
  Files          10       10              
  Lines         678      679       +1     
==========================================
  Hits          284      284              
- Misses        394      395       +1     

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

@bastelfreak bastelfreak force-pushed the parallel branch 2 times, most recently from 71888ac to 7b61bf2 Compare April 9, 2024 19:39
@bastelfreak bastelfreak marked this pull request as ready for review April 9, 2024 19:40
@bastelfreak bastelfreak force-pushed the parallel branch 2 times, most recently from 9242b7a to d8f1389 Compare April 9, 2024 19:44
For the past decade, people used a .rspec_parallel to configure this. We
can set it directly in the rake task. That enables us to remove the
.rspec_parallel and ultimately reduces the number of files required for
pdk update/modulesync.
@jordanbreen28
Copy link
Contributor

@bastelfreak 👋 dropping a note to say we aren't ignoring this. I'll update the thread again shortly.

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 good to us! Thanks.

@gavindidrichsen gavindidrichsen merged commit 77ecfeb into puppetlabs:main May 9, 2024
7 of 9 checks passed
@bastelfreak bastelfreak deleted the parallel branch May 9, 2024 15:08
bastelfreak added a commit to bastelfreak/modulesync_config that referenced this pull request May 9, 2024
requires puppetlabs/puppetlabs_spec_helper#451
since puppetlabs/puppetlabs_spec_helper#446 the
rake task configures the output so we don't need .rspec_parallel
anymore.
bastelfreak added a commit to bastelfreak/puppetlabs_spec_helper that referenced this pull request May 9, 2024
usually we've a .rspec file in every module:
https://github.com/puppetlabs/pdk-templates/blob/main/moduleroot/.rspec.erb

By moving this to the rake task we can delete the whole .rspec file.
Similar to puppetlabs#446
bastelfreak added a commit to bastelfreak/puppetlabs_spec_helper that referenced this pull request May 9, 2024
usually we've a .rspec file in every module:
https://github.com/puppetlabs/pdk-templates/blob/main/moduleroot/.rspec.erb

By moving this to the rake task we can delete the whole .rspec file.
Similar to puppetlabs#446
bastelfreak added a commit to bastelfreak/modulesync_config that referenced this pull request May 9, 2024
requires puppetlabs/puppetlabs_spec_helper#451
since puppetlabs/puppetlabs_spec_helper#446 the
rake task configures the output so we don't need .rspec_parallel
anymore.

Requires also puppetlabs/puppetlabs_spec_helper#452
bastelfreak added a commit to bastelfreak/modulesync_config that referenced this pull request May 23, 2024
requires puppetlabs/puppetlabs_spec_helper#451
since puppetlabs/puppetlabs_spec_helper#446 the
rake task configures the output so we don't need .rspec_parallel
anymore.

Requires also puppetlabs/puppetlabs_spec_helper#452
bastelfreak added a commit to bastelfreak/modulesync_config that referenced this pull request May 23, 2024
requires puppetlabs/puppetlabs_spec_helper#451
since puppetlabs/puppetlabs_spec_helper#446 the
rake task configures the output so we don't need .rspec_parallel
anymore.

Requires also puppetlabs/puppetlabs_spec_helper#452
bastelfreak added a commit to bastelfreak/modulesync_config that referenced this pull request May 23, 2024
requires puppetlabs/puppetlabs_spec_helper#451
since puppetlabs/puppetlabs_spec_helper#446 the
rake task configures the output so we don't need .rspec_parallel
anymore.

Requires also puppetlabs/puppetlabs_spec_helper#452
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

5 participants