Commit graph

7798 commits

Author SHA1 Message Date
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
Miah Johnson
666a937838
Merge branch 'master' into mj/ccp 2019-10-18 13:39:20 -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
Chef Expeditor
344d99f510 Bump version to 4.18.4 by Chef Expeditor
Obvious fix; these changes are the result of automation not creative thinking.
2019-10-17 19:49:55 +00:00
Miah Johnson
245f681cb8
Merge pull request #4601 from inspec/mj/tk
Re-organize test-kitchen files. Add BK Pipeline
2019-10-17 12:49:31 -07:00
Chef Expeditor
0542ac5b30 Bump version to 4.18.3 by Chef Expeditor
Obvious fix; these changes are the result of automation not creative thinking.
2019-10-17 19:39:13 +00:00
Miah Johnson
e634ae495b
Merge pull request #4577 from inspec/mj/batsignal
Goodbye Gordon!
2019-10-17 12:38:53 -07:00
Miah Johnson
427d8dbac0 By not declaring a version we get the default, which is 2019.
Signed-off-by: Miah Johnson <miah@chia-pet.org>
2019-10-17 10:41:59 -07:00
Miah Johnson
227a97991d Add blank pipeline to allow iteration in next PR
Signed-off-by: Miah Johnson <miah@chia-pet.org>
2019-10-16 22:53:05 -07:00
Miah Johnson
6cb0d148a6 Let codeclimate ignore included inspec profiles
Signed-off-by: Miah Johnson <miah@chia-pet.org>
2019-10-16 22:47:26 -07:00
Miah Johnson
87b9d569ca Allow rubocop to ignore our test-kitchen files
Signed-off-by: Miah Johnson <miah@chia-pet.org>
2019-10-16 22:43:15 -07:00
Miah Johnson
216da3f90a Let codeclimate ignore our test files.
Signed-off-by: Miah Johnson <miah@chia-pet.org>
2019-10-16 22:43:15 -07:00
Miah Johnson
e2e6042cf2 Split up kitchen suites by resource type.
Signed-off-by: Miah Johnson <miah@chia-pet.org>
2019-10-16 22:43:15 -07:00
Miah Johnson
633a1a1d79 Add pipeline to manage test kitchen builds and a trigger
Signed-off-by: Miah Johnson <miah@chia-pet.org>
2019-10-16 22:43:15 -07:00
Miah Johnson
46a2e17ffc Update directory in kitchen configuration files
Signed-off-by: Miah Johnson <miah@chia-pet.org>
2019-10-16 22:41:03 -07:00
Miah Johnson
e298f0f44b move find_files inspec policy to kitchen directory
Signed-off-by: Miah Johnson <miah@chia-pet.org>
2019-10-16 22:41:03 -07:00
Miah Johnson
e8ae9012ea Move inspec-verify kitchen tests into more obvious directory
Signed-off-by: Miah Johnson <miah@chia-pet.org>
2019-10-16 22:41:03 -07:00
Miah Johnson
97a258ae69 Use a more obvious directory structure for kitchen testing
Signed-off-by: Miah Johnson <miah@chia-pet.org>
2019-10-16 22:41:03 -07:00
Miah Johnson
bcca77d6a4 Add ruby 2.7 preview
Signed-off-by: Miah Johnson <miah@chia-pet.org>
2019-10-16 21:25:30 -07:00
Miah Johnson
6e88b3ceb9 Fix rubocop warnings
Signed-off-by: Miah Johnson <miah@chia-pet.org>
2019-10-16 21:01:19 -07:00
Miah Johnson
ff7891132a Cleanup plan before merge
Signed-off-by: Miah Johnson <miah@chia-pet.org>
2019-10-16 21:01:19 -07:00
Miah Johnson
46e7b00add Fix Rakefile and wtf
Signed-off-by: Miah Johnson <miah@chia-pet.org>
2019-10-16 21:01:19 -07:00
Miah Johnson
0589e2edc9 hooked on phonics worked for me!
Signed-off-by: Miah Johnson <miah@chia-pet.org>
2019-10-16 21:01:19 -07:00
Miah Johnson
d3cfb38dc2 Invoke-Check is used for testing..
Signed-off-by: Miah Johnson <miah@chia-pet.org>
2019-10-16 21:01:19 -07:00
Miah Johnson
d7487ed70a Execute the correct rake task
Signed-off-by: Miah Johnson <miah@chia-pet.org>
2019-10-16 21:01:19 -07:00
Miah Johnson
9543ed8ecc Add a Rakefile as our main Rakefile also requires 'train'
Signed-off-by: Miah Johnson <miah@chia-pet.org>
2019-10-16 21:01:19 -07:00