Add Fedora 32 IR jobs (with Python 3.8)

Change-Id: Ie3d720f8a42ae1d7b20f43f673b8f80592971dbb
This commit is contained in:
Federico Ressi 2020-05-22 17:11:51 +02:00
parent c85c3af404
commit 64308b3eb4
9 changed files with 72 additions and 5 deletions

View File

@ -8,7 +8,7 @@ VAGRANTFILE_API_VERSION = "2"
CPUS = 4
# 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
# boxes at https://vagrantcloud.com/search.

View File

@ -13,6 +13,26 @@
path: '{{ test_collect_dir }}'
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"
command:
cmd: >
@ -21,7 +41,7 @@
--collect-dir '{{ test_collect_dir }}'
chdir: '{{ test_dir }}'
environment:
UPPER_CONSTRAINTS_FILE: '{{ remote_constraints_file }}'
IR_DEPS: "{{ ir_deps | default('') }}"
ignore_errors: yes
register: run_tox

View File

@ -0,0 +1,3 @@
---
ir_deps: "git+https://review.gerrithub.io/redhat-openstack/infrared@refs/changes/23/493623/3"

View File

@ -0,0 +1,3 @@
---
ir_deps: "git+https://review.gerrithub.io/redhat-openstack/infrared@refs/changes/23/493623/3"

View File

@ -0,0 +1,9 @@
---
python_packages:
python3:
- python3
- python3-devel
python3.7:
- python3
- python3-devel

View File

@ -4,6 +4,8 @@ python_packages:
python3:
- python3
- python3-devel
python3.7:
- python37
- python37-devel
- python3-pip
python3.8:
- python3
- python3-devel
- python3-pip

View File

@ -52,6 +52,19 @@
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:
name: tobiko-tox-infrared-ubuntu-bionic
parent: tobiko-tox-infrared

View File

@ -24,6 +24,19 @@
- secondary
- nodeset:
name: fedora-32-2-node
nodes:
- name: primary
label: fedora-32
- name: secondary
label: fedora-32
groups:
- name: subnodes
nodes:
- secondary
- nodeset:
name: ubuntu-focal-2-node
nodes:

View File

@ -23,6 +23,10 @@
- tobiko-tox-infrared-ubuntu-bionic
- tobiko-tox-infrared-ubuntu-focal
experimental:
jobs:
- tobiko-tox-infrared-fedora-32
gate:
jobs:
- tobiko-devstack-functional