CI: Move off CentOS 8
This is a combination of 2 commits. ======================================== CI: Move probe tests to centos 9 stream Pin selenium to 3.x for now, until we can run down the issues with 4.x ======================================== CI: Move off CentOS 8 Remove swift-tox-py36-centos-8-stream job entirely. Move the following jobs to CentOS 9: - swift-tox-func-s3api-ceph-s3tests-tempauth - swift-tox-func-s3api-tests-tempauth - swift-multinode-rolling-upgrade, as well as the other rolling upgrade jobs Remove the swift-multinode-rolling-upgrade-victoria job, as py39 support (required for CentOS 9) was not added until wallaby. ======================================== Conflicts: .zuul.yaml NOTE(elod.illes): this patch is backported to unmaintained/zed as CentOS Stream 8 is EOL and centos-8-stream nodeset was removed from Zuul and it gives a config error: 'The nodeset "centos-8-stream" was not found.' Besides, official Zed runtimes [1] contains CentOS Stream 9 and python 3.9. [1] https://governance.openstack.org/tc/reference/runtimes/zed.html Related-Change: I596415d17f77f48a6e8a63a61b734a8ca0865847 Change-Id: I4f6b9c07af7bc768654f1a5d0c66b048e0f2c9c1 (cherry picked from commit 2032fb214eeb41cbb30a0c71525d0db9e4899760)
This commit is contained in:
parent
4905519997
commit
9fa1b7edec
55
.zuul.yaml
55
.zuul.yaml
@ -45,11 +45,6 @@
|
||||
NOSE_COVER_HTML_DIR: '{toxinidir}/cover'
|
||||
post-run: tools/playbooks/common/cover-post.yaml
|
||||
|
||||
- job:
|
||||
name: swift-tox-py36-centos-8-stream
|
||||
parent: swift-tox-py36
|
||||
nodeset: centos-8-stream
|
||||
|
||||
- job:
|
||||
name: swift-tox-py37
|
||||
parent: swift-tox-base
|
||||
@ -285,13 +280,13 @@
|
||||
name: swift-tox-func-s3api-ceph-s3tests-tempauth
|
||||
parent: unittests
|
||||
voting: false
|
||||
nodeset: centos-8-stream
|
||||
nodeset: centos-9-stream
|
||||
description: |
|
||||
Setup a SAIO dev environment and run ceph-s3tests
|
||||
timeout: 5400
|
||||
vars:
|
||||
s3_acl: yes
|
||||
bindep_profile: test py36
|
||||
bindep_profile: test py39
|
||||
pre-run:
|
||||
- tools/playbooks/common/install_dependencies.yaml
|
||||
- tools/playbooks/saio_single_node_setup/setup_saio.yaml
|
||||
@ -306,13 +301,13 @@
|
||||
- job:
|
||||
name: swift-tox-func-s3api-tests-tempauth
|
||||
parent: unittests
|
||||
nodeset: centos-8-stream
|
||||
nodeset: centos-9-stream
|
||||
description: |
|
||||
Setup a SAIO dev environment and run our s3api test suite
|
||||
timeout: 1800
|
||||
vars:
|
||||
s3_acl: yes
|
||||
bindep_profile: test py36
|
||||
bindep_profile: test py39
|
||||
pre-run:
|
||||
- tools/playbooks/common/install_dependencies.yaml
|
||||
- tools/playbooks/saio_single_node_setup/setup_saio.yaml
|
||||
@ -324,15 +319,15 @@
|
||||
- tools/playbooks/probetests/post.yaml
|
||||
|
||||
- job:
|
||||
name: swift-probetests-centos-8-stream
|
||||
name: swift-probetests-centos-9-stream
|
||||
parent: unittests
|
||||
nodeset: centos-8-stream
|
||||
nodeset: centos-9-stream
|
||||
description: |
|
||||
Setup a SAIO dev environment and run Swift's probe tests
|
||||
under Python 3.
|
||||
timeout: 7200
|
||||
vars:
|
||||
bindep_profile: test py36
|
||||
bindep_profile: test py39
|
||||
pre-run:
|
||||
- tools/playbooks/common/install_dependencies.yaml
|
||||
- tools/playbooks/saio_single_node_setup/setup_saio.yaml
|
||||
@ -341,12 +336,12 @@
|
||||
post-run: tools/playbooks/probetests/post.yaml
|
||||
|
||||
- job:
|
||||
name: swift-probetests-centos-8-stream-arm64
|
||||
parent: swift-probetests-centos-8-stream
|
||||
name: swift-probetests-centos-9-stream-arm64
|
||||
parent: swift-probetests-centos-9-stream
|
||||
nodeset:
|
||||
nodes:
|
||||
- name: swift-centos-8-stream-arm64
|
||||
label: centos-8-stream-arm64
|
||||
- name: swift-centos-9-stream-arm64
|
||||
label: centos-9-stream-arm64
|
||||
description: |
|
||||
Setup a SAIO dev environment and run Swift's probe tests
|
||||
under Python 3 on top of arm64 architecture.
|
||||
@ -354,7 +349,7 @@
|
||||
|
||||
- job:
|
||||
name: swift-func-cors
|
||||
parent: swift-probetests-centos-8-stream
|
||||
parent: swift-probetests-centos-9-stream
|
||||
description: |
|
||||
Setup a SAIO dev environment and run Swift's CORS functional tests
|
||||
timeout: 1200
|
||||
@ -367,18 +362,18 @@
|
||||
post-run: tools/playbooks/cors/post.yaml
|
||||
|
||||
- nodeset:
|
||||
name: swift-five-nodes-py3
|
||||
name: swift-five-nodes-centos-9
|
||||
nodes:
|
||||
- name: test-runner1
|
||||
label: centos-8-stream
|
||||
label: centos-9-stream
|
||||
- name: proxy1
|
||||
label: centos-8-stream
|
||||
label: centos-9-stream
|
||||
- name: account1
|
||||
label: centos-8-stream
|
||||
label: centos-9-stream
|
||||
- name: container1
|
||||
label: centos-8-stream
|
||||
label: centos-9-stream
|
||||
- name: object1
|
||||
label: centos-8-stream
|
||||
label: centos-9-stream
|
||||
groups:
|
||||
- name: test-runner
|
||||
nodes:
|
||||
@ -410,12 +405,12 @@
|
||||
- job:
|
||||
name: swift-multinode-rolling-upgrade
|
||||
parent: multinode
|
||||
nodeset: swift-five-nodes-py3
|
||||
nodeset: swift-five-nodes-centos-9
|
||||
description: |
|
||||
Build a 4 node swift cluster and run functional tests
|
||||
timeout: 5400
|
||||
vars:
|
||||
bindep_profile: test py36
|
||||
bindep_profile: test py39
|
||||
pre-run:
|
||||
- tools/playbooks/multinode_setup/pre.yaml
|
||||
- tools/playbooks/common/install_dependencies.yaml
|
||||
@ -425,12 +420,6 @@
|
||||
run: tools/playbooks/multinode_setup/run.yaml
|
||||
post-run: tools/playbooks/probetests/post.yaml
|
||||
|
||||
- job:
|
||||
name: swift-multinode-rolling-upgrade-victoria
|
||||
parent: swift-multinode-rolling-upgrade
|
||||
vars:
|
||||
previous_swift_version: origin/unmaintained/victoria
|
||||
|
||||
- job:
|
||||
name: swift-multinode-rolling-upgrade-wallaby
|
||||
parent: swift-multinode-rolling-upgrade
|
||||
@ -716,7 +705,7 @@
|
||||
- swift-tox-func-ec-py38
|
||||
- swift-func-cors
|
||||
- swift-tox-func-s3api-tests-tempauth
|
||||
- swift-probetests-centos-8-stream:
|
||||
- swift-probetests-centos-9-stream:
|
||||
irrelevant-files: *probetest-irrelevant-files
|
||||
- swift-dsvm-functional:
|
||||
irrelevant-files: *functest-irrelevant-files
|
||||
@ -735,11 +724,9 @@
|
||||
jobs:
|
||||
- swift-tox-py37
|
||||
- swift-tox-py38
|
||||
- swift-tox-py36-centos-8-stream
|
||||
- swift-tox-func-py39-centos-9-stream
|
||||
- swift-tox-func-encryption-py39-centos-9-stream
|
||||
- swift-tox-func-ec-py39-centos-9-stream
|
||||
- swift-multinode-rolling-upgrade-victoria
|
||||
- swift-multinode-rolling-upgrade-wallaby
|
||||
- swift-multinode-rolling-upgrade-xena
|
||||
- swift-multinode-rolling-upgrade-master:
|
||||
|
@ -24,13 +24,13 @@
|
||||
name: pip<21
|
||||
extra_args: --upgrade
|
||||
|
||||
- name: install rsync-daemon - CentOS 8
|
||||
- name: install rsync-daemon - CentOS 8, 9
|
||||
package:
|
||||
name: rsync-daemon
|
||||
state: present
|
||||
when:
|
||||
- ansible_facts['distribution'] == "CentOS"
|
||||
- ansible_facts['distribution_major_version'] == "8"
|
||||
- ansible_facts['distribution_major_version'] != "7"
|
||||
|
||||
- name: install python modules with pip
|
||||
pip: name={{ item }} state=present extra_args='--upgrade'
|
||||
|
@ -5,9 +5,15 @@
|
||||
yum:
|
||||
name: xorg-x11-server-Xvfb
|
||||
state: present
|
||||
# Note that more recent branches would require boto3, which would
|
||||
# (eventually) enforce a similar version cap on urllib3
|
||||
- name: cap urllib3
|
||||
pip:
|
||||
name: 'urllib3<2'
|
||||
state: present
|
||||
- name: install selenium
|
||||
pip:
|
||||
name: selenium
|
||||
name: 'selenium<4'
|
||||
state: present
|
||||
- name: install firefox
|
||||
yum:
|
||||
|
Loading…
x
Reference in New Issue
Block a user