-
Notifications
You must be signed in to change notification settings - Fork 93
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Ability to override API_SANDBOXES_OPERATION_TIMEOUT #109
Comments
@tobiaslohr, please make API_SANDBOXES_OPERATION_TIMEOUT at least 15-20 minutes, because now option |
In case it for any reason not appropriate to increase API_SANDBOXES_OPERATION_TIMEOUT to a greater value just return sandbox id which is still creating/starting so that it can be handled in any CI tool. |
As a workaround... @astound-ci you should be able to remove the |
Yeah @sholsinger, as you mentioned this is a workaround and not quite optimal as there will be many API requests sent, polling the status. Moreover we have a process that is bind to a created sandbox so than it can be assigned users and so on. And that process waits for a json file with initial data set. |
@astound-ci we will leave |
Thanks @tobiaslohr, that will help us much. When do you plan to release? |
Currently planned for 2.4.x release. We will most likely build and release v2.3.1 today, then start working on 2.4.x. Contributions are welcome :)
@astound-ci the sandbox id is included in the creation result in any case. In case of
What exactly is missing? |
@tobiaslohr we figured out how to overcome this error by redirecting stderr to stdout and wrapping to try/catch, all needed info is there. But still would be nice to have ENV var for timeout override. Thanks |
…ling timeout via new env var
There was a strange situation yesterday, request for sandbox creation took 41 minutes. And taking to account that API_SANDBOXES_OPERATION_TIMEOUT const is set to 10 minutes w/o ability to override - automated process failed w/o any error. Proposal is to add ability to override this const, additionally would be nice to have a reasonable error message in case default timeout exceeded.
Command used:
sfcc-ci-linux sandbox:create --json --sync --realm ${SANDBOX_REALM_ID} --ttl ${TTL}
The text was updated successfully, but these errors were encountered: