a056405ceb
As per 2025.1 testing runtime[1], we need to test on Ubuntu Noble, moving requirement-check job to ubuntu noble. Fix the job to install our tools into a venv in order to avoid global installation. [1] https://governance.openstack.org/tc/reference/runtimes/2025.1.html Change-Id: Id8991665cabd9bb3d24cb75732fc4aa95439965b
13 lines
747 B
YAML
13 lines
747 B
YAML
- name: Create virtual environment
|
|
command: "{{ ensure_pip_virtualenv_command }} {{ zuul_work_dir }}/venv"
|
|
|
|
- name: Install openstack_requirements
|
|
command: "{{ zuul_work_dir }}/venv/bin/pip3 install {{ zuul.projects['opendev.org/openstack/requirements'].src_dir }}"
|
|
|
|
- name: Run requirements check script
|
|
# Use command module here instead of script since Zuul gets output
|
|
# with command into job-output.txt file.
|
|
# Command expects the file to be at the remote system - the system
|
|
# running the tests. Ask zuul variables for the path.
|
|
command: "{{ zuul_work_dir }}/venv/bin/python3 {{ zuul.projects['opendev.org/openstack/requirements'].src_dir }}/playbooks/files/project-requirements-change.py {{ zuul_work_dir }} {{ zuul_branch }}"
|