Commit graph

2697 commits

Author SHA1 Message Date
Steven Danna
be1a61f2e5 Process transitive dependencies from lock file
This is a regression introduced by the changes from string to symbol
keys in v0.34.0. It seems that our test cookbook that had a nested
dependency example wasn't actually wired up to run.

This adds a basic functional test and corrects the typo.

Signed-off-by: Steven Danna <steve@chef.io>
2016-09-15 09:41:40 +02:00
Dominik Richter
650e025a7a Merge pull request #1075 from chef/dr/build-demo
add gulp build pipeline to online demo
2016-09-14 19:24:06 +02:00
Christoph Hartmann
8899c75f87 Merge pull request #1073 from chef/chris-rock/inspec-simulator
inspec simulator
2016-09-14 18:10:42 +02:00
Christoph Hartmann
d8d3375f9b add mocked inspec 2016-09-14 17:58:10 +02:00
Christoph Hartmann
7d6eb38d4c move tutorial ignores to its own gitignore 2016-09-14 17:58:10 +02:00
Christoph Hartmann
5088795ffc Merge pull request #1077 from chef/ssd/no-gpg-for-you
Don't gpg-sign commits during tests
2016-09-14 17:57:35 +02:00
Steven Danna
7fbb768fc7 Don't gpg-sign commits during tests
If you have gpg singing globally enabled, the tests would ask you for
your gpg pin.  This is not fun.

Signed-off-by: Steven Danna <steve@chef.io>
2016-09-14 17:50:37 +02:00
Christoph Hartmann
178156499f Merge pull request #1076 from chef/ssd/issue-1074
Ensure resources are visible inside its blocks
2016-09-14 17:48:26 +02:00
Steven Danna
8024eea8b7
Ensure resources are visible inside its blocks
The recent changes to provide isolated views of the available resources
was not extended to Rspec::ExampleGroups. This ensures that
ExampleGroups have access to the same resources as the enclosing
Inspec::Rule.

Signed-off-by: Steven Danna <steve@chef.io>
2016-09-14 16:27:59 +01:00
Dominik Richter
74ed7be3eb add gulp build pipeline to online demo 2016-09-14 15:37:36 +02:00
Christoph Hartmann
23e1772894 Merge pull request #1072 from chef/ssd/issue-1049
Skip controls from profiles that don't support the current platform
2016-09-14 12:16:22 +02:00
Steven Danna
f2e587f6d5
Skip controls from profile's that don't support the current platform
Any controls included from profiles that don't support our current
platform are now marked as skipped.

Fixes #1049
2016-09-14 09:57:53 +01:00
Christoph Hartmann
ee2cbafc6e Merge pull request #1064 from chef/ssd/issue-1048
Provide inspec.yml shortcut syntax
2016-09-14 09:04:52 +02:00
Steven Danna
8f10ee53c5 Provide inspec.yml shortcut syntax
- Allow users to elide the `name` attributes
- Assume a default source of supermarket

Fixes #1048

Signed-off-by: Steven Danna <steve@chef.io>
2016-09-14 08:46:06 +02:00
Dominik Richter
b920b3bb8f Merge pull request #1068 from chef/dr/www-tutorials
add tutorials (references) to the site skeleton
2016-09-14 04:10:22 +02:00
Dominik Richter
119719366a add tutorials page 2016-09-14 03:58:43 +02:00
Dominik Richter
fea79e970a add small overview on the intro page 2016-09-14 03:48:43 +02:00
Dominik Richter
368066ed5a Merge pull request #1065 from chef/vj/improve-demo
Vj/improve demo
2016-09-14 00:54:03 +02:00
Victoria Jeffrey
645f997ac1 format instructions, css fixes, fix scrolling 2016-09-13 18:38:04 -04:00
Victoria Jeffrey
101d24fc7e update responses 2016-09-13 16:54:39 -04:00
Christoph Hartmann
ad2faecffd 0.34.1 2016-09-13 17:17:51 +02:00
Christoph Hartmann
31e945fd7a Merge pull request #1062 from chef/chris-rock/fix-encoding
Force encoding in bin only
2016-09-13 17:09:37 +02:00
Christoph Hartmann
60360f267d move force encoding to binary only, so that it does not affect the use of inspec in lib mode 2016-09-13 16:18:40 +02:00
Christoph Hartmann
4237a47dc4 Merge pull request #1067 from chef/ssd/rubocop-fixup
Fixup rubocop violation in www/
2016-09-13 16:17:34 +02:00
Steven Danna
6e60362d56
Fixup rubocop violation in www/
- Missing encoding comments in ruby files

Signed-off-by: Steven Danna <steve@chef.io>
2016-09-13 15:11:48 +01:00
Dominik Richter
ed178293ab Merge pull request #1063 from chef/dr/www
add homepage skeleton
2016-09-12 21:17:48 +02:00
Dominik Richter
9eb3711bbd add homepage 2016-09-12 21:01:40 +02:00
Christoph Hartmann
b591f0c6ca 0.34.0 2016-09-12 19:36:09 +02:00
Christoph Hartmann
7f2c10b5d0 Merge pull request #1051 from chef/chris-rock/meta-profile
rename example to meta-profile
2016-09-12 16:02:08 +02:00
Christoph Hartmann
b99c8b57b6 Merge pull request #1050 from chef/vj/fix-webpack-script
fix webpack start script for tutorial
2016-09-12 15:17:02 +02:00
Christoph Hartmann
a8a3053a48 rename example to meta-profile 2016-09-12 14:45:40 +02:00
Victoria Jeffrey
d22749dc29 fix webpack start script 2016-09-12 08:42:31 -04:00
Christoph Hartmann
4269cb374c Merge pull request #1044 from chef/chris-rock/security_policy
use simple config for security policy resource
2016-09-12 12:31:44 +02:00
Christoph Hartmann
9c7d06c167 use simple config for security policy resource 2016-09-12 12:20:57 +02:00
Christoph Hartmann
fe9850664d Merge pull request #1038 from chef/ssd/dup-detect
Improve duplicate and cycle detection in resolver
2016-09-12 12:19:56 +02:00
Steven Danna
b48b9edae9
Improve duplicate and cycle detection in resolver
Signed-off-by: Steven Danna <steve@chef.io>
2016-09-12 10:57:55 +01:00
Christoph Hartmann
bff5bb2320 Merge pull request #1039 from chef/chris-rock/user_enabled
identify enabled/disabled accounts for windows
2016-09-12 11:49:28 +02:00
Christoph Hartmann
a2143b8249 identify enabled/disabled accounts for windows 2016-09-12 11:40:25 +02:00
Christoph Hartmann
5a788f1138 Merge pull request #1046 from chef/ssd/fetcher-backcompat
Add Inspec::Fetcher#relative_target for compatibility
2016-09-12 11:38:57 +02:00
Steven Danna
1836e6daeb
Add Inspec::Fetcher#relative_target for compatibility
Signed-off-by: Steven Danna <steve@chef.io>
2016-09-12 09:54:57 +01:00
Christoph Hartmann
6506493d06 Merge pull request #1033 from chef/vj/get-content-in-demo
add demo content
2016-09-12 09:56:38 +02:00
Victoria Jeffrey
66e54b675f load content into demo and handle shell commands 2016-09-12 09:39:16 +02:00
Christoph Hartmann
4048cc6b4c Merge pull request #1037 from chef/ssd/example-corp-profile
Add example of corporate profile
2016-09-12 09:34:39 +02:00
Steven Danna
d8d53b36c1 Add example of corporate profile
This won't work until the git fetcher is merged. It likely also
exhibits other problems related to platform support handling.

Signed-off-by: Steven Danna <steve@chef.io>
2016-09-12 09:29:49 +02:00
Christoph Hartmann
df487861fe Merge pull request #1041 from chef/ssd/le-sigh
Typo supermarket -> compliance
2016-09-09 18:48:57 +02:00
Steven Danna
4d2d0f2b67
Typo supermarket -> compliance
Signed-off-by: Steven Danna <steve@chef.io>
2016-09-09 14:46:36 +01:00
Christoph Hartmann
1c10d7fbb4 Merge pull request #1034 from chef/ssd/git-fetcher
Add GitFetcher and rework Fetchers+SourceReaders
2016-09-09 15:29:19 +02:00
Steven Danna
120b3d895a
Allow supermarket:// and compliance:// in inspec.yml
Signed-off-by: Steven Danna <steve@chef.io>
2016-09-09 14:14:37 +01:00
Steven Danna
85cbe713d7
Add GitFetcher and rework Fetchers+SourceReaders
This adds a new git fetcher. In doing so, it also refactors how the
fetchers work a bit to better support fetchers that need to resolve
user-provided sources to fully specified sources appropriate for a
lockfile.

Signed-off-by: Steven Danna <steve@chef.io>
2016-09-09 14:14:36 +01:00
Steven Danna
3777f06927
Remove some warnings during the test run 2016-09-09 14:14:36 +01:00