Prepare to drop Python 2 support
Pin func test requirements to stable/train; the last stable release with Python 2 support. Switch to the python-jobs-no-constraints template to avoid using master constraints file. Only build focal on bionic, other debootstraps are too old. Remove pip-and-virtualenv testing as we are moving to plain images. The tripleo-buildimage-jobs are unstable; see linked bug. Add a note that this is the last Python 2 release. Change-Id: Ibde7a564dd41cc2d6e80e2dffe5a95a57bbf8ada
This commit is contained in:
parent
0c94eef7be
commit
de57271ed2
@ -7,7 +7,8 @@
|
|||||||
timeout: 5400
|
timeout: 5400
|
||||||
required-projects:
|
required-projects:
|
||||||
- openstack/diskimage-builder
|
- openstack/diskimage-builder
|
||||||
- openstack/requirements
|
- name: openstack/requirements
|
||||||
|
override-checkout: stable/train
|
||||||
irrelevant-files:
|
irrelevant-files:
|
||||||
- ^.*\.rst$
|
- ^.*\.rst$
|
||||||
- ^doc/.*$
|
- ^doc/.*$
|
||||||
@ -23,10 +24,8 @@
|
|||||||
- apt-sources/test-sources
|
- apt-sources/test-sources
|
||||||
- centos-minimal/7-build-succeeds
|
- centos-minimal/7-build-succeeds
|
||||||
- centos-minimal/8-build-succeeds
|
- centos-minimal/8-build-succeeds
|
||||||
- pip-and-virtualenv/source-install-ubuntu
|
|
||||||
- ubuntu-minimal/xenial-build-succeeds
|
- ubuntu-minimal/xenial-build-succeeds
|
||||||
- ubuntu-minimal/bionic-build-succeeds
|
- ubuntu-minimal/bionic-build-succeeds
|
||||||
- ubuntu-minimal/focal-build-succeeds
|
|
||||||
|
|
||||||
- job:
|
- job:
|
||||||
name: dib-functests-image
|
name: dib-functests-image
|
||||||
@ -95,6 +94,7 @@
|
|||||||
# These can only build on bionic
|
# These can only build on bionic
|
||||||
dib_functests_extra:
|
dib_functests_extra:
|
||||||
- fedora-minimal/build-succeeds
|
- fedora-minimal/build-succeeds
|
||||||
|
- ubuntu-minimal/focal-build-succeeds
|
||||||
|
|
||||||
- job:
|
- job:
|
||||||
name: dib-functests-bionic-python3-image
|
name: dib-functests-bionic-python3-image
|
||||||
@ -130,10 +130,6 @@
|
|||||||
Run the default tests on a Xenial build host with Python 3
|
Run the default tests on a Xenial build host with Python 3
|
||||||
parent: dib-functests-default
|
parent: dib-functests-default
|
||||||
nodeset: ubuntu-xenial
|
nodeset: ubuntu-xenial
|
||||||
vars:
|
|
||||||
dib_functests_extra:
|
|
||||||
# Only builds on xenial; should work on focal in future
|
|
||||||
- pip-and-virtualenv/source-install-opensuse
|
|
||||||
|
|
||||||
- job:
|
- job:
|
||||||
name: dib-functests-xenial-python3-image
|
name: dib-functests-xenial-python3-image
|
||||||
|
@ -3,10 +3,12 @@
|
|||||||
- openstack-cover-jobs
|
- openstack-cover-jobs
|
||||||
- check-requirements
|
- check-requirements
|
||||||
- openstack-lower-constraints-jobs
|
- openstack-lower-constraints-jobs
|
||||||
- openstack-python-jobs
|
- openstack-python-jobs-no-constraints
|
||||||
- openstack-python35-jobs
|
- openstack-python35-jobs
|
||||||
- release-notes-jobs
|
- release-notes-jobs
|
||||||
- tripleo-buildimage-jobs
|
# NOTE(ianw): 2020-05-29 jobs are unstable; see
|
||||||
|
# https://bugs.launchpad.net/tripleo/+bug/1879766
|
||||||
|
# - tripleo-buildimage-jobs
|
||||||
check:
|
check:
|
||||||
jobs:
|
jobs:
|
||||||
- openstack-tox-pylint
|
- openstack-tox-pylint
|
||||||
|
4
releasenotes/notes/create-945440b17d500bf5.yaml
Normal file
4
releasenotes/notes/create-945440b17d500bf5.yaml
Normal file
@ -0,0 +1,4 @@
|
|||||||
|
---
|
||||||
|
critical:
|
||||||
|
- |
|
||||||
|
This is the last release of diskimage-builder to support Python 2
|
2
tox.ini
2
tox.ini
@ -7,7 +7,7 @@ skipsdist = True
|
|||||||
usedevelop = True
|
usedevelop = True
|
||||||
install_command = pip install {opts} {packages}
|
install_command = pip install {opts} {packages}
|
||||||
deps=
|
deps=
|
||||||
-c{env:UPPER_CONSTRAINTS_FILE:https://opendev.org/openstack/requirements/raw/branch/master/upper-constraints.txt}
|
-c{env:UPPER_CONSTRAINTS_FILE:https://opendev.org/openstack/requirements/raw/branch/stable/train/upper-constraints.txt}
|
||||||
-r{toxinidir}/requirements.txt
|
-r{toxinidir}/requirements.txt
|
||||||
-r{toxinidir}/test-requirements.txt
|
-r{toxinidir}/test-requirements.txt
|
||||||
commands=
|
commands=
|
||||||
|
Loading…
Reference in New Issue
Block a user