-
Notifications
You must be signed in to change notification settings - Fork 41
Feature/add kitchen tests #35
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
Feature/add kitchen tests #35
Conversation
|
@aboe76 yes, we need to check for I plan to fix that after this PR merged. |
a60c446 to
cf88fda
Compare
|
I finally managed to understand how to skip the admin socket for older I needed dedicated custom resources to Good to merge for me. Regards. |
|
Could it be merged? |
|
@baby-gnu We really need all of the tests passing. Or if something needs to be fixed in the CI, that needs to be done first. Common error: ID: libvirt.keys
Function: virt.keys
Name: libvirt_keys
Result: False
Comment: State 'virt.keys' was not found in SLS 'libvirt.keys'
Reason: 'virt' __virtual__ returned False |
Ok, I was wondering in which order to do the job. |
|
I'll disable |
|
@baby-gnu I've merged #35, #36 and #37 in my own fork for testing in Travis but we're still getting failures: https://travis-ci.org/myii/libvirt-formula/builds/544406124. You can use the link on that page to confirm that I've applied your changes correctly (but there were no conflicts). How would you like to proceed? |
|
Hello @myii. Sorry, I think I did the whole thing in the wrong order. Ideally, I should have done several branches to apply in the order to make it easier to follow
Now:
|
|
@baby-gnu That's a good idea, let's get this all up and running with even one platform and then expand it from there. I'll let you decide how you would prefer to proceed. It's OK if you want the other PRs merged first or do it all in one. |
d7c05d5 to
7778490
Compare
We select only the CentOS 7 with SaltStack 2018.3 on Python2 and no tests are executed. * test/integration/default/inspec.yml: describe the InSpec profile. * kitchen.yml: use the same matrix as “template-formula”. * Gemfile: require kitchen gems for docker, salt and inspec. * commitlint.config.js: configure commitlint. * .travis.yml: use the same configuration as “template-formula” but enable only “centos-7-2018-3-py2” and disable “release” job. * .gitignore: kitchen store logs and information under .kitchen. Do not track the bundler lock file.
a970cb3 to
3047d31
Compare
|
Great, this branch is now ready to be merged for me, I'm planning the other branches. |
* test/integration/default/controls/config_spec.rb: verify the presence of the configuration file used to start the daemon and the libvirt configuration file processed by the formula.
3047d31 to
9a969fc
Compare
|
Hello @myii So I finished to push the single platform tests, each one based on the previous:
When they will be merged, I'll start to enable other platforms. Regards. |
aboe76
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@baby-gnu nice work thanks
|
@myii shall I merge this one? |
|
@baby-gnu merged it so you can continue with you great work! |
|
@aboe76 ok, I'll merge everything. Thanks. |
No description provided.