Browse Source

Test Tobiko against Python 3.8.2

Change-Id: I3ffb8ddc33f2f72a0e34c6bbc84452ecdcebff04
changes/30/727830/3
Federico Ressi 1 year ago
parent
commit
293430cd65
  1. 13
      playbooks/tox-py38/pre.yaml
  2. 12
      playbooks/unit/pre.yaml
  3. 0
      roles/tobiko-compile-python/.gitignore
  4. 0
      roles/tobiko-compile-python/Vagrantfile
  5. 0
      roles/tobiko-compile-python/ansible.cfg
  6. 0
      roles/tobiko-compile-python/defaults/main.yaml
  7. 0
      roles/tobiko-compile-python/resolv_conf.yaml
  8. 0
      roles/tobiko-compile-python/tasks/main.yaml
  9. 0
      roles/tobiko-compile-python/tasks/setup_pip.yaml
  10. 0
      roles/tobiko-compile-python/tasks/setup_python.yaml
  11. 0
      roles/tobiko-compile-python/tests/.gitignore
  12. 0
      roles/tobiko-compile-python/tests/test_py38.yaml
  13. 4
      zuul.d/unit.yaml

13
playbooks/tox-py38/pre.yaml

@ -1,13 +0,0 @@
---
- hosts: all
roles:
- role: ../roles/python
vars:
python_command: python3.8
python_version: "3.8"
python_release: "3.8.0"
pip_command: pip3.8
pip_install_packages:
- virtualenv
- tox

12
playbooks/unit/pre.yaml

@ -0,0 +1,12 @@
---
- hosts: all
roles:
- role: tobiko-compile-python
vars:
python_command: "python{{ python_version }}"
python_version: "{{ python_release.split('.')[:2] | join('.') }}"
pip_command: "pip{{ python_version }}"
pip_install_packages:
- virtualenv
- tox

0
roles/python/.gitignore → roles/tobiko-compile-python/.gitignore

0
roles/python/Vagrantfile → roles/tobiko-compile-python/Vagrantfile

0
roles/python/ansible.cfg → roles/tobiko-compile-python/ansible.cfg

0
roles/python/defaults/main.yaml → roles/tobiko-compile-python/defaults/main.yaml

0
roles/python/resolv_conf.yaml → roles/tobiko-compile-python/resolv_conf.yaml

0
roles/python/tasks/main.yaml → roles/tobiko-compile-python/tasks/main.yaml

0
roles/python/tasks/setup_pip.yaml → roles/tobiko-compile-python/tasks/setup_pip.yaml

0
roles/python/tasks/setup_python.yaml → roles/tobiko-compile-python/tasks/setup_python.yaml

0
roles/python/tests/.gitignore → roles/tobiko-compile-python/tests/.gitignore

0
roles/python/tests/test_py38.yaml → roles/tobiko-compile-python/tests/test_py38.yaml

4
zuul.d/unit.yaml

@ -8,7 +8,9 @@
Run unit tests for an OpenStack Python project under cPython version 3.8.
Uses tox with the ``py38`` environment.
# compile and install python3.8 from source code
pre-run: playbooks/tox-py38/pre.yaml
pre-run: playbooks/unit/pre.yaml
vars:
python_release: "3.8.2"
- job:

Loading…
Cancel
Save