Skip to content

Commit

Permalink
Implement support for InSpec ~> v3.0 (#302)
Browse files Browse the repository at this point in the history
* Update inspec to 3.0

* Test backward compatability of InSpec attributes

* Update Change Log

* Update Ruby 2.3, 2.4 bundles

* Fix code display of system attribute examples

* Add backend: ssh integration tests

* Fix reference to Docker image

* Add missing docker build to 0.11.4

* Use community sshd Docker image

* Use localhost address for Docker host

* Use implicit environment Docker host

* Add rbnacl to test dependencies

rbnacl is required to use ed_25519 keys with InSpec

* Create separate Ruby version directories

* Replace obsolete PrimaDonnaMethod Reek suppression

* Remove duplication of bundle test group

* Remove obsolete development gems

* Exclude test/integration from Code Climate

Typical InSpec control syntax violates complexity and duplication
rules.

* Ensure localized bundle configs are used

* Simplify Kitchen Rake tasks

* Optimize localized Gemfiles

* Add localized caches

* Add bcrypt_pbkdf to test group

* Only test backend-ssh on Linux

* Remove ed25519 requirements from Ruby 2.5

Only Ruby 2.4 performs the backend ssh tests

* Add bastion host to test

* Localize caching

* Update bundler in deploy stage

* Remove group, other permissions from SSH key

* Set up Docker network for bastion tests

* Use key files with bastion host

* Use IP address for Docker host

* Fix IP address notation

* Explicitly set bastion IP address

* Use default Docker bridge network

* Use container port for SSH forwarding

* Revert "Use default Docker bridge network"

This reverts commit 8f95663.

* Test proxy command

* Test shell

* Simplify system names

* Remove first_output attribute from profile

This change further tests backward compatibility with InSpec 3

* Prepare for 4.1.0 release

* Remove global cache configuration

* Cache Terraform install on Windows

* Cache Chocolatey bin directory

* Revert "Cache Chocolatey bin directory"

This reverts commit bfbcb66.

Caching does not improve the speed of the Terraform install. :(

* Revert "Cache Terraform install on Windows"

This reverts commit 58ce8b4.
  • Loading branch information
aaron-lane committed Dec 10, 2018
1 parent 1f3625d commit d009644
Show file tree
Hide file tree
Showing 31 changed files with 365 additions and 204 deletions.
1 change: 1 addition & 0 deletions .codeclimate.yml
Expand Up @@ -23,4 +23,5 @@ exclude_patterns:
- "docs/"
- "examples/"
- "integration/"
- "test/integration"
- "website/"

0 comments on commit d009644

Please sign in to comment.