Deployment checks
Deployment checks are default quality gates prepared by Guidewire to check the deployment status of a build before it is promoted to a higher star system. You can set them up so that Cloud Platform runs a deployment check for you.
Each deployment check operates automatically, updating its status based on system events. If the deployment to the required planet fails, the check will block the build from being promoted. When the deployment completes successfully, the check will pass, allowing the build promotion process to continue.
Verifications for deployment checks
Verifications for deployment checks are set up automatically. You can see their statuses in the Build Promoter app. For details, see Quality gates status.
Verification status of a deployed build that you want to promote can be one of the following:
Successful
Pending
Pending
is a default status when a deployment of an app starts and a verification is created. When the deployment is successful, the verification changes its status to Successful
. When the deployment fails, verification remains in the Pending
status.
With Insurer Admin credentials, you can override the verification status for a deployment check using the CI/CD Manager API.
Then, the verification status changes in the following way:
Pending
toSuccessful[overridden]
Successful
toPending[overridden]
Required and optional deployment checks
There are two types of deployment checks:
-
A required check.
It must have a
Successful
verification status for a build to be promoted. -
An optional check.
It doesn't block a build from being promoted.
Stage
Deployment checks can be applied at the following two stages:
-
Before promoting: pre-prod
If a required deployment check for this stage doesn't have a
Passing
status, it blocks a build from being promoted to a pre-production star system. -
Before promoting: prod
If a required deployment check for this stage doesn't have a
Passing
status, it blocks a build from being promoted to a production star system.
You can check the verification status of deployment checks in the Build Promotion app.
Create a deployment check
For each InsuranceSuite app, you must create the deployment checks separately.
To create a quality gate:
-
In the Quality gates app, select the InsuranceSuite app for which you want to set the quality gates.
-
Go to Deployment checks and select + Add deployment check.
-
Provide the following details:
-
Stage
Before promoting: pre-prod
Before promoting: prod.
For details, see Stages.
-
Planet
Provide the ID of a planet on which you want the deployments to be checked.
This field is obligatory. -
Description (Optional)
You can provide a description to explain the purpose of the quality gate.
-
Required
By default, a deployment check is required. To make it optional, clear the Required check box.
-
Edit a deployment check
You can modify the description and change the Required setting for a deployment check.
To modify a deployment check, select Edit in the Actions column.
Delete a deployment check
You can delete deployment checks that you no longer need.
To delete a deployment check, select Delete in the Actions column.
Instead of deleting a deployment check, you can make it optional. Optional checks don’t block builds from being promoted.