Setting up a Pipeline
Last updated
Last updated
ⓒ2023. Acornsoft Corp. All rights reserved.
1) To create a pipeline, click on the '+ Create Pipeline' button located in the top right corner of the [CI/CD] - [Pipeline] tab.
2) After entering the pipeline creation information, click the 'Save' button located in the top right corner.
3) Click the "Add Resource" button in the deployment resources section to apply the items you want to configure for the pipeline.
Workloads need to be created by default
4) After selecting the workload to add from the workload section, click the "Save" button
5) Once the workload is registered, confirm that the container images registered with the workload are automatically added.
Only images built using the image build feature in Cocktail are integrated
6) After selecting the service to add from the service exposure section, click the "Save" button.
7) After selecting the Ingress to add from the Ingress section, click the "Save" button.
8) After completing the registration of all resources, click the "Run" button located in the top right corner.
9) When the [run popup] appears, enter the content for the execution note regarding this pipeline version, then click the "Save" button.
10) Once the pipeline execution is complete, the release version will be indicated correctly in the top left corner.
When modifying each workload, service exposure, and Ingress in the [Service Map] tab, changes are not reflected in the pipeline. You need to make modifications directly in the pipeline.
Modifying the pipeline ensures that each workload and deployment resource is updated to the latest version
1) Select the pipeline name that needs modification in the [Pipeline] tab.
2) Click the "Create Pipeline Version" button in the top right corner of the pipeline, enter the version, and then click "Create".
1) Activate the "Build Run" button on the right side of the [Image Build] section, then click "Run".
The image build is re-executed and immediately reflected in the workload
2) The image is rebuilt, and you can check the progress of each step in the process.
3) When the image is rebuilt through the pipeline, verify that the image name in the workload is updated to the tag of the image built through the pipeline.
Deactivate the "Build Run" button on the right side of the [Image Build] section (no image changes required)
1) Select the workload name in the [Deployment Resources] section.
2) Make the necessary modifications by selecting the relevant parts, then click the "Save" button in the top right corner.
3) After confirming the change in replicas from 1 to 2 in the workload, click the "Close" button in the top right corner.
4) Once you return to the pipeline modification section, click the "Run" button in the top right corner, and enter the changes in the execution note."
5) In the pipeline's [Deployment Status] tab, verify that there are two pods running.
If you need to rollback to a previous configuration while continuously registering versions through the pipeline.
1) Select the pipeline name that needs modification in the [Pipeline] tab. Once changes are made in the modification section, click the "Rollback" button in the top right corner.
2) When the [Rollback Popup] window appears, review the execution notes of the versions created so far, select the desired version, then click the "Save" button.
3) Once the rollback is completed successfully, confirm that the modified version has been changed to the rollback target (e.g., V3 -> V2)
4) Verify that the pod count has returned to normal, such as 2 -> 1.
Item (* is required) | content |
---|---|
Name*
Enter the pipeline name to create
Version*
Input the version for the pipeline
Service Map*
Select the service map to execute the pipeline