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

feat(freebsd): add FreeBSD support #32

Closed
wants to merge 6 commits into from
Closed

feat(freebsd): add FreeBSD support #32

wants to merge 6 commits into from

Conversation

Strade28
Copy link

No description provided.

@dafyddj
Copy link
Contributor

dafyddj commented Jun 13, 2019

The changes seem fine to me, but could do with being tested, no? (By which I mean adding a platform to test-kitchen)

@Strade27
Copy link

Hello, unfortunetly travis doesn’t support freebsd. I not found easy way to do that.

@dafyddj
Copy link
Contributor

dafyddj commented Jun 14, 2019

You could add a custom kitchen.yml, and leave it out from Travis. A manual test is better than no test, IMO.

@myoung34
Copy link
Contributor

Manual tests are generally fine but they wont be run because maintainers just rely on the GH status API.

If the tests that are in place work, then the code is fine as-is, and if it works with FreeBSD then thats a bonus until travis supports that platform. Until then this is just a refactor change and freebsd is unofficially supported as far as tests/assertions are concerned

@Strade28
Copy link
Author

Hello !
I add some local test for freebsd using kitchen-vagrant.

@aboe76 aboe76 requested a review from n-rodriguez June 19, 2019 21:44
Copy link
Member

@aboe76 aboe76 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 as far as I can tell

docs/README.rst Outdated Show resolved Hide resolved
.kitchen.freebsd.yml Outdated Show resolved Hide resolved
@rbjorklin
Copy link
Contributor

Just a heads up that my change that just got merged might have broken this.
#33

@Strade28
Copy link
Author

Just a heads up that my change that just got merged might have broken this.
#33

Thanks ! there is not problem with your change.


gem install bundler
bundle install
bundle exec KITCHEN_LOCAL_YAML=.kitchen.freebsd.yml kitchen test -t test_freebsd/integration
Copy link
Member

Choose a reason for hiding this comment

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

This command doesn't work : bundler: command not found: KITCHEN_LOCAL_YAML=.kitchen.freebsd.yml
It should be KITCHEN_LOCAL_YAML=.kitchen.freebsd.yml bundle exec kitchen test -t test_freebsd/integration

@n-rodriguez
Copy link
Member

n-rodriguez commented Jun 24, 2019

there is an issue in dev-server-freebsd-11 converge step :

I, [2019-06-24T14:56:15.130479 #16838]  INFO -- dev-server-freebsd-11:           ID: vault-service-init-service-running
I, [2019-06-24T14:56:15.130565 #16838]  INFO -- dev-server-freebsd-11:     Function: service.running
I, [2019-06-24T14:56:15.130695 #16838]  INFO -- dev-server-freebsd-11:         Name: vault
I, [2019-06-24T14:56:15.130781 #16838]  INFO -- dev-server-freebsd-11:       Result: False
I, [2019-06-24T14:56:15.130866 #16838]  INFO -- dev-server-freebsd-11:      Comment: Service vault has been enabled, and is dead
I, [2019-06-24T14:56:15.130948 #16838]  INFO -- dev-server-freebsd-11:      Started: 12:56:13.567798
I, [2019-06-24T14:56:15.131029 #16838]  INFO -- dev-server-freebsd-11:     Duration: 372.742 ms
I, [2019-06-24T14:56:15.131112 #16838]  INFO -- dev-server-freebsd-11:      Changes:   
I, [2019-06-24T14:56:15.131202 #16838]  INFO -- dev-server-freebsd-11:        ----------
I, [2019-06-24T14:56:15.131291 #16838]  INFO -- dev-server-freebsd-11:        vault:
I, [2019-06-24T14:56:15.131381 #16838]  INFO -- dev-server-freebsd-11:            True

dev-server-freebsd-11.log

@myii
Copy link
Member

myii commented Jun 25, 2019

@Strade28 The following is a suggestion, not a requirement:

Basically, leave Travis CI as-is but add a single entry for FreeBSD in Cirrus CI.

@fzipi
Copy link

fzipi commented Sep 9, 2019

@Strade28 Can you solve the conflicts so this can be merged?

@myii
Copy link
Member

myii commented Sep 12, 2019

@aboe76 Can we add @dafyddj to the SaltStack Formulas contributors group? Thanks in advance.

@aboe76
Copy link
Member

aboe76 commented Sep 12, 2019

If @dafyddj sends an invite I can aprove it.

@dafyddj
Copy link
Contributor

dafyddj commented Sep 12, 2019

If @dafyddj sends an invite I can aprove it.

I can't invite myself, surely?

@aboe76
Copy link
Member

aboe76 commented Sep 13, 2019

@aboe76
Copy link
Member

aboe76 commented Sep 13, 2019

@UtahDave can you invite @dafyddj ?

@myii
Copy link
Member

myii commented Sep 13, 2019

@aboe76
Copy link
Member

aboe76 commented Sep 13, 2019

@myii yes I know but I don't have access, I'm only a moderator.

@myii
Copy link
Member

myii commented Mar 30, 2021

@Strade28 We've finally got FreeBSD Vagrant testing working in GitHub Actions but unfortunately that's come a bit too late for this PR -- I wasn't able to push the changes here since your fork is no longer available. However, I've recovered your excellent contribution and added the CI on top in #54. I had to squash your commits and do a bit of jiggling but the backbone of your work is all there.

Thanks to all of the others for their comments and reviews towards this PR.

Closing this PR since nothing else can be done here. Please continue any further discussion in #54.

@myii myii closed this Mar 30, 2021
myii added a commit to myii/ssf-formula that referenced this pull request Mar 31, 2021
myii added a commit to myii/ssf-formula that referenced this pull request Mar 31, 2021
myii added a commit to myii/ssf-formula that referenced this pull request Apr 5, 2021
myii added a commit to myii/ssf-formula that referenced this pull request Apr 19, 2021
myii added a commit to myii/ssf-formula that referenced this pull request Mar 23, 2022
dafyddj added a commit that referenced this pull request Mar 23, 2022
feat(freebsd): add FreeBSD support (recover abandoned PR #32)
@myii
Copy link
Member

myii commented Mar 23, 2022

@Strade28 #54 has been merged, so the work in this PR wasn't lost in the end -- thanks again for the contribution.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

9 participants