The Lazy Load feature helps you improve your CI/CD pipeline by giving you the option to create your sandbox infrastructure while the pipeline publishes your artifacts. Normally this is a linear and dependent process. With the Lazy Load feature, your setup time is significantly decreased.
The Lazy Load is an API parameter that skips the artifact validation while creating a sandbox. Parallel artifact creation that is necessary for the sandbox environment begins. If the VM is running and the artifacts are not ready, then the sandbox will show a list of the missing artifacts along with an error message.
Defining Lazy Load Parameters
From the CloudShell Colony REST API, Sandbox Environments Post command, declare the lazy_load_artifacts parameter. If the parameter is set as True then the feature is activated and does not wait for confirmation of artifact validation when creating a sandbox environment. Colony checks for the updated artifact list every 30 seconds. When the artifacts are ready, Colony pulls them from the artifact repository and makes them available for your application scripts.
If the parameter is set as False and the artifacts are not available, Colony will prevent you from starting the sandbox environment.
lazy_load_artifacts boolean
lazy_load_artifacts_timeout integer($int32)
The lazy_load_artifacts parameter indicates whether the feature is enabled or disabled.
The lazy_load_artifacts_timeout parameter indicates the amount of time (in seconds) that Colony will wait for the artifacts before failing the setup.
Comments
0 comments
Please sign in to leave a comment.