Remove make dependency from CI pipeline on minimal agents

This commit is contained in:
2026-03-15 02:08:06 +01:00
parent 37164610c5
commit b8c557ad51

14
Jenkinsfile vendored
View File

@@ -43,11 +43,13 @@ pipeline {
. .venv/bin/activate
pip install coverage
pip install --upgrade pip "setuptools==69.5.1" wheel
make EXTRAS="" install
PIP_INDEX_URL=${PIP_INDEX_URL:-https://pypi.mandelblog.com/mandel/testing/+simple/} pip install --pre --editable . setuptools wheel --upgrade --upgrade-strategy=eager --use-deprecated=legacy-resolver
cp "${JOB_BASE_NAME}/ocyan.json" "${JOB_BASE_NAME}/${JOB_BASE_NAME}.json"
pip install pylint pylint-django vdt.versionplugin.wheel
pip install --upgrade "setuptools==69.5.1" wheel
make migrate loaddata collectstatic
manage.py migrate --no-input
manage.py loaddemodata || true
manage.py collectstatic --no-input --verbosity=0
pip install "httpx<0.28"
'''
}
@@ -57,7 +59,8 @@ pipeline {
sh '''
. .venv/bin/activate
pip install coverage
make lint
cat mandelstudio/ocyan.json | python3 -m json.tool 1>/dev/null
pylint setup.py mandelstudio/
'''
}
}
@@ -66,7 +69,10 @@ pipeline {
sh '''
. .venv/bin/activate
pip install coverage
make test
coverage run --source='mandelstudio' `which manage.py` test
coverage report
coverage xml
coverage html
'''
}
post {