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

Shell Verifier rewrite #1382

Open
wants to merge 10 commits into
base: main
Choose a base branch
from

Conversation

thewyzard44
Copy link
Contributor

Signed-off-by: Sean Zachariasen [email protected]

Addressing #1209

This one needs some love. This initial commit makes the options merge correctly, but the rest of the verifier needs touched up in some surrounding areas. There's incongruity between 2 different methods of local execution and no effort has been applied by the OA to make sure the environment gets applied when running remotely

@thewyzard44 thewyzard44 changed the title [Do Not Merge} Shell Verifier rewrite [Do Not Merge] Shell Verifier rewrite Mar 9, 2018
Signed-off-by: Sean Zachariasen <[email protected]>
@coderanger
Copy link
Contributor

What is the end goal here?

Signed-off-by: Sean Zachariasen <[email protected]>
Signed-off-by: Sean Zachariasen <[email protected]>
Signed-off-by: Sean Zachariasen <[email protected]>
Signed-off-by: Sean Zachariasen <[email protected]>
sudo, sudo_command, command_prefix, (http,https,ftp)_proxy

Signed-off-by: Sean Zachariasen <[email protected]>
@thewyzard44 thewyzard44 changed the title [Do Not Merge] Shell Verifier rewrite Shell Verifier rewrite Apr 14, 2018
@thewyzard44
Copy link
Contributor Author

apologies - I answered coderanger OOB... but in short, I'd like this verifier to work locally, or remotely, and to pass the expected environment when and wherever it runs.

It may be prudent to use a script: value in parity with the shell provisioner, if you just want to run a shell script. But RFC, it'll have issues similar to #1381.

And so should this rewrite include a script: option? Or should it be left as-is and expect the end user to spectify sh -c myscript as an option to command:

This is a forward moving question for the kitchen team in that they didn't even really like chmod +x myscript but took it due to lack of options.... to quote coderanger "sigh windows"

And also a community question for those vested, or interested, in a good shell verifier

@cheeseplus
Copy link

The community we have is the community that shows up with opinions and PRs so I think so long as we're moving it forward in a "less bad" direction then we are good.

@damacus
Copy link
Contributor

damacus commented May 19, 2022

Hey @thewyzard44 do we still want this PR and how can we help you get this finished?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

6 participants