Add Fedora 32 IR jobs (with Python 3.8)
Change-Id: Ie3d720f8a42ae1d7b20f43f673b8f80592971dbb
This commit is contained in:
parent
c85c3af404
commit
64308b3eb4
2
roles/tests/Vagrantfile
vendored
2
roles/tests/Vagrantfile
vendored
@ -8,7 +8,7 @@ VAGRANTFILE_API_VERSION = "2"
|
|||||||
CPUS = 4
|
CPUS = 4
|
||||||
|
|
||||||
# Customize the amount of memory on the VM
|
# Customize the amount of memory on the VM
|
||||||
MEMORY = ENV.fetch("VM_SIZE", "1024").to_i
|
MEMORY = ENV.fetch("VM_SIZE", "4096").to_i
|
||||||
|
|
||||||
# Every Vagrant development environment requires a box. You can search for
|
# Every Vagrant development environment requires a box. You can search for
|
||||||
# boxes at https://vagrantcloud.com/search.
|
# boxes at https://vagrantcloud.com/search.
|
||||||
|
@ -13,6 +13,26 @@
|
|||||||
path: '{{ test_collect_dir }}'
|
path: '{{ test_collect_dir }}'
|
||||||
state: absent
|
state: absent
|
||||||
|
|
||||||
|
- name: "show ansible distro variables"
|
||||||
|
debug:
|
||||||
|
msg:
|
||||||
|
ansible_architecture: '{{ ansible_architecture }}'
|
||||||
|
ansible_distribution: '{{ ansible_distribution }}'
|
||||||
|
ansible_distribution_major_version: '{{ ansible_distribution_major_version }}'
|
||||||
|
ansible_distribution_version: '{{ ansible_distribution_version }}'
|
||||||
|
ansible_os_family: '{{ ansible_os_family }}'
|
||||||
|
|
||||||
|
- name: "include platform variables"
|
||||||
|
include_vars: "{{ item }}"
|
||||||
|
ignore_errors: yes
|
||||||
|
with_first_found:
|
||||||
|
- "test-{{ ansible_distribution }}-{{ ansible_distribution_version }}.yaml"
|
||||||
|
- "test-{{ ansible_distribution }}-{{ ansible_distribution_major_version }}.yaml"
|
||||||
|
- "test-{{ ansible_distribution }}.{{ ansible_architecture }}.yaml"
|
||||||
|
- "test-{{ ansible_distribution }}.yaml"
|
||||||
|
- "test-{{ ansible_os_family }}.yaml"
|
||||||
|
register: include_platform_vars
|
||||||
|
|
||||||
- name: "run Tox InfraRed plugin"
|
- name: "run Tox InfraRed plugin"
|
||||||
command:
|
command:
|
||||||
cmd: >
|
cmd: >
|
||||||
@ -21,7 +41,7 @@
|
|||||||
--collect-dir '{{ test_collect_dir }}'
|
--collect-dir '{{ test_collect_dir }}'
|
||||||
chdir: '{{ test_dir }}'
|
chdir: '{{ test_dir }}'
|
||||||
environment:
|
environment:
|
||||||
UPPER_CONSTRAINTS_FILE: '{{ remote_constraints_file }}'
|
IR_DEPS: "{{ ir_deps | default('') }}"
|
||||||
ignore_errors: yes
|
ignore_errors: yes
|
||||||
register: run_tox
|
register: run_tox
|
||||||
|
|
||||||
|
3
roles/tests/vars/test-Fedora-32.yaml
Normal file
3
roles/tests/vars/test-Fedora-32.yaml
Normal file
@ -0,0 +1,3 @@
|
|||||||
|
---
|
||||||
|
|
||||||
|
ir_deps: "git+https://review.gerrithub.io/redhat-openstack/infrared@refs/changes/23/493623/3"
|
3
roles/tests/vars/test-Ubuntu-20.04.yaml
Normal file
3
roles/tests/vars/test-Ubuntu-20.04.yaml
Normal file
@ -0,0 +1,3 @@
|
|||||||
|
---
|
||||||
|
|
||||||
|
ir_deps: "git+https://review.gerrithub.io/redhat-openstack/infrared@refs/changes/23/493623/3"
|
9
roles/tobiko-ensure-python3/vars/Fedora-31.yaml
Normal file
9
roles/tobiko-ensure-python3/vars/Fedora-31.yaml
Normal file
@ -0,0 +1,9 @@
|
|||||||
|
---
|
||||||
|
|
||||||
|
python_packages:
|
||||||
|
python3:
|
||||||
|
- python3
|
||||||
|
- python3-devel
|
||||||
|
python3.7:
|
||||||
|
- python3
|
||||||
|
- python3-devel
|
@ -4,6 +4,8 @@ python_packages:
|
|||||||
python3:
|
python3:
|
||||||
- python3
|
- python3
|
||||||
- python3-devel
|
- python3-devel
|
||||||
python3.7:
|
- python3-pip
|
||||||
- python37
|
python3.8:
|
||||||
- python37-devel
|
- python3
|
||||||
|
- python3-devel
|
||||||
|
- python3-pip
|
||||||
|
@ -52,6 +52,19 @@
|
|||||||
Run test cases using tobiko infrared plugin on Fedora 31
|
Run test cases using tobiko infrared plugin on Fedora 31
|
||||||
|
|
||||||
|
|
||||||
|
- job:
|
||||||
|
name: tobiko-tox-infrared-fedora-32
|
||||||
|
parent: tobiko-tox-infrared
|
||||||
|
nodeset: fedora-32-2-node
|
||||||
|
voting: false
|
||||||
|
description: |
|
||||||
|
Run test cases using tobiko infrared plugin on Fedora 32
|
||||||
|
vars:
|
||||||
|
tox_environment:
|
||||||
|
# This patchset fixes to use IR with Python 3.8
|
||||||
|
IR_DEPS: "git+https://review.gerrithub.io/redhat-openstack/infrared@refs/changes/23/493623/3"
|
||||||
|
|
||||||
|
|
||||||
- job:
|
- job:
|
||||||
name: tobiko-tox-infrared-ubuntu-bionic
|
name: tobiko-tox-infrared-ubuntu-bionic
|
||||||
parent: tobiko-tox-infrared
|
parent: tobiko-tox-infrared
|
||||||
|
@ -24,6 +24,19 @@
|
|||||||
- secondary
|
- secondary
|
||||||
|
|
||||||
|
|
||||||
|
- nodeset:
|
||||||
|
name: fedora-32-2-node
|
||||||
|
nodes:
|
||||||
|
- name: primary
|
||||||
|
label: fedora-32
|
||||||
|
- name: secondary
|
||||||
|
label: fedora-32
|
||||||
|
groups:
|
||||||
|
- name: subnodes
|
||||||
|
nodes:
|
||||||
|
- secondary
|
||||||
|
|
||||||
|
|
||||||
- nodeset:
|
- nodeset:
|
||||||
name: ubuntu-focal-2-node
|
name: ubuntu-focal-2-node
|
||||||
nodes:
|
nodes:
|
||||||
|
@ -23,6 +23,10 @@
|
|||||||
- tobiko-tox-infrared-ubuntu-bionic
|
- tobiko-tox-infrared-ubuntu-bionic
|
||||||
- tobiko-tox-infrared-ubuntu-focal
|
- tobiko-tox-infrared-ubuntu-focal
|
||||||
|
|
||||||
|
experimental:
|
||||||
|
jobs:
|
||||||
|
- tobiko-tox-infrared-fedora-32
|
||||||
|
|
||||||
gate:
|
gate:
|
||||||
jobs:
|
jobs:
|
||||||
- tobiko-devstack-functional
|
- tobiko-devstack-functional
|
||||||
|
Loading…
x
Reference in New Issue
Block a user