Skip to content

clone-notebook-repo unable to delete src folder #50

@ultraJeff

Description

@ultraJeff

The clone-notebook-repo init container inside the rag-pipeline-notebook-0
Pod is unable to delete the folder at /opt/app-root/src and causes the Pod to crash out early.

Cleaning /opt/app-root/src...
Cloning repo...
fatal: destination path '/opt/app-root/src' already exists and is not an empty directory.

Looks like the clone-notebook-repo container is trying to force a delete, so it's odd that this is failing for me. Is this a sudo issue?

/bin/sh -c echo "Cleaning /opt/app-root/src..." && \
rm -rf /opt/app-root/src/* && \
echo "Cloning repo..." && \
git clone https://github.com/tsisodia10/ingestion-pipeline.git /opt/app-root/src

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions