Merge "Remove upload_validations workflow execution" into stable/train

This commit is contained in:
Zuul 2020-01-15 04:28:40 +00:00 committed by Gerrit Code Review
commit 2f6c3362b3
1 changed files with 2 additions and 7 deletions

View File

@ -146,10 +146,6 @@ def _prepare_ssh_environment(mistral):
mistral.executions.create('tripleo.validations.v1.copy_ssh_key')
def _upload_validations_to_swift(mistral):
mistral.executions.create('tripleo.validations.v1.upload_validations')
def _create_default_plan(mistral):
plan_exists = [True for c in sdk.list_containers() if
c['name'] == 'overcloud']
@ -189,9 +185,8 @@ try:
_create_default_plan(mistral)
if tripleo_validations_enabled:
_prepare_ssh_environment(mistral)
_upload_validations_to_swift(mistral)
print('INFO: Undercloud post - Validations executed and '
'uploaded to Swift.')
print("INFO: Undercloud post - "
"SSH Keys for TripleO Validations deployed.")
except Exception:
print('ERROR: Undercloud Post - Failed.')
raise