Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add relative path support for the GIT fetcher #239

Merged
merged 1 commit into from
Oct 1, 2019

Conversation

bdwyertech
Copy link
Contributor

@bdwyertech bdwyertech commented Aug 15, 2019

Adds support with TestKitchen for InSpec's recently released relative path feature.
inspec/inspec#4217

Lets you do something like this:

suites:
  - name: default
    run_list:
      - recipe[test::default]
    verifier:
      inspec_tests:
        - test/integration/default
        - name: my_other_cookbook
          git: git@git.mycompany.net:TEAM/chef-cookbooks/my_other_cookbook.git
          tag: master
          relative_path: test/integration/default

Signed-off-by: Brian Dwyer <Brian.Dwyer@broadridge.com>
@danielcbright
Copy link

I've tested this locally, this is awesome! great functionality!
Great job @bdwyertech

Copy link
Contributor

@clintoncwolfe clintoncwolfe left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks!

@clintoncwolfe clintoncwolfe added Aspect: Integration Works correctly with other projects or systems. Expeditor: Bump Version Minor Used by github.minor_bump_labels to bump the Minor version number. labels Sep 23, 2019
@miah miah merged commit d8dd99b into inspec:master Oct 1, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Aspect: Integration Works correctly with other projects or systems. Expeditor: Bump Version Minor Used by github.minor_bump_labels to bump the Minor version number.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants