Skip to content

Commit 5b4ab6a

Browse files
committed
Cause replica to error when pip install fails
(cherry picked from commit 394862b)
1 parent ae9cb2f commit 5b4ab6a

File tree

1 file changed

+2
-0
lines changed
  • pkg/workloads/cortex/serve

1 file changed

+2
-0
lines changed

pkg/workloads/cortex/serve/run.sh

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,8 @@
1414
# See the License for the specific language governing permissions and
1515
# limitations under the License.
1616

17+
set -e
18+
1719
export PYTHONPATH=$PYTHONPATH:$PYTHON_PATH
1820

1921
if [ -f "/mnt/project/requirements.txt" ]; then

0 commit comments

Comments
 (0)