Fix propose-updates job for requirements (3rd attempt)

The previous attempts at fixing the job were not successful yet, it
seems the variable in the pre playbook isn't overridden by a job
variable. Since the other uses of this job are running with ubuntu-focal
anyway, set the list of available python interpreters in the playbook
directly and remove the modifications from the requirements specific job
again. Also pin the nodeset for this job to guard against changes in the
base job, which will likely require another change to the interpreter
list.

[0] I9735f34639777c928fbe06febc16dd24667b1405
[1] I52cc316ce9756c4411c18c8339d44c457cb59897

Change-Id: Iddd61e1be766f2bb6da4bf62766829247fa143ce
This commit is contained in:
Dr. Jens Harbott 2022-05-26 23:00:13 +02:00
parent d4e77b6afc
commit c7d42980c6
3 changed files with 4 additions and 6 deletions

View File

@ -6,9 +6,8 @@
vars:
ensure_pip_from_packages: True
ensure_pip_from_upstream_interpreters:
- python3.6
- python3.7
- python3.8
- python3.9
- name: Install git-review
pip:

View File

@ -826,6 +826,9 @@
Sync content to other projects as a proposed change.
run: playbooks/proposal/propose-updates.yaml
protected: true
# Note(frickler): The nodeset is pinned because we require py3[89] to be
# available. Needs to be adapted in the pre-run playbook when changing.
nodeset: ubuntu-focal
secrets:
- secret: proposal_ssh_key
name: ssh_key

View File

@ -4827,12 +4827,8 @@
- publish-wheel-cache-ubuntu-focal-arm64
- publish-wheel-cache-ubuntu-bionic-arm64
- propose-updates:
nodeset: ubuntu-focal
branches: master
vars:
ensure_pip_from_upstream_interpreters:
- python3.8
- python3.9
update_target: requirements-constraints
- project: