8390e9d6d2
[Changes in zuul configurations] - playbooks/checkbuild/pre.yaml calls ensure-nodejs role, but the default nodejs version defined in ensure-nodejs role is still 6. nodejs6 repo is no longer available. This is the cause of the job failure. Let's specify nodejs_version used in horizon by default. - Ensure to install tox globally in the system. tox -e checkbuild calls "tox" as the test commands, so it needs to be installed globally. - Specify "python_version" so that zuul ensures to install a required version of python interpreter. [Changes in cookiecutter template] - hacking version in test-requirements.txt was too old. It is updated to use more recent version which horizon uses. - Update python version to 3.9 in tox.ini. - Install horizon and its dependencies separately. The constraints file contains horizon, so installing horizon along with the constraints file results in a version conflict error. Change-Id: If4bae3fde1f29eeb1d4d43942acc21ff2ef19482
21 lines
582 B
YAML
21 lines
582 B
YAML
- job:
|
|
name: ui-cookiecutter-tox-checkbuild
|
|
parent: tox
|
|
pre-run: playbooks/checkbuild/pre.yaml
|
|
post-run: playbooks/checkbuild/post.yaml
|
|
vars:
|
|
tox_envlist: checkbuild
|
|
ensure_global_symlinks: true
|
|
# node_version should match the default nodejs version
|
|
# used in horizon nodejs jobs.
|
|
node_version: 14
|
|
# It should match the python version in tox.ini in the template
|
|
python_version: 3.9
|
|
- project:
|
|
check:
|
|
jobs:
|
|
- ui-cookiecutter-tox-checkbuild
|
|
gate:
|
|
jobs:
|
|
- ui-cookiecutter-tox-checkbuild
|