arrow-left

All pages
gitbookPowered by GitBook
1 of 1

Loading...

Setting up a Pipeline

hashtag
1. Setting up a Pipeline

hashtag
1-1. Creating a Pipeline

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.

Item (* is required)
content

3) Click the "Add Resource" button in the deployment resources section to apply the items you want to configure for the pipeline.

circle-info
  • 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.

circle-exclamation
  • 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.

hashtag
2. Modify Pipeline

triangle-exclamation
  • 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".

hashtag
2-1. If there are changes in the source requiring rebuilding of images

1) Activate the "Build Run" button on the right side of the [Image Build] section, then click "Run".

circle-info
  • 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.

hashtag
2-2. If there are changes to the workload, such as replicas or other configurations

circle-info
  • 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.

hashtag
3. Pipeline Rollback

circle-info
  • 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.

Name*

Enter the pipeline name to create

Version*

Input the version for the pipeline

Service Map*

Select the service map to execute the pipeline

[Screen] Initial Pipeline Creation Screen
[Screen] Pipeline Creation Information Input Screen
[Screen] Add Deployment Resources to the Pipeline
[Screen] Select Workload in Add Deployment Resources
[Screen] Registering Workload for Pipeline
[Screen] Selecting Service Exposure in Add Deployment Resources
[Screen] Selecting Ingress in Add Deployment Resources
[Screen] Screen after registering all resources for the pipeline
[Screen] Inputting Pipeline Execution Notes
[Screen] Screen after Pipeline Execution Completion
[Screen] Pipeline List
[Screen] Pipeline Version Creation
[Screen] Screen with Build Execution Enabled and in Progress
[Screen] Image Build Process
[Screen] Confirmation of Image Tag Change
[Screen] Screen with Build Execution Disabled
[Screen] Workload Configuration Change Screen
[Screen] Information after Workload Configuration Change
[Screen] Screen after Clicking the "Run" Button
[Screen] Pipeline Deployment Status
[Screen] Pipeline Configuration Screen
[Screen] Popup window with Execution Notes after Clicking Rollback
[Screen] Confirmation of Rollback Version Change
[Screen] Pipeline Deployment Status