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

Fail if python script not found; run from any dir #827

Merged
merged 1 commit into from
Jul 18, 2018

Conversation

bobcatfish
Copy link
Contributor

If boilerplate.sh was run from anywhere other than the directory above hack,
the python script could not be found, however since the error code was
ignored, this would pass.

Finding files and ignoring failed files was being done in one line. We
wanted to ignore errors from grep, however this has the side effect of
ignoring errors from the python script, e.g. if this script is run
from an unexpected directory and the python script is not found.

Lastly, filtering of dirs was being done in both boilerplate.sh and
boilerplate.py so now it will just be done in boilerplate.sh.

@dgageot dgageot added the kokoro:run runs the kokoro jobs on a PR label Jul 18, 2018
@kokoro-team kokoro-team removed the kokoro:run runs the kokoro jobs on a PR label Jul 18, 2018
@bobcatfish bobcatfish added the kokoro:run runs the kokoro jobs on a PR label Jul 18, 2018
If the script was run from anywhere other than the directory above hack,
the python script could not be found, however since the error code was
ignored, this would pass.

Finding files and ignoring failed files was being done in one line. We
wanted to ignore errors from grep, however this has the side effect of
ignoring errors from the python script, e.g. if this script is run
from an unexpected directory and the python script is not found.

Lastly, filtering of dirs was being done in both `boilerplate.sh` and
`boilerplate.py` so now it will just be done in `boilerplate.sh`.
@kokoro-team kokoro-team removed the kokoro:run runs the kokoro jobs on a PR label Jul 18, 2018
@dgageot dgageot merged commit 777514e into GoogleContainerTools:master Jul 18, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants