Update Jenkinsfile
Database Integrity At least one Ravenous database failed validation.
Ravenous/ravenous_databases/pipeline/head There was a failure building this commit Details

This commit is contained in:
Dandaedre 2026-09-13 12:58:56 +02:00
parent 0f77a383d3
commit 185f9b92cf
1 changed files with 44 additions and 46 deletions

90
Jenkinsfile vendored
View File

@ -23,65 +23,63 @@ pipeline {
}
stage('Setup Environment') {
steps {
sh '''
set -eu
steps {
sh '''
set -eu
// ---------------------------------------------------------
// uv
// ---------------------------------------------------------
# ---------------------------------------------------------
# uv
# ---------------------------------------------------------
if ! command -v uv >/dev/null 2>&1; then
echo "uv not found — installing it..."
if ! command -v uv >/dev/null 2>&1; then
echo "uv not found — installing it..."
if ! command -v cargo-binstall >/dev/null 2>&1; then
echo "cargo-binstall not found — installing it..."
cargo install cargo-binstall
fi
if ! command -v cargo-binstall >/dev/null 2>&1; then
echo "cargo-binstall not found — installing it..."
cargo install cargo-binstall
fi
cargo binstall --no-confirm uv
else
echo "uv already installed."
fi
cargo binstall --no-confirm uv
else
echo "uv already installed."
fi
echo "Using:"
uv --version
echo "Using:"
uv --version
// ---------------------------------------------------------
// SQLite
// ---------------------------------------------------------
# ---------------------------------------------------------
# SQLite
# ---------------------------------------------------------
if ! command -v sqlite3 >/dev/null 2>&1; then
echo "sqlite3 not found — installing it..."
if ! command -v sqlite3 >/dev/null 2>&1; then
echo "sqlite3 not found — installing it..."
pkg install -y sqlite3
else
echo "sqlite3 already installed."
fi
pkg install -y sqlite3
else
echo "sqlite3 already installed."
fi
sqlite3 --version
sqlite3 --version
# ---------------------------------------------------------
# Python environment
# ---------------------------------------------------------
// ---------------------------------------------------------
// Python environment
// ---------------------------------------------------------
rm -rf "${VENV}"
rm -rf "${VENV}"
echo "Creating virtual environment..."
uv venv "${VENV}"
echo "Creating virtual environment..."
uv venv "${VENV}"
echo "Installing CI Python dependencies..."
uv pip install \
--python "${VENV}/bin/python" \
-r tools/requirements-ci.txt
echo
echo "Python:"
"${VENV}/bin/python" --version
'''
}
}
echo "Installing CI Python dependencies..."
uv pip install \
--python "${VENV}/bin/python" \
-r tools/requirements-ci.txt
echo
echo "Python:"
"${VENV}/bin/python" --version
'''
}
}
stage('Check Database Integrity') {
steps {
sh '''