Skip to content

Commit

Permalink
Exit the user entrypoint on non-zero exit code
Browse files Browse the repository at this point in the history
Previously, when bundle failed following ManageIQ#528, the script continued
and finished the build.  It's unclear if the psych 5 error mattered
because our build still finished but we probably want to fail builds
and fix issues if the entrypoint script encounters non-zero exit codes.

Pull ManageIQ#546 fixed the psych 5 issue and describes the issue of the silent
error.
  • Loading branch information
jrafanie committed Feb 21, 2025
1 parent 6146df7 commit 7737391
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion container-assets/user-entrypoint.sh
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
#!/bin/bash

set -e
export GEM_HOME=$(ruby -e 'puts Gem.user_dir')
export PATH=$GEM_HOME/bin:$HOME/bin:$PATH

Expand Down

0 comments on commit 7737391

Please sign in to comment.