You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Mar 19, 2019. It is now read-only.
we want to have a canonical service in Jenkinsfiles to do approvals and allow different environments to use different approval systems.
e.g. we want our Jenkinsfiles to do something like:
// lets wait for approval or timeout/fail if not
approve(namespace ="cheese", project ="beer", environment ="production", action ="promote")
// now promote to production
}
So we should create an Approval Service REST API and consumer contract. Then we can create a few implementations:
I guess we could even use a ThirdPartyResource for the Approval so apps could watch its status; though I worry about it being too easy for some bad app to update the TPR :) So a simple REST API to poll is maybe simpler ;)
maybe the REST API should just be you POST some YAML/JSON key/value to the service URL and get back a Location header of the URL to GET to find the status of the approval (process instance ID / issue or whatever).
we want to have a canonical service in Jenkinsfiles to do approvals and allow different environments to use different approval systems.
e.g. we want our Jenkinsfiles to do something like:
So we should create an Approval Service REST API and consumer contract. Then we can create a few implementations:
The text was updated successfully, but these errors were encountered: