Skip to content

Commit

Permalink
run.sh to load profile on workers so deps available
Browse files Browse the repository at this point in the history
  • Loading branch information
zjrgov authored and pburkholder committed Jun 28, 2024
1 parent 70085fa commit b224e96
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion runner/cf-driver/run.sh
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ if [ -n "${RUNNER_DEBUG-}" ] && [ "$RUNNER_DEBUG" == "true" ]; then
printf "\n=========\n[cf-driver] RUNNER_DEBUG: End command display\n"
fi

if ! cf ssh "$CONTAINER_ID" < "${1}"; then
if ! cf ssh "$CONTAINER_ID" -c "source /etc/profile" < "${1}"; then
# Exit using the variable, to make the build as failure in GitLab
# CI.
exit "$BUILD_FAILURE_EXIT_CODE"
Expand Down

0 comments on commit b224e96

Please sign in to comment.