Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
GÉANT Service Orchestrator
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Jira
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Package registry
Container registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
GÉANT Orchestration and Automation Team
GAP
GÉANT Service Orchestrator
Merge requests
!44
update workflows to make use of new provisioning proxy pattern with 3 retries
Code
Review changes
Check out branch
Download
Patches
Plain diff
Merged
update workflows to make use of new provisioning proxy pattern with 3 retries
feature/remove-pp-retry-label
into
develop
Overview
0
Commits
2
Pipelines
1
Changes
6
Merged
Karel van Klink
requested to merge
feature/remove-pp-retry-label
into
develop
1 year ago
Overview
0
Commits
2
Pipelines
1
Changes
6
Expand
0
0
Merge request reports
Viewing commit
a8851001
Prev
Next
Show latest version
6 files
+
33
−
32
Inline
Compare changes
Side-by-side
Inline
Show whitespace changes
Show one file at a time
Files
6
Search (e.g. *.vue) (Ctrl+P)
Verified
a8851001
reformat files
· a8851001
Karel van Klink
authored
1 year ago
gso/services/provisioning_proxy.py
+
4
−
3
Options
@@ -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