添加WORKING_DIR目录存在性检查
This commit is contained in:
@@ -22,6 +22,12 @@ fi
|
|||||||
# Set working directory with default value
|
# Set working directory with default value
|
||||||
WORKING_DIR=${WORKING_DIR:-/kaggle/working}
|
WORKING_DIR=${WORKING_DIR:-/kaggle/working}
|
||||||
|
|
||||||
|
# Check if WORKING_DIR directory exists
|
||||||
|
if [ ! -d "$WORKING_DIR" ]; then
|
||||||
|
echo "Error: WORKING_DIR directory '$WORKING_DIR' does not exist"
|
||||||
|
exit 1
|
||||||
|
fi
|
||||||
|
|
||||||
pip install \
|
pip install \
|
||||||
git+https://gitea.oopsapi.com/yhydev/myscripts.git \
|
git+https://gitea.oopsapi.com/yhydev/myscripts.git \
|
||||||
prefect_shell \
|
prefect_shell \
|
||||||
|
|||||||
Reference in New Issue
Block a user