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
0f77a383d3
commit
185f9b92cf
|
|
@ -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 '''
|
||||
|
|
|
|||
Loading…
Reference in New Issue