Commit graph

7413 commits

Author SHA1 Message Date
Chef Expeditor
aebcd3c119 Bump version to 4.18.10 by Chef Expeditor
Obvious fix; these changes are the result of automation not creative thinking.
2019-10-21 21:26:54 +00:00
Ryan Davis
8d4e8c1d96
Merge pull request #4627 from inspec/zenspider/json-and-resource-cleanup
JSON processing and resource cleanup
2019-10-21 14:26:37 -07:00
Chef Expeditor
aaecbfa602 Bump version to 4.18.9 by Chef Expeditor
Obvious fix; these changes are the result of automation not creative thinking.
2019-10-21 20:48:25 +00:00
Ryan Davis
9be2accf5d
Merge pull request #4598 from inspec/zenspider/win
Clean up testing in inspec exec by stripping ansi color codes from output.
2019-10-21 13:48:07 -07:00
Ryan Davis
4dfec45b8c Extra todos! Yay!
Signed-off-by: Ryan Davis <zenspider@chef.io>
2019-10-21 13:30:14 -07:00
Ryan Davis
33dacc4044 ResourceDSL#name should actually return the name if it is going to be named like a getter.
Signed-off-by: Ryan Davis <zenspider@chef.io>
2019-10-21 13:30:14 -07:00
Ryan Davis
ebf90ca140 Added Resource.backfill_supports! to provide platform inheritance.
This make it so resources like yaml (which subclasses json) have their
platform information filled in properly.

This still isn't being called. Not sure where the right entry point
is... but the method is now available and allowed me to do analysis on
the rest of the resources.

Signed-off-by: Ryan Davis <zenspider@chef.io>
2019-10-21 13:30:14 -07:00
Ryan Davis
7e013e0a48 Mark json as an 'os' platform.
Signed-off-by: Ryan Davis <zenspider@chef.io>
2019-10-21 13:30:14 -07:00
Ryan Davis
915fdd0396 Mark mssql_session as a windows platform.
Signed-off-by: Ryan Davis <zenspider@chef.io>
2019-10-21 13:30:14 -07:00
Ryan Davis
e5e1a745cc Fixed run_inspec_with_plugin to merge run options properly.
Signed-off-by: Ryan Davis <zenspider@chef.io>
2019-10-21 13:30:14 -07:00
Ryan Davis
e469af9d70 Remove (test?) cruft modifying $LOAD_PATH in plugin loader.
Signed-off-by: Ryan Davis <zenspider@chef.io>
2019-10-21 13:30:14 -07:00
Ryan Davis
b626c37386 Improve debugging of json parse failures in functional tests.
Signed-off-by: Ryan Davis <zenspider@chef.io>
2019-10-21 13:30:14 -07:00
Ryan Davis
d7a2e047f4 Rename describe.rb to describe_base.rb
Signed-off-by: Ryan Davis <zenspider@chef.io>
2019-10-21 13:30:14 -07:00
Ryan Davis
fdaea02427 Clean up testing in inspec exec by stripping ansi color codes from output.
Signed-off-by: Ryan Davis <zenspider@chef.io>
2019-10-21 12:46:37 -07:00
Chef Expeditor
13e9774da2 Bump version to 4.18.8 by Chef Expeditor
Obvious fix; these changes are the result of automation not creative thinking.
2019-10-21 19:41:12 +00:00
Ryan Davis
031d4c592b
Merge pull request #4597 from inspec/zenspider/systemstackerror
Rescue SystemStackError to make errors during inspec check/archive more graceful.
2019-10-21 12:40:52 -07:00
Chef Expeditor
6b618edb75 Update CHANGELOG.md with details from pull request #4625
Obvious fix; these changes are the result of automation not creative thinking.
2019-10-21 19:37:12 +00:00
Ryan Davis
23be7f8e9f
Merge pull request #4625 from inspec/zenspider/website-search-button
Fix the search button wiring.
2019-10-21 12:37:00 -07:00
Ryan Davis
c907a9114f
Update docs/dsl_resource.md
Co-Authored-By: mjingle <mjingle@users.noreply.github.com>
2019-10-21 12:35:09 -07:00
Ryan Davis
0620320d6e
Update docs/dsl_resource.md
Co-Authored-By: mjingle <mjingle@users.noreply.github.com>
2019-10-21 12:34:59 -07:00
Chef Expeditor
fa43309993 Bump version to 4.18.7 by Chef Expeditor
Obvious fix; these changes are the result of automation not creative thinking.
2019-10-21 19:31:52 +00:00
Ryan Davis
dd3043a992
Merge pull request #4619 from inspec/zenspider/empty-tarball
Fix TarProvider when the tarball has empty files in it.
2019-10-21 12:31:29 -07:00
Ryan Davis
b852d32dd5 Fix the search button wiring.
I'm not a slim guy, but I think this is just a nesting issue.

Signed-off-by: Ryan Davis <zenspider@chef.io>
2019-10-21 11:52:52 -07:00
Chef Expeditor
e839c691d6 Update CHANGELOG.md with details from pull request #4620
Obvious fix; these changes are the result of automation not creative thinking.
2019-10-18 22:12:58 +00:00
Miah Johnson
6aac679c54
Merge pull request #4620 from inspec/mj/hfp
Fix the path for our scripts, I don't know where I got /workdir
2019-10-18 15:12:46 -07:00
Ryan Davis
3eaa64e5f1 Update Resource DSL doco to reflect lazy loading.
Signed-off-by: Ryan Davis <zenspider@chef.io>
2019-10-18 15:11:53 -07:00
Miah Johnson
cb4007c15f Fix the path for our scripts, I don't know where I got /workdir
Signed-off-by: Miah Johnson <miah@chia-pet.org>
2019-10-18 15:10:53 -07:00
Ryan Davis
e4f4f5d1cc Fix TarProvider when the tarball has empty files in it.
Added a unit test that runs in ~0.1s. Let's avoid heavy integration
tests where possible.

Fixes #4616

Signed-off-by: Ryan Davis <zenspider@chef.io>
2019-10-18 14:30:00 -07:00
Chef Expeditor
2ba752dd84 Update CHANGELOG.md with details from pull request #4618
Obvious fix; these changes are the result of automation not creative thinking.
2019-10-18 20:50:08 +00:00
Miah Johnson
68e1103798
Merge pull request #4618 from inspec/mj/htp
Make shell script executable
2019-10-18 13:49:57 -07:00
Miah Johnson
b5bd3b42f7 Make shell script executable
Signed-off-by: Miah Johnson <miah@chia-pet.org>
2019-10-18 13:48:47 -07:00
Chef Expeditor
cf4f5509dc Bump version to 4.18.6 by Chef Expeditor
Obvious fix; these changes are the result of automation not creative thinking.
2019-10-18 20:37:00 +00:00
Ryan Davis
3d604348a4
Merge pull request #4566 from inspec/zenspider/mock
Refactored and added an alternative test mock resource system.
2019-10-18 13:36:42 -07:00
Miah Johnson
31de13b839
Merge pull request #4617 from inspec/mj/reserved_pipelines
Stop using reserved pipelines with default triggers.
2019-10-18 12:49:41 -07:00
Miah Johnson
a0ef46ccf4 Stop using reserved pipelines with default triggers.
The pipeline prefixes: deploy, habitat, omnibus, and verify all have default
triggers associtated with them.

https://expeditor.chef.io/docs/reference/configuration/#pipelines

Signed-off-by: Miah Johnson <miah@chia-pet.org>
2019-10-18 12:14:26 -07:00
Ryan Davis
72ed84d278
Merge pull request #4608 from inspec/zenspider/website
Fixing hamburger and unclickable download buttons / search boxen.
2019-10-17 16:00:39 -07:00
Ryan Davis
a61d8b9d34 Rescue SystemStackError to make errors during inspec check/archive more graceful.
Signed-off-by: Ryan Davis <zenspider@chef.io>
2019-10-17 15:34:40 -07:00
Ryan Davis
689231aa9e Fixing hamburger and unclickable download buttons / search boxen.
Signed-off-by: Ryan Davis <ryand-ruby@zenspider.com>
Paired: @seajamied
2019-10-17 15:34:13 -07:00
Chef Expeditor
c7909b7dd7 Bump version to 4.18.5 by Chef Expeditor
Obvious fix; these changes are the result of automation not creative thinking.
2019-10-17 22:19:39 +00:00
Miah Johnson
348d23cf13
Merge pull request #4612 from inspec/mj/complete-profile
Use a good profile with inspec check test
2019-10-17 15:19:22 -07:00
Miah Johnson
23f31a0a72 Use a good profile with inspec check test
Signed-off-by: Miah Johnson <miah@chia-pet.org>
2019-10-17 14:55:58 -07:00
Chef Expeditor
ab0fa7aa38 Update CHANGELOG.md with details from pull request #4611
Obvious fix; these changes are the result of automation not creative thinking.
2019-10-17 21:42:14 +00:00
Miah Johnson
1233f91a7c
Merge pull request #4611 from inspec/mj/1017fixes01
Dont trigger yet
2019-10-17 14:42:00 -07:00
Miah Johnson
8968f89d5d Dont trigger yet
Signed-off-by: Miah Johnson <miah@chia-pet.org>
2019-10-17 14:37:14 -07:00
Chef Expeditor
4a56b00525 Update CHANGELOG.md with details from pull request #4610
Obvious fix; these changes are the result of automation not creative thinking.
2019-10-17 21:28:57 +00:00
Miah Johnson
ee5be28608
Merge pull request #4610 from inspec/mj/1017fixes
Empty resources yml until I build it.
2019-10-17 14:28:45 -07:00
Miah Johnson
cb001d8654 Empty resources yml until I build it.
Signed-off-by: Miah Johnson <miah@chia-pet.org>
2019-10-17 14:26:51 -07:00
Miah Johnson
0ccd26ef84
Merge pull request #4599 from inspec/mj/habitat-pipeline
Add habitat/test pipeline for testing our habitat builds.
2019-10-17 13:55:04 -07:00
Miah Johnson
d47d25e5cc
Merge pull request #4501 from inspec/mj/habitat-windows
Habitat plan for Windows
2019-10-17 13:54:50 -07:00
Miah Johnson
406d9e4d59 We only need to install a specific hab version on Windows
Signed-off-by: Miah Johnson <miah@chia-pet.org>
2019-10-17 12:57:03 -07:00