Skip to content
Snippets Groups Projects

update workflows to make use of new provisioning proxy pattern with 3 retries

Merged Karel van Klink requested to merge feature/remove-pp-retry-label into develop
6 files
+ 33
32
Compare changes
  • Side-by-side
  • Inline
Files
6
@@ -7,7 +7,7 @@ import logging
from typing import NoReturn
import requests
from orchestrator import inputstep, conditional, step
from orchestrator import conditional, inputstep, step
from orchestrator.config.assignee import Assignee
from orchestrator.domain import SubscriptionModel
from orchestrator.forms import FormPage, ReadOnlyField
@@ -183,8 +183,9 @@ def confirm_pp_results(state: State) -> FormGenerator:
run_status: str = ReadOnlyField(state["pp_run_results"]["status"])
run_results: LongText = ReadOnlyField(f"{state['pp_run_results']['output']}")
if not successful_run:
pp_retry_label: Label = "Provisioning Proxy has failed execution, the playbook will be retried " \
"(up to two times)."
pp_retry_label: Label = (
"Provisioning Proxy playbook execution failed, it will be retried (up to two times)." # type: ignore
)
confirm: Accept = Accept("INCOMPLETE")
yield ConfirmRunPage
Loading