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

CI, Harmonization of tests, Testing of Chef 13 and Chef 12 #176

Merged
merged 3 commits into from
May 16, 2017

Conversation

artem-sidorenko
Copy link
Member

@artem-sidorenko artem-sidorenko commented May 13, 2017

  • Harmonization of test and CI setup with os-hardening
  • Run tests per default on latest chef version and do some tests with Chef 12

@chris-rock @atomic111 I took a similar approach like in os-hardening, .kitchen.yml contains now vagrant setup and some parameters, .kitchen.dokken.yml contains configs for dokken/docker.

I had some problems with dokken: because of systemd thing, privileged container and some error the systemd of my host was influenced by the container process and broke. Since then I'm only using the vagrant way. I do not know your setups, but I hope this change is Okay. If not, let us discuss the alternatives

Fixes #174, #177

@coveralls
Copy link

Coverage Status

Coverage remained the same at 100.0% when pulling 14141c2 on artem-sidorenko:chef-13 into 3e84ded on dev-sec:master.

@coveralls
Copy link

Coverage Status

Coverage remained the same at 100.0% when pulling 14141c2 on artem-sidorenko:chef-13 into 3e84ded on dev-sec:master.

@coveralls
Copy link

Coverage Status

Coverage remained the same at 100.0% when pulling 73c46c5 on artem-sidorenko:chef-13 into 3e84ded on dev-sec:master.

@coveralls
Copy link

Coverage Status

Coverage remained the same at 100.0% when pulling 2b1bc69 on artem-sidorenko:chef-13 into 3e84ded on dev-sec:master.

@artem-sidorenko
Copy link
Member Author

Red tests of opensuse leap should be fixed by dev-sec/ssh-baseline#88

@coveralls
Copy link

Coverage Status

Coverage decreased (-0.2%) to 99.821% when pulling 76209ee on artem-sidorenko:chef-13 into 3e84ded on dev-sec:master.

Copy link
Member

@atomic111 atomic111 left a comment

Choose a reason for hiding this comment

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

@artem-sidorenko i am fine with this.

@chris-rock your opinion?

- recipe[ssh-hardening]
verifier:
inspec_tests:
- https://github.com/dev-sec/tests-ssh-hardening
Copy link
Member

Choose a reason for hiding this comment

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

can you change the link to https://github.com/dev-sec/ssh-baseline

Copy link
Member Author

Choose a reason for hiding this comment

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

good catch, thanks! :)

.kitchen.yml Outdated
@@ -78,3 +32,27 @@ suites:
verifier:
inspec_tests:
- https://github.com/dev-sec/tests-ssh-hardening
Copy link
Member

Choose a reason for hiding this comment

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

can you change the link to https://github.com/dev-sec/ssh-baseline

.kitchen.yml Outdated
use_pam: false
verifier:
inspec_tests:
- https://github.com/dev-sec/tests-ssh-hardening
Copy link
Member

Choose a reason for hiding this comment

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

can you change the link to https://github.com/dev-sec/ssh-baseline

- Using vagrant for kitchen tests per default
- Using dokken in the CI
- Same travis configuration structure
- Switch the tests to the latest available chef version

Signed-off-by: Artem Sidorenko <artem@posteo.de>
Signed-off-by: Artem Sidorenko <artem@posteo.de>
Signed-off-by: Artem Sidorenko <artem@posteo.de>
@coveralls
Copy link

Coverage Status

Coverage remained the same at 100.0% when pulling f0e1c22 on artem-sidorenko:chef-13 into 3e84ded on dev-sec:master.

Copy link
Member

@chris-rock chris-rock left a comment

Choose a reason for hiding this comment

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

Thank you @artem-sidorenko for this improvement

@artem-sidorenko artem-sidorenko merged commit cf0180e into dev-sec:master May 16, 2017
@artem-sidorenko artem-sidorenko deleted the chef-13 branch May 16, 2017 11:19
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