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

FIX: package-requirements always returns exit code 0, even on failure #389

Open
wants to merge 1 commit into
base: v2.9.2
Choose a base branch
from

Conversation

matthewbarreiro
Copy link

Issue #:
Closes #388

Description of changes:
Check the exit code for pip3 download -r ... in entrypoint.sh. If non-zero, exit with the same error code.

Note: This only solves one particular case. A more thorough solution would be to use something like set -e for all these "utility" commands (package-requirements,test-startup-script, etc). But I imagine that is a larger (and possibly internal) discussion.

If this change is accepted, I also request that it get merged to all lower environments (or at least all supported ones) as well. This bug exists in v2.2.2-v2.9.2.

By submitting this pull request, I confirm that you can use, modify, copy, and redistribute this contribution, under the terms of your choice.

@matthewbarreiro
Copy link
Author

Hi - would someone kindly take a look at this?

Thank you in advanced!

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.

package-requirements always returns exit code 0, even on failure
1 participant