Commit graph

6895 commits

Author SHA1 Message Date
Mendy Baitelman
4d990865a1 Add to mock_loader
Signed-off-by: Mendy Baitelman <mendy@baitelman.com>
2019-08-06 19:44:02 -07:00
Mendy Baitelman
988357aad1 Fix tests
Signed-off-by: Mendy Baitelman <mendy@baitelman.com>
2019-08-06 18:58:03 -07:00
Mendy Baitelman
e3b641f676 Fix whitespace
Signed-off-by: Mendy Baitelman <mendy@baitelman.com>
2019-08-06 15:11:15 -07:00
Mendy Baitelman
4505471ec7 Fix differences
Signed-off-by: Mendy Baitelman <mendy@baitelman.com>
2019-08-06 13:26:37 -07:00
Mendy Baitelman
126b1efc74 Add startuser to windows service
Signed-off-by: Mendy Baitelman <mendy@baitelman.com>
2019-08-06 13:20:57 -07:00
Jeremiah Snapp
38bb5bbaf5
Merge pull request #4358 from inspec/snappj/add-artifactory-to-omnibus-gemfile
[ci] Add artifactory to omnibus/Gemfile
2019-08-02 17:49:47 -04:00
Jeremiah Snapp
d9e0f8cb15 Add artifactory to omnibus/Gemfile
The artifactory gem is required for the publish part of
the build stage.

Signed-off-by: Jeremiah Snapp <jeremiah@chef.io>
2019-08-02 17:27:01 -04:00
Chef Expeditor
f536a39079
Update CHANGELOG.md to reflect the promotion of 4.10.4
Obvious fix; these changes are the result of automation not creative thinking.
2019-08-01 20:31:28 +00:00
Chef Expeditor
723d53e6b1
Bump version to 4.10.4 by Chef Expeditor
Obvious fix; these changes are the result of automation not creative thinking.
2019-08-01 00:16:47 +00:00
Ryan Davis
3f6e04cbf0
Merge pull request #4352 from inspec/zenspider/bump-licensing
Bump skipped license tests by 2 weeks.
2019-07-31 17:16:33 -07:00
Ryan Davis
b570e0cc74 Bump skipped license tests until 8/16.
I've got this under debug in docker but this is a problem on the
license_acceptance gem on BK, not with inspec. And it is blocking a
release, so I'm bumping this out 2 weeks.

Signed-off-by: Ryan Davis <zenspider@chef.io>
2019-07-31 16:44:49 -07:00
Ryan Davis
99638d8de9 Remove timebomb on skip_until.
It has been valuable and should push up to minitest.

Signed-off-by: Ryan Davis <zenspider@chef.io>
2019-07-31 12:24:57 -07:00
Chef Expeditor
4aa1ef81f3
Bump version to 4.10.3 by Chef Expeditor
Obvious fix; these changes are the result of automation not creative thinking.
2019-07-30 23:45:06 +00:00
kekaichinose
9afb7856df
Merge pull request #4345 from inspec/ki/update-license-doco
changed legal refs to point to chef.io proper
2019-07-30 16:44:49 -07:00
Chef Expeditor
1045f67a76
Bump version to 4.10.2 by Chef Expeditor
Obvious fix; these changes are the result of automation not creative thinking.
2019-07-30 22:08:14 +00:00
Miah Johnson
833a965f0d
Merge pull request #4347 from inspec/mj/bk-badge2
point badge to master
2019-07-30 15:07:59 -07:00
Miah Johnson
802918f569 point badge to master 2019-07-30 15:02:42 -07:00
Chef Expeditor
66f709875d
Bump version to 4.10.1 by Chef Expeditor
Obvious fix; these changes are the result of automation not creative thinking.
2019-07-30 21:46:48 +00:00
Miah Johnson
1b3bfe2597
Merge pull request #4346 from inspec/mj/bk-integ
Add integration pipelines, and a schedule (it does nothing)
2019-07-30 14:46:28 -07:00
Miah Johnson
9163476dee Add integration pipelines, and a schedule (it does nothing)
Signed-off-by: Miah Johnson <miah@chia-pet.org>
2019-07-30 14:37:40 -07:00
Keka Ichinose
5a39574423 changed legal refs to point to chef.io proper
Signed-off-by: Keka Ichinose <rikoomi@hotmail.com>
2019-07-30 12:39:56 -07:00
Chef Expeditor
ae898b9eb3
Bump version to 4.10.0 by Chef Expeditor
Obvious fix; these changes are the result of automation not creative thinking.
2019-07-30 18:38:10 +00:00
Clinton Wolfe
100e96db1c
Relative Path Support for the Git Fetcher (#4217)
Relative Path Support for the Git Fetcher
2019-07-30 14:37:54 -04:00
Chef Expeditor
fbf06ccc7d
Bump version to 4.9.1 by Chef Expeditor
Obvious fix; these changes are the result of automation not creative thinking.
2019-07-30 18:37:23 +00:00
Clinton Wolfe
80d5788883
Apply new UI code to CLI and plugin-manager-cli (#4000)
Apply new UI code to CLI and plugin-manager-cli
2019-07-30 14:37:09 -04:00
Chef Expeditor
718629e42a
Bump version to 4.9.0 by Chef Expeditor
Obvious fix; these changes are the result of automation not creative thinking.
2019-07-30 17:58:52 +00:00
Clinton Wolfe
b8c9043a3a
Permit plugin to be in path with git ref (#4251)
Permit plugin to be in path with git ref
2019-07-30 13:58:37 -04:00
Clinton Wolfe
780a1670ac Loosen method line count to 40
Signed-off-by: Clinton Wolfe <clintoncwolfe@gmail.com>
2019-07-30 13:49:35 -04:00
Clinton Wolfe
88898ce7a9 Linting
Signed-off-by: Clinton Wolfe <clintoncwolfe@gmail.com>
2019-07-30 13:42:24 -04:00
Clinton Wolfe
f00e741999 PR feedback
Signed-off-by: Clinton Wolfe <clintoncwolfe@gmail.com>
2019-07-30 13:38:02 -04:00
Clinton Wolfe
c03862fe7b Code climate updates
Signed-off-by: Clinton Wolfe <clintoncwolfe@gmail.com>
2019-07-30 13:38:02 -04:00
Clinton Wolfe
abc5e84b87 Fix two tiresome cache issues with simple fixes
Signed-off-by: Clinton Wolfe <clintoncwolfe@gmail.com>
2019-07-30 13:38:02 -04:00
Clinton Wolfe
1a47026419 Rename some vars, eliminate @profile_directory
Signed-off-by: Clinton Wolfe <clintoncwolfe@gmail.com>
2019-07-30 13:38:02 -04:00
Clinton Wolfe
4f6d296a22 The error case in which the path does not exist
Signed-off-by: Clinton Wolfe <clintoncwolfe@gmail.com>
2019-07-30 13:38:02 -04:00
Clinton Wolfe
860d21a370 Test for ./
Signed-off-by: Clinton Wolfe <clintoncwolfe@gmail.com>
2019-07-30 13:38:02 -04:00
Clinton Wolfe
31bedf7b37 Empty-string edge case
Signed-off-by: Clinton Wolfe <clintoncwolfe@gmail.com>
2019-07-30 13:38:02 -04:00
Clinton Wolfe
fab58b590e Combo relative test in place
Signed-off-by: Clinton Wolfe <clintoncwolfe@gmail.com>
2019-07-30 13:38:02 -04:00
Clinton Wolfe
e9ef8e25a3 Deep dependency works
Signed-off-by: Clinton Wolfe <clintoncwolfe@gmail.com>
2019-07-30 13:38:02 -04:00
Clinton Wolfe
80241ec971 Passing basic test harness
Signed-off-by: Clinton Wolfe <clintoncwolfe@gmail.com>
2019-07-30 13:38:02 -04:00
Clinton Wolfe
c257763de6 Linting
Signed-off-by: Clinton Wolfe <clintoncwolfe@gmail.com>
2019-07-30 13:38:02 -04:00
Clinton Wolfe
aa81012013 Rework tests to be fixture-based, not generated per-run
Signed-off-by: Clinton Wolfe <clintoncwolfe@gmail.com>
2019-07-30 13:38:02 -04:00
Clinton Wolfe
12fcb24932 Experiment with git subrepo storage
Signed-off-by: Clinton Wolfe <clintoncwolfe@gmail.com>
2019-07-30 13:36:20 -04:00
Clinton Wolfe
0e32d2429f Rename path_within_repo option to relative_path
Signed-off-by: Clinton Wolfe <clintoncwolfe@gmail.com>
2019-07-30 13:36:20 -04:00
Clinton Wolfe
f1a892c857 Move existing git fixture profile to a directory for git-fetchers
Signed-off-by: Clinton Wolfe <clintoncwolfe@gmail.com>
2019-07-30 13:36:20 -04:00
Clinton Wolfe
9c1fa967fd Rename profile_path to path_within_repo
Signed-off-by: Clinton Wolfe <clintoncwolfe@gmail.com>
2019-07-30 13:36:20 -04:00
Jerry Aldrich
3e1d08cafe Add support for relative paths to the Git fetcher
This adds support for specifying a path to a profile in a Git repo.

For example, you could have a Git repo containing multiple profiles and
you want to specify a single one like below:

```yaml
depends:
  - name: profile-1
    git: https://github.com/myorg/all-my-profiles.git
    profile_path: profiles/my-specific-profile-1
  - name: profile-2
    git: https://github.com/myorg/all-my-profiles.git
    profile_path: profiles/my-specific-profile-2
```
Signed-off-by: Jerry Aldrich <jerryaldrichiii@gmail.com>
2019-07-30 13:36:20 -04:00
Clinton Wolfe
88962af285 Update UX message testing
Signed-off-by: Clinton Wolfe <clintoncwolfe@gmail.com>
2019-07-30 13:19:43 -04:00
Clinton Wolfe
918acb01c1 Linting
Signed-off-by: Clinton Wolfe <clintoncwolfe@gmail.com>
2019-07-30 13:19:43 -04:00
Miah Johnson
72f02e6cac Fix rubocop
Signed-off-by: Miah Johnson <miah@chia-pet.org>
2019-07-30 13:19:43 -04:00
Miah Johnson
b148bc85a2 Only some of the output is red
Signed-off-by: Miah Johnson <miah@chia-pet.org>
2019-07-30 13:19:43 -04:00