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