-
Notifications
You must be signed in to change notification settings - Fork 133
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
Usage of azure as cloud provider for CI #183
Comments
this sounds good. is there a possibility that the pr from a fork are also be checked? |
@atomic111 unfortunately not. This has nothing to do with cloud provider itself, see details below:
All this things basically make sense - you do not want to pay for somebody, you do not want to run unknown/unreviewed code automatically, which could expose your secrets. The only one option for us is: to push branches to the base repo. For contributors outside of dev-sec: we have to repush the PR (it takes only two git commands, so it fine from my POV) |
Is there some reason to not use Based on the platforms being tested on DO we can probably use docker in travis: https://github.com/dev-sec/chef-os-hardening/blob/v3.0.0/.kitchen.do.local.yml#L13-L37 if we needed something like AIX that would be another story but one azure would not liklely help with anyways. |
@majormoses We are using kitchen-dokken in chef-ssh-hardening and/or other cookbooks. I tried it already in the past for chef-os-hardening, the problem was: we are making many kernel related configurations which were not possible within container (I guess even in the privileged mode). PR #184 might be a small improvement to this situation - we could run some tests with kitchen-dokken and all tests using cloud provider on the master branch |
OK makes sense, did you have a chance to look at my comments? |
Container support is implemented in #199 together with Travis CI configuration. Azure was implemented with puppet-os-hardening: it looks like usage of DO is still a better option:
I'm closing this issue |
it can be done with kitchen-azurerm
Advantages:
disadvantages:
I also checked the AWS and Google Cloud. AWS has billing per hour and in my tests the spin-up times were 5-7 mins. Google Cloud can be used only for organisations within Europe.
@chris-rock @atomic111 opinions?
The text was updated successfully, but these errors were encountered: