Clinton Wolfe
d6e63fce6e
Support multiple waiver files and handle misparsed YAML
...
Signed-off-by: Clinton Wolfe <clintoncwolfe@gmail.com>
2021-04-08 16:25:09 -04:00
Clinton Wolfe
c21055af62
Rename --ludicrous-speed to --filter-waived-controls and reword usage message
...
Signed-off-by: Clinton Wolfe <clintoncwolfe@gmail.com>
2021-04-08 16:25:09 -04:00
Clinton Wolfe
b42649e9e2
Refactor waived control filtering code into its own method; add usage error; remove warning to STDOUT
...
Signed-off-by: Clinton Wolfe <clintoncwolfe@gmail.com>
2021-04-08 16:23:24 -04:00
Clinton Wolfe
4e43c54819
Remove debugger entrypoint
...
Signed-off-by: Clinton Wolfe <clintoncwolfe@gmail.com>
2021-04-08 16:20:02 -04:00
Nick Schwaderer
bcb8097952
Cover side case where no-flag situations break
...
Signed-off-by: Nick Schwaderer <nschwaderer@chef.io>
2021-04-08 16:20:02 -04:00
Nick Schwaderer
bdfff66255
Only update if waived
...
Signed-off-by: Nick Schwaderer <nschwaderer@chef.io>
2021-04-08 16:20:02 -04:00
Nick Schwaderer
e5a96bbd98
Improvement to comment
...
Signed-off-by: Nick Schwaderer <nschwaderer@chef.io>
2021-04-08 16:20:02 -04:00
Nick Schwaderer
bb5cfbd434
Implement retain-waiver-data to keep 100% feature-ability
...
Signed-off-by: Nick Schwaderer <nschwaderer@chef.io>
2021-04-08 16:20:02 -04:00
Nick Schwaderer
c1d88e9536
Clarify waiver path
...
Signed-off-by: Nick Schwaderer <nschwaderer@chef.io>
2021-04-08 16:20:02 -04:00
Nick Schwaderer
219941cd2b
Cleans up waiver grab approach
...
Signed-off-by: Nick Schwaderer <nschwaderer@chef.io>
2021-04-08 16:19:17 -04:00
Nick Schwaderer
3bbf36cbe2
Final name update
...
Signed-off-by: Nick Schwaderer <nschwaderer@chef.io>
2021-04-08 16:19:17 -04:00
Nick Schwaderer
e048bc95eb
Better naming
...
Signed-off-by: Nick Schwaderer <nschwaderer@chef.io>
2021-04-08 16:19:17 -04:00
Nick Schwaderer
ac8ee33b63
Extend nuke_waivers
...
Signed-off-by: Nick Schwaderer <nschwaderer@chef.io>
2021-04-08 16:19:17 -04:00
Nick Schwaderer
db3e2751d6
Sets up testing and expectation for completely nuked waived controls
...
Signed-off-by: Nick Schwaderer <nschwaderer@chef.io>
2021-04-08 16:18:35 -04:00
Chef Expeditor
7496992c9c
Bump version to 4.30.0 by Chef Expeditor
...
Obvious fix; these changes are the result of automation not creative thinking.
2021-04-05 02:26:32 +00:00
Clinton Wolfe
8286ec8072
Merge pull request #5443 from inspec/cw/timeouts
...
Add timeout option to command resource
2021-04-04 22:25:09 -04:00
Clinton Wolfe
2bba45f1a3
Apply docs suggestions from code review
...
Signed-off-by: Clinton Wolfe <clintoncwolfe@gmail.com>
Co-authored-by: Ian Maddaus <IanMadd@users.noreply.github.com>
2021-04-04 21:41:46 -04:00
Chef Expeditor
4fa55ebe71
Bump version to 4.29.5 by Chef Expeditor
...
Obvious fix; these changes are the result of automation not creative thinking.
2021-04-05 01:35:36 +00:00
Clinton Wolfe
e20c5d309d
Merge pull request #5449 from inspec/IanMadd-patch-1
...
Update inputs.md
2021-04-04 21:34:15 -04:00
IanMadd
56107c3312
Remove additional instances
...
Signed-off-by: IanMadd <Ian.Maddaus@progress.com>
2021-04-02 11:36:18 -07:00
Ian Maddaus
d20d8f9d90
Update inputs.md
...
Signed-off-by: Ian Maddaus <imaddaus@chef.io>
Remove setting input from Audit Cookbook
2021-04-02 10:51:19 -07:00
Clinton Wolfe
dfb7f64ba6
Explicitly force default timeout in tests
...
Signed-off-by: Clinton Wolfe <clintoncwolfe@gmail.com>
2021-03-29 22:13:11 -04:00
Clinton Wolfe
81305d3270
linting
...
Signed-off-by: Clinton Wolfe <clintoncwolfe@gmail.com>
2021-03-29 21:48:41 -04:00
Clinton Wolfe
37ffdd27cb
Docs for command ressource timeout
...
Signed-off-by: Clinton Wolfe <clintoncwolfe@gmail.com>
2021-03-29 21:46:25 -04:00
Clinton Wolfe
8df0fb0814
Functional tests for command resource timeout
...
Signed-off-by: Clinton Wolfe <clintoncwolfe@gmail.com>
2021-03-29 21:46:25 -04:00
Clinton Wolfe
e5b74b5760
Make CLI option take precedence over DSL option if it is nondefault
...
Signed-off-by: Clinton Wolfe <clintoncwolfe@gmail.com>
2021-03-29 21:46:25 -04:00
Clinton Wolfe
35b0081c2c
Apply suggested fix to maintain SSH connection
...
Signed-off-by: Clinton Wolfe <clintoncwolfe@gmail.com>
2021-03-29 21:46:25 -04:00
Clinton Wolfe
6d7f5a240b
Convert minutes to seconds for consistent interface
...
Signed-off-by: Clinton Wolfe <clintoncwolfe@gmail.com>
2021-03-29 21:46:25 -04:00
James Stocks
9cc9090225
Add command-timeout option
...
Allow commands to have a timeout, set in minutes. This is considered an emergency mechanism to stop CI being halted indefinitely. If a test inherently needs to pass or fail based on a timeout, this should be scripted into the command string instead.
It can be set for a command resource, like:
```
describe command('sleep 100', timeout: 1) do
its('exit_status') { should cmp 0 }
end
```
It can also be set as a new option `command-timeout`.
A timeout set on a `command` resource takes precedence over the `command-timeout` option.
If no timeout is set at all, a command will default to timing out after 1 hour
Signed-off-by: James Stocks <jstocks@chef.io>
2021-03-29 21:46:25 -04:00
Chef Expeditor
86128f5557
Bump version to 4.29.4 by Chef Expeditor
...
Obvious fix; these changes are the result of automation not creative thinking.
2021-03-25 19:24:42 +00:00
Clinton Wolfe
47df0a7440
Merge pull request #5441 from inspec/vasundhara/fix-deprecation-warnings
2021-03-25 15:22:53 -04:00
Chef Expeditor
2f80870689
Executed '.expeditor/update_dockerfile.sh'
...
Obvious fix; these changes are the result of automation not creative thinking.
2021-03-25 18:40:47 +00:00
Vasu1105
a2d3218536
Disable rubocop for begin block
...
Signed-off-by: Vasu1105 <vasundhara.jagdale@chef.io>
2021-03-25 22:00:12 +05:30
Vasu1105
edf8d4d7ed
Skipping on windows
...
Signed-off-by: Vasu1105 <vasundhara.jagdale@chef.io>
2021-03-25 21:04:46 +05:30
Vasu1105
a0d669a0f0
Updated test so that can run in the test enviornment
...
Signed-off-by: Vasu1105 <vasundhara.jagdale@chef.io>
2021-03-25 19:15:50 +05:30
Vasu1105
7c25a2b5df
Updated test
...
Signed-off-by: Vasu1105 <vasundhara.jagdale@chef.io>
2021-03-25 15:50:23 +05:30
Vasu1105
abde524470
Fixed lint and added code comments
...
Signed-off-by: Vasu1105 <vasundhara.jagdale@chef.io>
2021-03-25 15:50:23 +05:30
Vasu1105
9af59c2164
Fixes #5369 the FilterTable::ExceptionCatcher error and now shows exact exception message
...
Signed-off-by: Vasu1105 <vasundhara.jagdale@chef.io>
2021-03-25 15:50:23 +05:30
Vasu1105
0a62a6ac3b
Added functional test for FilterTable::ExceptionCatcher
...
Signed-off-by: Vasu1105 <vasundhara.jagdale@chef.io>
2021-03-25 15:50:22 +05:30
Vasu1105
45e9288e90
Revert "Profile to test the FilterTable::ExceptionCatcher issue"
...
This reverts commit 33e096f0854c0f156130fe610ab3ab8f8b65cad4.
2021-03-25 15:50:22 +05:30
Vasu1105
805cf46848
Profile to test the FilterTable::ExceptionCatcher issue
...
Signed-off-by: Vasu1105 <vasundhara.jagdale@chef.io>
2021-03-25 15:50:22 +05:30
Vasu1105
8a77b740db
Fixes deprecation warning messages for respond_to? method
...
Signed-off-by: Vasu1105 <vasundhara.jagdale@chef.io>
2021-03-25 15:50:22 +05:30
Chef Expeditor
3091f5d6f0
Bump version to 4.29.3 by Chef Expeditor
...
Obvious fix; these changes are the result of automation not creative thinking.
2021-03-24 19:14:37 +00:00
Clinton Wolfe
a8e58c610b
Merge pull request #5432 from inspec/cw/m1-support
2021-03-24 15:12:48 -04:00
Chef Expeditor
001a4d16db
Bump version to 4.29.2 by Chef Expeditor
...
Obvious fix; these changes are the result of automation not creative thinking.
2021-03-24 02:47:24 +00:00
Clinton Wolfe
c3f36b953d
Merge pull request #5438 from inspec/nm/fix-profile-git-fetcher
2021-03-23 22:45:13 -04:00
Nikita Mathur
628d1561f9
Unnecessary white spaces removed from git fetcher testing files
...
Signed-off-by: Nikita Mathur <nikita.mathur@chef.io>
2021-03-23 16:42:52 +05:30
Nikita Mathur
d9bb2649e6
Code refactoring changes for fix #5233
...
Signed-off-by: Nikita Mathur <nikita.mathur@chef.io>
2021-03-23 16:20:47 +05:30
Nikita Mathur
d673e840a3
Fix for executing git profiles with default branch not just master
...
Signed-off-by: Nikita Mathur <nikita.mathur@chef.io>
2021-03-23 16:20:47 +05:30
Chef Expeditor
8c93d81df4
Bump version to 4.29.1 by Chef Expeditor
...
Obvious fix; these changes are the result of automation not creative thinking.
2021-03-22 20:40:16 +00:00