Skip to content

Add service parameter timeouts - #261

Open
vkalapov wants to merge 1 commit into
masterfrom
add-timeouts
Open

vkalapov wants to merge 1 commit into
masterfrom
add-timeouts

Conversation

@vkalapov

Copy link
Copy Markdown
Contributor

LMCROSSITXSADEPLOY-3322

UsageDetails: plugin.Usage{
Usage: `Deploy a multi-target app using blue-green deployment
cf bg-deploy MTA [-e EXT_DESCRIPTOR[,...]] [-t TIMEOUT] [--version-rule VERSION_RULE] [-u URL] [-f] [--retries RETRIES] [--no-start] [--namespace NAMESPACE] [--apply-namespace-app-names true/false] [--apply-namespace-service-names true/false] [--apply-namespace-app-routes true/false] [--apply-namespace-as-suffix true/false ] [--delete-services] [--delete-service-keys] [--delete-service-brokers] [--keep-files] [--no-restart-subscribed-apps] [--no-confirm] [--skip-idle-start] [--do-not-fail-on-missing-permissions] [--abort-on-error] [--apps-start-timeout TIMEOUT] [--apps-stage-timeout TIMEOUT] [--apps-upload-timeout TIMEOUT] [--apps-task-execution-timeout TIMEOUT]
cf bg-deploy MTA [-e EXT_DESCRIPTOR[,...]] [-t TIMEOUT] [--version-rule VERSION_RULE] [-u URL] [-f] [--retries RETRIES] [--no-start] [--namespace NAMESPACE] [--apply-namespace-app-names true/false] [--apply-namespace-service-names true/false] [--apply-namespace-app-routes true/false] [--apply-namespace-as-suffix true/false ] [--delete-services] [--delete-service-keys] [--delete-service-brokers] [--keep-files] [--no-restart-subscribed-apps] [--no-confirm] [--skip-idle-start] [--do-not-fail-on-missing-permissions] [--abort-on-error] [--apps-start-timeout TIMEOUT] [--apps-stage-timeout TIMEOUT] [--apps-upload-timeout TIMEOUT] [--apps-task-execution-timeout TIMEOUT] [--services-create-service-timeout TIMEOUT] [--services-bind-service-timeout TIMEOUT] [--services-create-service-key-timeout TIMEOUT]

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

maybe align with apps:
services-create-timeout
services-bind-timeout
services-create-key-timeout

Comment on lines +53 to +55
servicesCreateServiceTimeoutOpt = "services-create-service-timeout"
servicesBindServiceTimeoutOpt = "services-bind-service-timeout"
servicesCreateServiceKeyTimeoutOpt = "services-create-service-key-timeout"

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

same as above

s-yonkov-yonkov

This comment was marked as duplicate.

@s-yonkov-yonkov
s-yonkov-yonkov self-requested a review November 5, 2026 12:56

@s-yonkov-yonkov s-yonkov-yonkov left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please validate the three new service timeout options in rollback-mta and add coverage in commands/rollback_mta_command_test.go. Currently, invalid values bypass validation and can abort a conflicting deployment before the controller rejects the rollback request. Test that invalid values are rejected before any abort or operation-start call, and that valid values are forwarded correctly.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants