Revert "Victoria tear down : emit release file"
This reverts commit 7a6b71241d
.
Reason for revert: https://bugs.launchpad.net/tripleo/+bug/1991240
Change-Id: I8026f2fa78b247231e718577a0522fb9ebacb128
This commit is contained in:
parent
7a6b71241d
commit
bbf1787508
|
@ -31,8 +31,12 @@ import requests
|
|||
import yaml
|
||||
from typing import Dict
|
||||
|
||||
# TODO(pojadhav): remove ussuri, victoria once we EOL victoria
|
||||
# Define releases
|
||||
RELEASES = [
|
||||
'train',
|
||||
'ussuri',
|
||||
'victoria',
|
||||
'wallaby',
|
||||
'master',
|
||||
]
|
||||
|
|
|
@ -59,7 +59,7 @@ def hash_mock_setup():
|
|||
'undercloud_install_hash': 'current-tripleo',
|
||||
'undercloud_target_release': 'wallaby',
|
||||
'undercloud_target_hash': 'current-tripleo',
|
||||
'overcloud_deploy_release': 'train',
|
||||
'overcloud_deploy_release': 'victoria',
|
||||
'overcloud_deploy_hash': 'previous-current-tripleo',
|
||||
'overcloud_target_release': 'wallaby',
|
||||
'overcloud_target_hash': 'current-tripleo',
|
||||
|
@ -71,6 +71,44 @@ def hash_mock_setup():
|
|||
'standalone_target_hash': 'current-tripleo',
|
||||
},
|
||||
),
|
||||
(
|
||||
'victoria',
|
||||
{
|
||||
'undercloud_install_release': 'victoria',
|
||||
'undercloud_install_hash': 'current-tripleo',
|
||||
'undercloud_target_release': 'victoria',
|
||||
'undercloud_target_hash': 'current-tripleo',
|
||||
'overcloud_deploy_release': 'ussuri',
|
||||
'overcloud_deploy_hash': 'previous-current-tripleo',
|
||||
'overcloud_target_release': 'victoria',
|
||||
'overcloud_target_hash': 'current-tripleo',
|
||||
'standalone_deploy_release': 'victoria',
|
||||
'standalone_deploy_newest_hash': 'current',
|
||||
'standalone_deploy_hash': 'current-tripleo',
|
||||
'standalone_target_release': 'victoria',
|
||||
'standalone_target_newest_hash': 'current',
|
||||
'standalone_target_hash': 'current-tripleo',
|
||||
},
|
||||
),
|
||||
(
|
||||
'ussuri',
|
||||
{
|
||||
'undercloud_install_release': 'ussuri',
|
||||
'undercloud_install_hash': 'current-tripleo',
|
||||
'undercloud_target_release': 'ussuri',
|
||||
'undercloud_target_hash': 'current-tripleo',
|
||||
'overcloud_deploy_release': 'train',
|
||||
'overcloud_deploy_hash': 'previous-current-tripleo',
|
||||
'overcloud_target_release': 'ussuri',
|
||||
'overcloud_target_hash': 'current-tripleo',
|
||||
'standalone_deploy_release': 'ussuri',
|
||||
'standalone_deploy_newest_hash': 'current',
|
||||
'standalone_deploy_hash': 'current-tripleo',
|
||||
'standalone_target_release': 'ussuri',
|
||||
'standalone_target_newest_hash': 'current',
|
||||
'standalone_target_hash': 'current-tripleo',
|
||||
},
|
||||
),
|
||||
],
|
||||
)
|
||||
def test_overcloud_upgrade_is_n_minus_one_to_n(
|
||||
|
@ -130,7 +168,7 @@ def test_overcloud_upgrade_is_n_minus_one_to_n(
|
|||
'undercloud_install_hash': 'current-tripleo',
|
||||
'undercloud_target_release': 'wallaby',
|
||||
'undercloud_target_hash': 'current-tripleo',
|
||||
'overcloud_deploy_release': 'train',
|
||||
'overcloud_deploy_release': 'victoria',
|
||||
'overcloud_deploy_hash': 'previous-current-tripleo',
|
||||
'overcloud_target_release': 'wallaby',
|
||||
'overcloud_target_hash': 'current-tripleo',
|
||||
|
@ -142,6 +180,44 @@ def test_overcloud_upgrade_is_n_minus_one_to_n(
|
|||
'standalone_target_hash': 'current-tripleo',
|
||||
},
|
||||
),
|
||||
(
|
||||
'victoria',
|
||||
{
|
||||
'undercloud_install_release': 'victoria',
|
||||
'undercloud_install_hash': 'current-tripleo',
|
||||
'undercloud_target_release': 'victoria',
|
||||
'undercloud_target_hash': 'current-tripleo',
|
||||
'overcloud_deploy_release': 'ussuri',
|
||||
'overcloud_deploy_hash': 'previous-current-tripleo',
|
||||
'overcloud_target_release': 'victoria',
|
||||
'overcloud_target_hash': 'current-tripleo',
|
||||
'standalone_deploy_release': 'victoria',
|
||||
'standalone_deploy_newest_hash': 'current',
|
||||
'standalone_deploy_hash': 'current-tripleo',
|
||||
'standalone_target_release': 'victoria',
|
||||
'standalone_target_newest_hash': 'current',
|
||||
'standalone_target_hash': 'current-tripleo',
|
||||
},
|
||||
),
|
||||
(
|
||||
'ussuri',
|
||||
{
|
||||
'undercloud_install_release': 'ussuri',
|
||||
'undercloud_install_hash': 'current-tripleo',
|
||||
'undercloud_target_release': 'ussuri',
|
||||
'undercloud_target_hash': 'current-tripleo',
|
||||
'overcloud_deploy_release': 'train',
|
||||
'overcloud_deploy_hash': 'previous-current-tripleo',
|
||||
'overcloud_target_release': 'ussuri',
|
||||
'overcloud_target_hash': 'current-tripleo',
|
||||
'standalone_deploy_release': 'ussuri',
|
||||
'standalone_deploy_newest_hash': 'current',
|
||||
'standalone_deploy_hash': 'current-tripleo',
|
||||
'standalone_target_release': 'ussuri',
|
||||
'standalone_target_newest_hash': 'current',
|
||||
'standalone_target_hash': 'current-tripleo',
|
||||
},
|
||||
),
|
||||
],
|
||||
)
|
||||
def test_period_overcloud_upgrade_is_n_minus_one_to_n(
|
||||
|
@ -199,7 +275,7 @@ def test_period_overcloud_upgrade_is_n_minus_one_to_n(
|
|||
(
|
||||
'wallaby',
|
||||
{
|
||||
'undercloud_install_release': 'train',
|
||||
'undercloud_install_release': 'victoria',
|
||||
'undercloud_install_hash': 'previous-current-tripleo',
|
||||
'undercloud_target_release': 'wallaby',
|
||||
'undercloud_target_hash': 'current-tripleo',
|
||||
|
@ -215,6 +291,44 @@ def test_period_overcloud_upgrade_is_n_minus_one_to_n(
|
|||
'standalone_target_hash': 'current-tripleo',
|
||||
},
|
||||
),
|
||||
(
|
||||
'victoria',
|
||||
{
|
||||
'undercloud_install_release': 'ussuri',
|
||||
'undercloud_install_hash': 'previous-current-tripleo',
|
||||
'undercloud_target_release': 'victoria',
|
||||
'undercloud_target_hash': 'current-tripleo',
|
||||
'overcloud_deploy_release': 'victoria',
|
||||
'overcloud_deploy_hash': 'current-tripleo',
|
||||
'overcloud_target_release': 'victoria',
|
||||
'overcloud_target_hash': 'current-tripleo',
|
||||
'standalone_deploy_release': 'victoria',
|
||||
'standalone_deploy_newest_hash': 'current',
|
||||
'standalone_deploy_hash': 'current-tripleo',
|
||||
'standalone_target_release': 'victoria',
|
||||
'standalone_target_newest_hash': 'current',
|
||||
'standalone_target_hash': 'current-tripleo',
|
||||
},
|
||||
),
|
||||
(
|
||||
'ussuri',
|
||||
{
|
||||
'undercloud_install_release': 'train',
|
||||
'undercloud_install_hash': 'previous-current-tripleo',
|
||||
'undercloud_target_release': 'ussuri',
|
||||
'undercloud_target_hash': 'current-tripleo',
|
||||
'overcloud_deploy_release': 'ussuri',
|
||||
'overcloud_deploy_hash': 'current-tripleo',
|
||||
'overcloud_target_release': 'ussuri',
|
||||
'overcloud_target_hash': 'current-tripleo',
|
||||
'standalone_deploy_release': 'ussuri',
|
||||
'standalone_deploy_newest_hash': 'current',
|
||||
'standalone_deploy_hash': 'current-tripleo',
|
||||
'standalone_target_release': 'ussuri',
|
||||
'standalone_target_newest_hash': 'current',
|
||||
'standalone_target_hash': 'current-tripleo',
|
||||
},
|
||||
),
|
||||
],
|
||||
)
|
||||
def test_undercloud_upgrade_is_n_minus_one_to_n(
|
||||
|
@ -264,6 +378,25 @@ def test_undercloud_upgrade_is_n_minus_one_to_n(
|
|||
'standalone_target_hash': 'current-tripleo',
|
||||
},
|
||||
),
|
||||
(
|
||||
'victoria',
|
||||
{
|
||||
'undercloud_install_release': 'ussuri',
|
||||
'undercloud_install_hash': 'previous-current-tripleo',
|
||||
'undercloud_target_release': 'victoria',
|
||||
'undercloud_target_hash': 'current-tripleo',
|
||||
'overcloud_deploy_release': 'victoria',
|
||||
'overcloud_deploy_hash': 'current-tripleo',
|
||||
'overcloud_target_release': 'victoria',
|
||||
'overcloud_target_hash': 'current-tripleo',
|
||||
'standalone_deploy_release': 'victoria',
|
||||
'standalone_deploy_newest_hash': 'current',
|
||||
'standalone_deploy_hash': 'current-tripleo',
|
||||
'standalone_target_release': 'victoria',
|
||||
'standalone_target_newest_hash': 'current',
|
||||
'standalone_target_hash': 'current-tripleo',
|
||||
},
|
||||
),
|
||||
],
|
||||
)
|
||||
def test_period_undercloud_upgrade_is_n_minus_one_to_n(
|
||||
|
@ -380,7 +513,7 @@ def test_standalone_upgrade_is_n_minus_one_to_n(
|
|||
'overcloud_deploy_hash': 'current-tripleo',
|
||||
'overcloud_target_release': 'wallaby',
|
||||
'overcloud_target_hash': 'current-tripleo',
|
||||
'standalone_deploy_release': 'train',
|
||||
'standalone_deploy_release': 'victoria',
|
||||
'standalone_deploy_newest_hash': 'old-current',
|
||||
'standalone_deploy_hash': 'previous-current-tripleo',
|
||||
'standalone_target_release': 'wallaby',
|
||||
|
@ -460,6 +593,44 @@ def test_period_standalone_upgrade_is_n_minus_one_to_n(
|
|||
'standalone_target_hash': 'current-tripleo',
|
||||
},
|
||||
),
|
||||
(
|
||||
'victoria',
|
||||
{
|
||||
'undercloud_install_release': 'victoria',
|
||||
'undercloud_install_hash': 'current-tripleo',
|
||||
'undercloud_target_release': 'victoria',
|
||||
'undercloud_target_hash': 'current-tripleo',
|
||||
'overcloud_deploy_release': 'victoria',
|
||||
'overcloud_deploy_hash': 'previous-current-tripleo',
|
||||
'overcloud_target_release': 'victoria',
|
||||
'overcloud_target_hash': 'current-tripleo',
|
||||
'standalone_deploy_release': 'victoria',
|
||||
'standalone_deploy_newest_hash': 'current',
|
||||
'standalone_deploy_hash': 'current-tripleo',
|
||||
'standalone_target_release': 'victoria',
|
||||
'standalone_target_newest_hash': 'current',
|
||||
'standalone_target_hash': 'current-tripleo',
|
||||
},
|
||||
),
|
||||
(
|
||||
'ussuri',
|
||||
{
|
||||
'undercloud_install_release': 'ussuri',
|
||||
'undercloud_install_hash': 'current-tripleo',
|
||||
'undercloud_target_release': 'ussuri',
|
||||
'undercloud_target_hash': 'current-tripleo',
|
||||
'overcloud_deploy_release': 'ussuri',
|
||||
'overcloud_deploy_hash': 'previous-current-tripleo',
|
||||
'overcloud_target_release': 'ussuri',
|
||||
'overcloud_target_hash': 'current-tripleo',
|
||||
'standalone_deploy_release': 'ussuri',
|
||||
'standalone_deploy_newest_hash': 'current',
|
||||
'standalone_deploy_hash': 'current-tripleo',
|
||||
'standalone_target_release': 'ussuri',
|
||||
'standalone_target_newest_hash': 'current',
|
||||
'standalone_target_hash': 'current-tripleo',
|
||||
},
|
||||
),
|
||||
(
|
||||
'train',
|
||||
{
|
||||
|
@ -549,6 +720,44 @@ def test_overcloud_update_target_is_hash(
|
|||
'standalone_target_hash': 'tripleo-ci-testing',
|
||||
},
|
||||
),
|
||||
(
|
||||
'victoria',
|
||||
{
|
||||
'undercloud_install_release': 'victoria',
|
||||
'undercloud_install_hash': 'tripleo-ci-testing',
|
||||
'undercloud_target_release': 'victoria',
|
||||
'undercloud_target_hash': 'tripleo-ci-testing',
|
||||
'overcloud_deploy_release': 'victoria',
|
||||
'overcloud_deploy_hash': 'previous-current-tripleo',
|
||||
'overcloud_target_release': 'victoria',
|
||||
'overcloud_target_hash': 'tripleo-ci-testing',
|
||||
'standalone_deploy_release': 'victoria',
|
||||
'standalone_deploy_newest_hash': 'current',
|
||||
'standalone_deploy_hash': 'tripleo-ci-testing',
|
||||
'standalone_target_release': 'victoria',
|
||||
'standalone_target_newest_hash': 'current',
|
||||
'standalone_target_hash': 'tripleo-ci-testing',
|
||||
},
|
||||
),
|
||||
(
|
||||
'ussuri',
|
||||
{
|
||||
'undercloud_install_release': 'ussuri',
|
||||
'undercloud_install_hash': 'tripleo-ci-testing',
|
||||
'undercloud_target_release': 'ussuri',
|
||||
'undercloud_target_hash': 'tripleo-ci-testing',
|
||||
'overcloud_deploy_release': 'ussuri',
|
||||
'overcloud_deploy_hash': 'previous-current-tripleo',
|
||||
'overcloud_target_release': 'ussuri',
|
||||
'overcloud_target_hash': 'tripleo-ci-testing',
|
||||
'standalone_deploy_release': 'ussuri',
|
||||
'standalone_deploy_newest_hash': 'current',
|
||||
'standalone_deploy_hash': 'tripleo-ci-testing',
|
||||
'standalone_target_release': 'ussuri',
|
||||
'standalone_target_newest_hash': 'current',
|
||||
'standalone_target_hash': 'tripleo-ci-testing',
|
||||
},
|
||||
),
|
||||
(
|
||||
'train',
|
||||
{
|
||||
|
@ -639,6 +848,44 @@ def test_period_overcloud_update_target_is_hash(
|
|||
'standalone_target_hash': 'current-tripleo',
|
||||
},
|
||||
),
|
||||
(
|
||||
'victoria',
|
||||
{
|
||||
'undercloud_install_release': 'victoria',
|
||||
'undercloud_install_hash': 'current-tripleo',
|
||||
'undercloud_target_release': 'victoria',
|
||||
'undercloud_target_hash': 'current-tripleo',
|
||||
'overcloud_deploy_release': 'victoria',
|
||||
'overcloud_deploy_hash': 'current-tripleo',
|
||||
'overcloud_target_release': 'victoria',
|
||||
'overcloud_target_hash': 'current-tripleo',
|
||||
'standalone_deploy_release': 'victoria',
|
||||
'standalone_deploy_newest_hash': 'current',
|
||||
'standalone_deploy_hash': 'current-tripleo',
|
||||
'standalone_target_release': 'victoria',
|
||||
'standalone_target_newest_hash': 'current',
|
||||
'standalone_target_hash': 'current-tripleo',
|
||||
},
|
||||
),
|
||||
(
|
||||
'ussuri',
|
||||
{
|
||||
'undercloud_install_release': 'ussuri',
|
||||
'undercloud_install_hash': 'current-tripleo',
|
||||
'undercloud_target_release': 'ussuri',
|
||||
'undercloud_target_hash': 'current-tripleo',
|
||||
'overcloud_deploy_release': 'ussuri',
|
||||
'overcloud_deploy_hash': 'current-tripleo',
|
||||
'overcloud_target_release': 'ussuri',
|
||||
'overcloud_target_hash': 'current-tripleo',
|
||||
'standalone_deploy_release': 'ussuri',
|
||||
'standalone_deploy_newest_hash': 'current',
|
||||
'standalone_deploy_hash': 'current-tripleo',
|
||||
'standalone_target_release': 'ussuri',
|
||||
'standalone_target_newest_hash': 'current',
|
||||
'standalone_target_hash': 'current-tripleo',
|
||||
},
|
||||
),
|
||||
(
|
||||
'train',
|
||||
{
|
||||
|
@ -721,6 +968,44 @@ def test_noop_target_is_the_same(
|
|||
'standalone_target_hash': 'tripleo-ci-testing',
|
||||
},
|
||||
),
|
||||
(
|
||||
'victoria',
|
||||
{
|
||||
'undercloud_install_release': 'victoria',
|
||||
'undercloud_install_hash': 'tripleo-ci-testing',
|
||||
'undercloud_target_release': 'victoria',
|
||||
'undercloud_target_hash': 'tripleo-ci-testing',
|
||||
'overcloud_deploy_release': 'victoria',
|
||||
'overcloud_deploy_hash': 'tripleo-ci-testing',
|
||||
'overcloud_target_release': 'victoria',
|
||||
'overcloud_target_hash': 'tripleo-ci-testing',
|
||||
'standalone_deploy_release': 'victoria',
|
||||
'standalone_deploy_newest_hash': 'current',
|
||||
'standalone_deploy_hash': 'tripleo-ci-testing',
|
||||
'standalone_target_release': 'victoria',
|
||||
'standalone_target_newest_hash': 'current',
|
||||
'standalone_target_hash': 'tripleo-ci-testing',
|
||||
},
|
||||
),
|
||||
(
|
||||
'ussuri',
|
||||
{
|
||||
'undercloud_install_release': 'ussuri',
|
||||
'undercloud_install_hash': 'tripleo-ci-testing',
|
||||
'undercloud_target_release': 'ussuri',
|
||||
'undercloud_target_hash': 'tripleo-ci-testing',
|
||||
'overcloud_deploy_release': 'ussuri',
|
||||
'overcloud_deploy_hash': 'tripleo-ci-testing',
|
||||
'overcloud_target_release': 'ussuri',
|
||||
'overcloud_target_hash': 'tripleo-ci-testing',
|
||||
'standalone_deploy_release': 'ussuri',
|
||||
'standalone_deploy_newest_hash': 'current',
|
||||
'standalone_deploy_hash': 'tripleo-ci-testing',
|
||||
'standalone_target_release': 'ussuri',
|
||||
'standalone_target_newest_hash': 'current',
|
||||
'standalone_target_hash': 'tripleo-ci-testing',
|
||||
},
|
||||
),
|
||||
(
|
||||
'train',
|
||||
{
|
||||
|
|
Loading…
Reference in New Issue