Added new yml

This commit is contained in:
Guillem Hernandez Sola
2026-03-30 17:18:22 +02:00
parent 9f4d2bc95d
commit 1fa030034c

View File

@@ -20,17 +20,23 @@ pipeline {
# Create a virtual environment named 'venv'
python3 -m venv venv
# Activate it and install your packages
# Activate the virtual environment
. venv/bin/activate
# Upgrade pip to ensure we have the latest version
pip install --upgrade pip
# Install required packages
pip install -U atproto tweety-ns playwright httpx arrow python-dotenv moviepy
# Check if moviepy is installed
pip list | grep moviepy || { echo 'MoviePy installation failed!'; exit 1; }
# Check if FFmpeg is installed
ffmpeg -version || { echo 'FFmpeg is not installed!'; exit 1; }
# Check if moviepy is installed
python3 -c "import moviepy.editor" || { echo 'MoviePy installation failed!'; exit 1; }
# Verify that moviepy can be imported
python3 -c "import moviepy.editor" || { echo 'MoviePy import failed!'; exit 1; }
# Install the local browser binaries for this environment
playwright install chromium
@@ -66,4 +72,4 @@ pipeline {
}
}
}
}
}