Skip to content

Commit

Permalink
Debug
Browse files Browse the repository at this point in the history
  • Loading branch information
mathieuboudreau committed May 25, 2024
1 parent 582ff71 commit be5faec
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion run.sh
Original file line number Diff line number Diff line change
Expand Up @@ -52,11 +52,12 @@ echo "[INFO] Creating and starting the container '$PIPELINE_NAME' with image $IM
docker run --rm --name "$PIPELINE_NAME" -d \
-v "/tmp/$UUID:/seg_ci" \
-v "$OUTPUT_DIR:/seg_ci/output" \
--user root \
"$IMAGE" tail -f /dev/null

echo "[INFO] Running $USER_SCRIPT_DIR/main.sh in container..."

docker exec "$PIPELINE_NAME" -u root bash -c "chmod +x /seg_ci/main.sh"
docker exec "$PIPELINE_NAME" bash -c "chmod +x /seg_ci/main.sh"
docker exec "$PIPELINE_NAME" bash -c "cd /seg_ci && ./main.sh"

echo "[INFO] Consolidating output in output/${PIPELINE_NAME}"
Expand Down

0 comments on commit be5faec

Please sign in to comment.