Ryan Davis
db8e6e7415
Moved test/unit/mock/* to test/fixtures
...
Signed-off-by: Ryan Davis <zenspider@chef.io>
2019-11-08 16:29:03 -08:00
Ryan Davis
c8fb6c9d6f
Another chefstyle snafu.
...
Signed-off-by: Ryan Davis <zenspider@chef.io>
2019-11-08 16:24:14 -08:00
Chef Expeditor
ad0e9abd33
Bump version to 4.18.31 by Chef Expeditor
...
Obvious fix; these changes are the result of automation not creative thinking.
2019-11-09 00:08:00 +00:00
Ryan Davis
244c7bbed4
Merge pull request #4677 from inspec/zenspider/bump-chefstyle
...
Bump chefstyle and fix up flagged code.
2019-11-08 16:07:42 -08:00
Ryan Davis
bb49d58cd9
Switched chefstyle back to Layout/AlignArguments=with_first_argument.
...
Fixed the flags mostly with `chefstyle -a` but also refactored/cleaned
some stuff by hand.
Signed-off-by: Ryan Davis <zenspider@chef.io>
2019-11-08 12:57:43 -08:00
Ryan Davis
8f1e607d55
Bump chefstyle and fix up flagged code.
...
Very minor.
I want to change a default config but I'll do that in a separate
commit since it is a bigger diff.
Signed-off-by: Ryan Davis <zenspider@chef.io>
2019-11-08 12:57:43 -08:00
Bryan McLellan
3670500701
Deprecate inspec/object/* classes
...
The classes in inspec/object have been moved to the inspec-objects
library. They aren't used directly by Inspec and will be removed in the
next major release.
Signed-off-by: Bryan McLellan <btm@loftninjas.org>
2019-11-08 15:09:09 -05:00
Miah Johnson
6f829c2d27
drop leading /bin
...
Signed-off-by: Miah Johnson <miah@chia-pet.org>
2019-11-07 17:13:49 -08:00
Miah Johnson
71e72af079
Change flunk to skip. drop parallelize me until multiple tests
...
Signed-off-by: Miah Johnson <miah@chia-pet.org>
2019-11-07 16:19:19 -08:00
Miah Johnson
2a2dd29e5b
I moved up open3, so lets delete these
...
Signed-off-by: Miah Johnson <miah@chia-pet.org>
2019-11-07 15:55:50 -08:00
Miah Johnson
ca1416fb0a
Add some very basic tests. Several of which outright flunk!
...
Signed-off-by: Miah Johnson <miah@chia-pet.org>
2019-11-07 15:42:48 -08:00
Miah Johnson
6ad21441e4
Move exist checks to own test. Use open3
...
Signed-off-by: Miah Johnson <miah@chia-pet.org>
2019-11-07 15:34:21 -08:00
Clinton Wolfe
5acc8fed1a
Correctly detect NPM modules with a custom path on Windows
...
Signed-off-by: Clinton Wolfe <clintoncwolfe@gmail.com>
2019-11-07 17:30:50 -05:00
Clinton Wolfe
34cd236036
Revert "Remove erroneous windows support declaration"
...
We do in fact support windows. We want to support windows with a custom path, too.
This reverts commit 2092984fdd
.
2019-11-07 15:39:58 -05:00
Clinton Wolfe
f85de31292
Update test mock file to match invocation
...
Signed-off-by: Clinton Wolfe <clintoncwolfe@gmail.com>
2019-11-07 15:39:08 -05:00
Clinton Wolfe
2092984fdd
Remove erroneous windows support declaration
...
Signed-off-by: Clinton Wolfe <clintoncwolfe@gmail.com>
2019-11-07 15:39:08 -05:00
Clinton Wolfe
c0b5b9cd41
Fix for invocation when calling npm under sudo
...
Signed-off-by: Clinton Wolfe <clintoncwolfe@gmail.com>
2019-11-07 15:39:08 -05:00
Miah Johnson
549e3c196e
Merge pull request #4675 from inspec/mj/hab1101
...
Get artifact/habitat starting tests on both Windows and Linux
2019-11-07 12:13:31 -08:00
Miah Johnson
13a1c30ba6
Corret build scripts
...
correct path to hab artifact
Rather than throwing, lets try to install the version
Make sure hab is in the path
we use -b on windows. lets be consistent
export project_root too
picardface
fix regex
execute rake _through_ habitat
make test vrooom
test presence of inspec
strip out clixml bs
... no which on bk.
full path to which
export PATH
test exist on linux/windows
Signed-off-by: Miah Johnson <miah@chia-pet.org>
2019-11-07 10:09:35 -08:00
Chef Expeditor
b3f44ad91f
Bump version to 4.18.30 by Chef Expeditor
...
Obvious fix; these changes are the result of automation not creative thinking.
2019-11-07 16:58:31 +00:00
Clinton Wolfe
d9f34dda58
Make input() work in describe.one ( #4666 )
...
Make input() work in describe.one
2019-11-07 11:58:11 -05:00
Clinton Wolfe
bf5ce746c9
Make __profile_id private and add comment
...
Signed-off-by: Clinton Wolfe <clintoncwolfe@gmail.com>
2019-11-07 10:49:49 -05:00
Chef Expeditor
3c1fadd1cb
Bump version to 4.18.29 by Chef Expeditor
...
Obvious fix; these changes are the result of automation not creative thinking.
2019-11-07 03:04:10 +00:00
Ryan Davis
e3402b9cc9
Merge pull request #4674 from inspec/zenspider/website
...
Revamp www/doco setup
2019-11-06 19:03:50 -08:00
Ryan Davis
1750139dbb
Revamp www rakefile and friends to make pushing doco easier.
...
Signed-off-by: Ryan Davis <zenspider@chef.io>
2019-11-06 18:26:14 -08:00
Miah Johnson
9eff871be1
crossing fingers
...
Signed-off-by: Miah Johnson <miah@chia-pet.org>
2019-11-06 14:20:27 -08:00
Clinton Wolfe
11438d5d3c
Refactor to DRY up repeated implementation of input()
...
Signed-off-by: Clinton Wolfe <clintoncwolfe@gmail.com>
2019-11-06 11:13:18 -05:00
Chef Expeditor
b810f82328
Bump version to 4.18.28 by Chef Expeditor
...
Obvious fix; these changes are the result of automation not creative thinking.
2019-11-06 00:33:09 +00:00
Ryan Davis
4ed9305535
Merge pull request #4670 from inspec/zenspider/gem-resource
...
Pre-load the gem resource to override the global gem method.
2019-11-05 16:32:48 -08:00
Ryan Davis
bbba778980
Tentative buildkite setup. Not activated yet.
...
Signed-off-by: Ryan Davis <zenspider@chef.io>
2019-11-05 16:05:18 -08:00
Ryan Davis
aeafaada51
Remove all aws doco.
...
Signed-off-by: Ryan Davis <zenspider@chef.io>
2019-11-05 16:04:48 -08:00
Chef Expeditor
76a8ac7190
Bump version to 4.18.27 by Chef Expeditor
...
Obvious fix; these changes are the result of automation not creative thinking.
2019-11-05 07:20:46 +00:00
Miah Johnson
ed10223c67
Merge pull request #4516 from mbaitelman/add-startuser-systemd-service
...
Add startuser systemd service v2
2019-11-04 23:20:23 -08:00
Mendy Baitelman
1a9a47ee96
Merge remote-tracking branch 'upstream/master' into add-startuser-systemd-service
...
Signed-off-by: Mendy Baitelman <mendy@baitelman.com>
2019-11-04 21:07:56 -08:00
Ryan Davis
04986547ac
Added some todos to the gem resource.
...
Signed-off-by: Ryan Davis <zenspider@chef.io>
2019-11-04 13:25:35 -08:00
Ryan Davis
5b6fdf9a98
Pre-load the gem resource to override the global gem method.
...
This seems problematic to me in general. We should probably not
override global methods. Renaming this to rubygem and providing a
deprecated alias seems like the right thing to do.
Signed-off-by: Ryan Davis <zenspider@chef.io>
2019-11-04 13:25:35 -08:00
Chef Expeditor
1ca94760ef
Update CHANGELOG.md with details from pull request #4660
...
Obvious fix; these changes are the result of automation not creative thinking.
2019-11-04 21:12:36 +00:00
Ryan Davis
d608cc54b0
Merge pull request #4660 from inspec/zenspider/artifact-caching-fixes
...
Fix false positives on bundle caching check in buildkite.
2019-11-04 13:12:24 -08:00
Miah Johnson
6166761cb6
Merge pull request #4622 from inspec/mj/ht
...
WIP - Update the path to our test scripts, and make sure it has the execute bit.
2019-11-04 12:56:45 -08:00
Miah Johnson
8e4a00693f
lets try to reuse these?
...
Signed-off-by: Miah Johnson <miah@chia-pet.org>
2019-11-01 18:32:54 -07:00
Miah Johnson
7b2854e9ca
boring
...
Signed-off-by: Miah Johnson <miah@chia-pet.org>
2019-11-01 18:32:28 -07:00
Miah Johnson
df113b92d2
comet
...
Signed-off-by: Miah Johnson <miah@chia-pet.org>
2019-11-01 17:58:08 -07:00
Miah Johnson
2f95b7c441
bullshit
...
Signed-off-by: Miah Johnson <miah@chia-pet.org>
2019-11-01 17:58:08 -07:00
Miah Johnson
503ac7dd7d
are we getting our ps1 sourced?
...
Signed-off-by: Miah Johnson <miah@chia-pet.org>
2019-11-01 17:58:08 -07:00
Miah Johnson
388f761720
use $project_root in powershell
...
Signed-off-by: Miah Johnson <miah@chia-pet.org>
2019-11-01 17:58:08 -07:00
Miah Johnson
d4badc6ad3
set up binlink in shell script
...
Signed-off-by: Miah Johnson <miah@chia-pet.org>
2019-11-01 17:58:08 -07:00
Miah Johnson
c6b488c62f
the last_build.env script doesn't expor its variables..
...
Signed-off-by: Miah Johnson <miah@chia-pet.org>
2019-11-01 17:58:08 -07:00
Miah Johnson
26a46cc886
debug windows
...
Signed-off-by: Miah Johnson <miah@chia-pet.org>
2019-11-01 17:58:08 -07:00
Miah Johnson
a2122753f0
does it execute?
...
Signed-off-by: Miah Johnson <miah@chia-pet.org>
2019-11-01 17:58:08 -07:00
Miah Johnson
b8c96fb928
let sudo call a program instead of shell magic
...
Signed-off-by: Miah Johnson <miah@chia-pet.org>
2019-11-01 17:58:08 -07:00