Skip to content
This repository has been archived by the owner on Apr 17, 2023. It is now read-only.

(GH-63) Allow additional tool args to be set within validate.yml #64

Merged
merged 3 commits into from
Dec 13, 2021

Conversation

da-ar
Copy link

@da-ar da-ar commented Dec 12, 2021

---
tools:
  - name: "group/modules"
  - name: "puppetlabs/rubocop"
    args: ["--auto-correct"]
  - name: "puppetlabs/epp"

Surfaces the exit codes and errors raised by the tool within the container, up to the main application. This affects the exit status of the `exec` command.
Uses shlex library to split out the string correctly
```
---
tools:
  - name: "group/modules"
  - name: "puppetlabs/rubocop"
    args: ["--auto-correct"]
  - name: "puppetlabs/epp"

```
@da-ar da-ar requested a review from a team as a code owner December 12, 2021 10:07
@sanfrancrisko sanfrancrisko added the enhancement New feature or request label Dec 13, 2021
@sanfrancrisko sanfrancrisko merged commit 2fbf36e into main Dec 13, 2021
@sanfrancrisko sanfrancrisko deleted the GH-63/main/update-validateyml branch December 13, 2021 10:24
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
enhancement New feature or request
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants