Skip to content

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

Open
mattbarreiro wants to merge 1 commit intoaws:v2.9.2from
mattbarreiro:fix_388
Open

FIX: package-requirements always returns exit code 0, even on failure#389
mattbarreiro wants to merge 1 commit intoaws:v2.9.2from
mattbarreiro:fix_388

Conversation

@mattbarreiro
Copy link
Copy Markdown

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.

@mattbarreiro
Copy link
Copy Markdown
Author

Hi - would someone kindly take a look at this?

Thank you in advanced!

@mattbarreiro
Copy link
Copy Markdown
Author

Hi - any chance of getting this merged?

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