mirror of
https://github.com/dev-sec/ansible-nginx-hardening.git
synced 2024-11-26 11:13:45 +01:00
Merge pull request #1 from dev-sec/chris-rock/minor-updates
improve gemfile, update readme for local tests
This commit is contained in:
commit
29c99df6be
@ -59,7 +59,7 @@ verifier:
|
||||
- https://github.com/dev-sec/tests-ssh-hardening
|
||||
|
||||
suites:
|
||||
- name: ssh-ansible_1.9
|
||||
- name: nginx-ansible_1.9
|
||||
provisioner:
|
||||
ansible_version: 1.9.4
|
||||
- name: ssh-ansible_latest
|
||||
- name: nginx-ansible_latest
|
||||
|
6
Gemfile
6
Gemfile
@ -2,6 +2,12 @@
|
||||
|
||||
source 'https://rubygems.org'
|
||||
|
||||
if Gem::Version.new(RUBY_VERSION) < Gem::Version.new('2.2.2')
|
||||
gem 'rack', '< 2.0'
|
||||
gem 'ruby_dep', '< 1.4.0'
|
||||
gem 'listen', '< 3.0.0'
|
||||
end
|
||||
|
||||
group :test do
|
||||
gem 'rake'
|
||||
gem 'foodcritic', '~> 4.0'
|
||||
|
@ -78,14 +78,14 @@ bundle exec kitchen converge default-ubuntu-1204
|
||||
|
||||
```
|
||||
# fast test on one machine
|
||||
KITCHEN_YAML=".kitchen.vagrant.yml" bundle exec kitchen test default-ubuntu-1204
|
||||
KITCHEN_YAML=".kitchen.vagrant.yml" bundle exec kitchen test nginx-ansible-19-ubuntu-1404
|
||||
|
||||
# test on all machines
|
||||
KITCHEN_YAML=".kitchen.vagrant.yml" bundle exec kitchen test
|
||||
|
||||
# for development
|
||||
KITCHEN_YAML=".kitchen.vagrant.yml" bundle exec kitchen create default-ubuntu-1204
|
||||
KITCHEN_YAML=".kitchen.vagrant.yml" bundle exec kitchen converge default-ubuntu-1204
|
||||
KITCHEN_YAML=".kitchen.vagrant.yml" bundle exec kitchen create nginx-ansible-19-ubuntu-1404
|
||||
KITCHEN_YAML=".kitchen.vagrant.yml" bundle exec kitchen converge nginx-ansible-19-ubuntu-1404
|
||||
```
|
||||
|
||||
For more information see [test-kitchen](http://kitchen.ci/docs/getting-started)
|
||||
|
Loading…
Reference in New Issue
Block a user