Deprecate Ansible 5, make Ansible 6 the default
Ansible 5 is no longer supported and 6 is available and working. Deprecate Ansible 5. Change-Id: I8c152f7c0818bccd07f50e85bef9a82ddb863a68
This commit is contained in:
parent
4bda3e1969
commit
81e9a51185
|
@ -0,0 +1,6 @@
|
|||
---
|
||||
upgrade:
|
||||
- |
|
||||
Ansible versions 5 is now deprecated in Zuul since it is
|
||||
unmaintaned, and it will be removed from a future version of Zuul.
|
||||
Ansible 6 is now the default version in Zuul.
|
|
@ -25,16 +25,16 @@
|
|||
parent: ansible-version
|
||||
vars:
|
||||
test_ansible_version_major: 2
|
||||
test_ansible_version_minor: 12
|
||||
test_ansible_version_minor: 13
|
||||
|
||||
# This job is used by a test case specifying a different ansible version in
|
||||
# zuul.conf
|
||||
# fixtures/zuul-default-ansible-version.conf
|
||||
- job:
|
||||
name: ansible-default-zuul-conf
|
||||
parent: ansible-version
|
||||
vars:
|
||||
test_ansible_version_major: 2
|
||||
test_ansible_version_minor: 13
|
||||
test_ansible_version_minor: 12
|
||||
|
||||
- job:
|
||||
name: ansible-5
|
||||
|
|
|
@ -7,7 +7,7 @@ server=127.0.0.1
|
|||
tenant_config=main.yaml
|
||||
relative_priority=true
|
||||
# Used by ansible-default-zuul-conf job
|
||||
default_ansible_version=6
|
||||
default_ansible_version=5
|
||||
|
||||
[merger]
|
||||
git_dir=/tmp/zuul-test/merger-git
|
||||
|
|
|
@ -1141,7 +1141,7 @@ class TestWeb(BaseTestWeb):
|
|||
|
||||
job_params = {
|
||||
'job': 'project-test1',
|
||||
'ansible_version': '5',
|
||||
'ansible_version': '6',
|
||||
'timeout': None,
|
||||
'post_timeout': None,
|
||||
'items': [],
|
||||
|
@ -1240,7 +1240,7 @@ class TestWeb(BaseTestWeb):
|
|||
"noop")
|
||||
|
||||
job_params = {
|
||||
'ansible_version': '5',
|
||||
'ansible_version': '6',
|
||||
'branch': 'master',
|
||||
'extra_vars': {},
|
||||
'group_vars': {},
|
||||
|
|
|
@ -1352,7 +1352,7 @@ class TestSystemConfigCache(ZooKeeperBaseTestCase):
|
|||
"use_relative_priority": True,
|
||||
"max_hold_expiration": 7200,
|
||||
"default_hold_expiration": 3600,
|
||||
"default_ansible_version": "5",
|
||||
"default_ansible_version": "6",
|
||||
"web_root": "/web/root",
|
||||
"web_status_url": "/web/status",
|
||||
"websocket_url": "/web/socket",
|
||||
|
|
|
@ -1,11 +1,12 @@
|
|||
# This file describes the currently supported ansible versions
|
||||
[common]
|
||||
default_version = 5
|
||||
default_version = 6
|
||||
# OpenStackSDK 0.99.0 coincides with CORS header problems in some providers
|
||||
requirements = openstacksdk<0.99 openshift jmespath google-cloud-storage pywinrm boto3 azure-storage-blob ibm-cos-sdk netaddr passlib
|
||||
|
||||
[5]
|
||||
requirements = ansible>=5.0,<6.0
|
||||
deprecated = true
|
||||
|
||||
[6]
|
||||
requirements = ansible>=6.0,<7.0
|
||||
|
|
Loading…
Reference in New Issue