Victoria tear down : emit release file
This patch removes emit release files cleaup of victoria/ussuri EOL releases. Depends-On: https://review.opendev.org/c/openstack/tripleo-ci/+/859437 Change-Id: I77381bcbb6a88cffef19c0ff30bf3e9ceffdeed2
This commit is contained in:
parent
37d6b13a5a
commit
7a6b71241d
|
@ -31,12 +31,8 @@ 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': 'victoria',
|
||||
'overcloud_deploy_release': 'train',
|
||||
'overcloud_deploy_hash': 'previous-current-tripleo',
|
||||
'overcloud_target_release': 'wallaby',
|
||||
'overcloud_target_hash': 'current-tripleo',
|
||||
|
@ -71,44 +71,6 @@ 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(
|
||||
|
@ -168,7 +130,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': 'victoria',
|
||||
'overcloud_deploy_release': 'train',
|
||||
'overcloud_deploy_hash': 'previous-current-tripleo',
|
||||
'overcloud_target_release': 'wallaby',
|
||||
'overcloud_target_hash': 'current-tripleo',
|
||||
|
@ -180,44 +142,6 @@ 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(
|
||||
|
@ -275,7 +199,7 @@ def test_period_overcloud_upgrade_is_n_minus_one_to_n(
|
|||
(
|
||||
'wallaby',
|
||||
{
|
||||
'undercloud_install_release': 'victoria',
|
||||
'undercloud_install_release': 'train',
|
||||
'undercloud_install_hash': 'previous-current-tripleo',
|
||||
'undercloud_target_release': 'wallaby',
|
||||
'undercloud_target_hash': 'current-tripleo',
|
||||
|
@ -291,44 +215,6 @@ 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(
|
||||
|
@ -378,25 +264,6 @@ 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(
|
||||
|
@ -513,7 +380,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': 'victoria',
|
||||
'standalone_deploy_release': 'train',
|
||||
'standalone_deploy_newest_hash': 'old-current',
|
||||
'standalone_deploy_hash': 'previous-current-tripleo',
|
||||
'standalone_target_release': 'wallaby',
|
||||
|
@ -593,44 +460,6 @@ 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',
|
||||
{
|
||||
|
@ -720,44 +549,6 @@ 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',
|
||||
{
|
||||
|
@ -848,44 +639,6 @@ 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',
|
||||
{
|
||||
|
@ -968,44 +721,6 @@ 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