Update Jenkinsfile
Database Integrity At least one Ravenous database failed validation.
Ravenous/ravenous_databases/pipeline/head There was a failure building this commit
Details
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:
parent
7cf991399a
commit
47d4ccee82
|
|
@ -22,11 +22,15 @@ pipeline {
|
|||
}
|
||||
}
|
||||
|
||||
stage('Setup Python') {
|
||||
stage('Setup Environment') {
|
||||
steps {
|
||||
sh '''
|
||||
set -eu
|
||||
|
||||
// ---------------------------------------------------------
|
||||
// uv
|
||||
// ---------------------------------------------------------
|
||||
|
||||
if ! command -v uv >/dev/null 2>&1; then
|
||||
echo "uv not found — installing it..."
|
||||
|
||||
|
|
@ -43,12 +47,30 @@ pipeline {
|
|||
echo "Using:"
|
||||
uv --version
|
||||
|
||||
// ---------------------------------------------------------
|
||||
// SQLite
|
||||
// ---------------------------------------------------------
|
||||
|
||||
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
|
||||
|
||||
sqlite3 --version
|
||||
|
||||
// ---------------------------------------------------------
|
||||
// Python environment
|
||||
// ---------------------------------------------------------
|
||||
|
||||
rm -rf "${VENV}"
|
||||
|
||||
echo "Creating virtual environment..."
|
||||
uv venv "${VENV}"
|
||||
|
||||
echo "Installing CI dependencies..."
|
||||
echo "Installing CI Python dependencies..."
|
||||
uv pip install \
|
||||
--python "${VENV}/bin/python" \
|
||||
-r tools/requirements-ci.txt
|
||||
|
|
@ -78,7 +100,7 @@ pipeline {
|
|||
conclusion: 'SUCCESS',
|
||||
name: 'Database Integrity',
|
||||
summary: 'All Ravenous databases passed integrity checks.',
|
||||
text: 'SQLite integrity and foreign-key validation completed successfully.',
|
||||
text: 'SQLite structural integrity and foreign-key validation completed successfully.',
|
||||
title: 'Database integrity successful'
|
||||
)
|
||||
|
||||
|
|
|
|||
Loading…
Reference in New Issue