Chef Expeditor
295d074629
Bump version to 4.35.1 by Chef Expeditor
...
Obvious fix; these changes are the result of automation not creative thinking.
2021-04-21 23:45:52 +00:00
Chef Expeditor
2308bad51b
Bump version to 4.35.0 by Chef Expeditor
...
Obvious fix; these changes are the result of automation not creative thinking.
2021-04-21 23:35:41 +00:00
Clinton Wolfe
79aa03ae14
Merge pull request #5466 from inspec/nm/inputs-regex
...
New input option `pattern` added for DSL and metadata inputs
2021-04-21 19:34:07 -04:00
Chef Expeditor
ad41645526
Bump version to 4.34.0 by Chef Expeditor
...
Obvious fix; these changes are the result of automation not creative thinking.
2021-04-21 23:32:23 +00:00
Nikita Mathur
cf8a5eb1c5
Fix to build issue in inputs unit test
...
Signed-off-by: Nikita Mathur <nikita.mathur@chef.io>
2021-04-21 12:33:54 +05:30
Nikita Mathur
ea6760c2c0
Undid changes of required validation to fix build errors
...
Signed-off-by: Nikita Mathur <nikita.mathur@chef.io>
2021-04-21 12:33:54 +05:30
Nikita Mathur
e77d5331c5
Added new pattern option, fix for input options on dsl and functional test cases for input options
...
Signed-off-by: Nikita Mathur <nikita.mathur@chef.io>
2021-04-21 12:33:54 +05:30
Nikita Mathur
85ca124809
Initial commit for regex pattern option in inputs
...
Signed-off-by: Nikita Mathur <nikita.mathur@chef.io>
2021-04-21 12:33:54 +05:30
Vasu1105
58e30cfa81
Review comments fixed
...
Signed-off-by: Vasu1105 <vasundhara.jagdale@chef.io>
2021-04-21 11:43:03 +05:30
Vasu1105
bd9d81314d
Integrated review comments
...
Signed-off-by: Vasu1105 <vasundhara.jagdale@chef.io>
2021-04-21 11:43:02 +05:30
Vasu1105
eb1d9364a0
Revert "Currently only states are getting handled so updated docs part"
...
This reverts commit 92fb3e4d951989d2fc2096d01b2fbb5dc0469603.
2021-04-21 11:43:02 +05:30
Vasu1105
074e4151cc
Currently only states are getting handled so updated docs part
...
Signed-off-by: Vasu1105 <vasundhara.jagdale@chef.io>
2021-04-21 11:43:02 +05:30
Vasu1105
c963b2ac14
fix linting
...
Signed-off-by: Vasu1105 <vasundhara.jagdale@chef.io>
2021-04-21 11:43:02 +05:30
Vasu1105
cbe7e8c03f
Add selinux resource with basic features support
...
Signed-off-by: Vasu1105 <vasundhara.jagdale@chef.io>
2021-04-21 11:43:02 +05:30
Chef Expeditor
6e55c9ed90
Bump version to 4.33.1 by Chef Expeditor
...
Obvious fix; these changes are the result of automation not creative thinking.
2021-04-20 18:42:49 +00:00
Clinton Wolfe
b3e367da57
Remove default of 3600 seconds for command timeout
...
Signed-off-by: Clinton Wolfe <clintoncwolfe@gmail.com>
2021-04-20 13:32:33 -04:00
Chef Expeditor
e8e437fa44
Bump version to 4.33.0 by Chef Expeditor
...
Obvious fix; these changes are the result of automation not creative thinking.
2021-04-20 17:25:46 +00:00
Clinton Wolfe
e673b332a3
Merge pull request #5465 from inspec/cw/source-in-reporter
...
Optionally include controls source code in CLI reporter
2021-04-20 13:24:15 -04:00
Chef Expeditor
ddaaa191ef
Bump version to 4.32.1 by Chef Expeditor
...
Obvious fix; these changes are the result of automation not creative thinking.
2021-04-15 20:14:30 +00:00
Clinton Wolfe
bb8c51dbc7
Initial implementation of listing source in CLI reporter
...
Signed-off-by: Clinton Wolfe <clintoncwolfe@gmail.com>
2021-04-13 21:05:53 -04:00
Chef Expeditor
7b2cba6579
Bump version to 4.32.0 by Chef Expeditor
...
Obvious fix; these changes are the result of automation not creative thinking.
2021-04-14 00:41:45 +00:00
Clinton Wolfe
c57ef924fc
Merge pull request #5452 from inspec/nm/shell-inputs
...
Added ability to pass inputs to InSpec shell using input file and cli
2021-04-13 20:39:12 -04:00
Chef Expeditor
b3a0687fbe
Bump version to 4.31.1 by Chef Expeditor
...
Obvious fix; these changes are the result of automation not creative thinking.
2021-04-08 19:48:11 +00:00
Clinton Wolfe
cbf57c3905
Use default command timeout value if timeout is 0
...
Signed-off-by: Clinton Wolfe <clintoncwolfe@gmail.com>
2021-04-08 14:53:53 -04:00
Nikita Mathur
53810186dc
Documentation for shell inputs added
...
Signed-off-by: Nikita Mathur <nikita.mathur@chef.io>
2021-04-08 13:54:12 +05:30
Nikita Mathur
5865cdd1c4
Added input and input file option for shell, along with functional test cases
...
Signed-off-by: Nikita Mathur <nikita.mathur@chef.io>
2021-04-08 13:54:12 +05:30
Chef Expeditor
e8e5d8eb6f
Bump version to 4.31.0 by Chef Expeditor
...
Obvious fix; these changes are the result of automation not creative thinking.
2021-04-07 13:02:12 +00:00
Clinton Wolfe
924ecd367f
Merge pull request #5445 from inspec/cw/add-docker-for-windows
...
Add --docker-url CLI option
2021-04-07 09:00:37 -04:00
Chef Expeditor
43c9fb5bd4
Bump version to 4.30.2 by Chef Expeditor
...
Obvious fix; these changes are the result of automation not creative thinking.
2021-04-07 12:51:22 +00:00
Clinton Wolfe
fa41586910
Merge pull request #5446 from inspec/nm/fix-input-hash-access
...
Bug fix for loading hashmap inputs consistently
2021-04-07 08:49:53 -04:00
Chef Expeditor
e348f8ad3f
Bump version to 4.30.1 by Chef Expeditor
...
Obvious fix; these changes are the result of automation not creative thinking.
2021-04-07 12:44:47 +00:00
Nikita Mathur
094293b01d
Refactored logic to enable hash indifference in all input types
...
Signed-off-by: Nikita Mathur <nikita.mathur@chef.io>
2021-04-05 16:10:55 +05:30
Nikita Mathur
ec30fc3d4e
Hash with indifference changes for inputs used via runner api
...
Signed-off-by: Nikita Mathur <nikita.mathur@chef.io>
2021-04-05 14:41:35 +05:30
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
6ff6b9634a
Add --docker-url CLI option
...
Signed-off-by: Clinton Wolfe <clintoncwolfe@gmail.com>
2021-04-04 21:50:41 -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
Nikita Mathur
a55b083b0a
Improvements in various descriptions and a better way to check for hash type
...
Signed-off-by: Nikita Mathur <nikita.mathur@chef.io>
2021-03-31 12:35:13 +05:30
Nikita Mathur
c0b213c46a
Bug fix for loading hashmap inputs consistently from external and metadata file
...
Signed-off-by: Nikita Mathur <nikita.mathur@chef.io>
2021-03-31 11:42:54 +05:30
Clinton Wolfe
81305d3270
linting
...
Signed-off-by: Clinton Wolfe <clintoncwolfe@gmail.com>
2021-03-29 21:48:41 -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
Vasu1105
a2d3218536
Disable rubocop for begin block
...
Signed-off-by: Vasu1105 <vasundhara.jagdale@chef.io>
2021-03-25 22:00:12 +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
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