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

add freebsd data #282

Merged
merged 1 commit into from
Feb 27, 2023
Merged

add freebsd data #282

merged 1 commit into from
Feb 27, 2023

Conversation

evgeni
Copy link
Member

@evgeni evgeni commented Feb 24, 2023

No description provided.

@codecov
Copy link

codecov bot commented Feb 24, 2023

Codecov Report

Base: 0.50% // Head: 0.50% // Decreases project coverage by -0.01% ⚠️

Coverage data is based on head (185fcae) compared to base (00650ba).
Patch coverage: 0.00% of modified lines in pull request are covered.

❗ Current head 185fcae differs from pull request most recent head 72853c9. Consider uploading reports for the commit 72853c9 to get more accurate results

Additional details and impacted files
@@            Coverage Diff            @@
##           master    #282      +/-   ##
=========================================
- Coverage    0.50%   0.50%   -0.01%     
=========================================
  Files          15      15              
  Lines        2553    2560       +7     
=========================================
  Hits           13      13              
- Misses       2540    2547       +7     
Impacted Files Coverage Δ
lib/beaker-hostgenerator/data.rb 0.00% <0.00%> (ø)

Help us with your feedback. Take ten seconds to tell us how you rate us. Have a feature suggestion? Share it here.

☔ View full report at Codecov.
📢 Do you have feedback about the report comment? Let us know in this issue.

@@ -685,6 +685,22 @@ def osinfo
'platform' => 'fedora-14-i386',
},
},
'freebsd12-64' => {
:general => {
'platform' => 'freebsd-12-amd64',
Copy link
Member Author

Choose a reason for hiding this comment

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

I don't exactly understand the "platform" string. amd64 is FreeBSD way to say x86_64 (like Debian), but in other places I've seen this still being used as freebsd-123-x86_64, so no idea…

Copy link
Member

Choose a reason for hiding this comment

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

I always struggle with this myself and need to dig through the code or wait for the awesome ewoud...

Copy link
Member Author

Choose a reason for hiding this comment

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

the failures in https://github.com/voxpupuli/puppet-mosquitto/actions/runs/4269959304/jobs/7433482798 used freebsd-123-amd64, so I am going to stick with that for now.

Copy link
Member Author

Choose a reason for hiding this comment

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

@evgeni evgeni marked this pull request as ready for review February 25, 2023 13:04
Copy link
Member

@ekohl ekohl left a comment

Choose a reason for hiding this comment

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

I'd like to move more to a generated model rather than maintaining such a massive list.

'platform' => 'freebsd-12-amd64',
},
:vagrant => {
'box' => 'generic/freebsd12',
Copy link
Member

Choose a reason for hiding this comment

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

In https://github.com/voxpupuli/beaker-hostgenerator/blob/master/lib/beaker-hostgenerator/hypervisor/vagrant.rb we already do similar conversions automatically so you don't have to maintain a manual mapping and you get it "for free" when FreeBSD 14 comes out..

Copy link
Member Author

Choose a reason for hiding this comment

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

you're saying I can omit the vagrant => {} section?

Copy link
Member

Choose a reason for hiding this comment

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

I'm not sure if it translates well, but if it doesn't then I'm suggesting to special case it in the vagrant hypervisor rather than overriding it here.

@evgeni evgeni force-pushed the freebsd branch 2 times, most recently from fec05ae to 6b91746 Compare February 27, 2023 17:01
@evgeni
Copy link
Member Author

evgeni commented Feb 27, 2023

@ekohl seems to work well, also flipped to actually "generate" the entries too, as they are all identical

Copy link
Member

@ekohl ekohl left a comment

Choose a reason for hiding this comment

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

Thanks!

@ekohl ekohl merged commit f18b43d into voxpupuli:master Feb 27, 2023
@evgeni evgeni deleted the freebsd branch February 27, 2023 17:17
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.

4 participants