Merge "Remove upload_validations workflow execution"

This commit is contained in:
Zuul 2020-01-06 19:17:53 +00:00 committed by Gerrit Code Review
commit 914ca3eb28
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