3 hours ago - edited 3 hours ago
The objective of this document is to create the use case for the CICD deployment and leverage the CICD framework being used by some of our customers to deploy the customer-tenant-seed using the CICD pipeline.
The following are the points that need to be considered to achieve the CICD deployment.
Deployment Approach
Following steps to be followed to deployment perspective
|
Steps |
Description |
|---|---|
|
Step 1 - Zipping all the files required to deploy |
Zip it following folders depending upon your data and models based on the implementations: 10-json-based 20-excel-based Note: Please ignore to include the following folder as custom reports configs are not getting addressed as of now using any of the API 240.CustomReportConfig |
|
Step 2 - Prepare upload |
Create and send the request to setup the dataplatform seed to make them aware with the filename we are going to deploy api/binarystreamobjectservice/prepareUpload This API call will provide a UploadURL. |
|
Step 3 - Upload the File |
Use the Upload URL from Step 2 to upload the zip file. 1. This will be a PUT call with the upload URL as the endpoint 2. Use the binary in body to upload the Zip file from your local 3. This call requires additional header property “x-ms-blob-type:BlockBlob”
|
|
Step 4 - Deploy tenant seed |
Deploy the file to tenant /api/adminservice/deploytenantseed Grab the Task id from the response |
|
Step 5 - Ensure the upload is successful |
Use the call to track the status /api/requesttrackingservice/get |
|
Step 6 - Validate |
Make sure the intended changes are deployed into the tenant either from UI or backend. |
|
Postman Collection for all the above. |
Refer to the file in the attachment Code Deployment.postman_collection.json |
Please post your questions in the comments section.