Creating a Package Job
The image package can be generated with a few clicks in a build job. In this way, the entire process of package obtainment, and image compilation and archiving is automatically implemented.
Prerequisites
- A cluster has been created. For details, see Creating a CCE Cluster.
- An EIP has been bound to the build node. For details, see Assigning an EIP and Binding It to an ECS.
Procedure
- Log in to ServiceStage, choose Continuous Delivery > Build, and click Create Package Job.
- Enter Job Name.
- (Optional) Enter Description.
- Set Package Source.
The following upload modes are supported:
- Select the corresponding software package from the OBS bucket. You need to upload the software package to the OBS bucket in advance. For details, see Uploading a File.
Click Select Software Package and select the corresponding software package.
- Select a build type.
- Set Image Class.
- Public: This is a widely used standard image that contains an OS and pre-installed public applications and is visible to all users. You can configure the applications or software in the public image as needed.
- Private: A private image contains an OS or service data, pre-installed public applications, and private applications. It is available only to the user who created it.
- Set Archived Image Address.
- Select Cluster.
If you use the selected cluster to perform a build job, you can deliver the build job to a fixed node through node labels. For details about how to add a node label, see Adding a Node Label.
- Click Build Now to start the build.
Click Save to save the settings (not to start the build).
Related Operations
After an application component is successfully built, you can manage it on ServiceStage. For details, see Deploying an Application Component.
Maintenance
Operation |
Description |
---|---|
Query details/build history |
|
Build Now |
Select the target build project and click Build Now in the Operation column. |
Edit |
Select the target build project and choose More > Edit in the Operation column to edit the build project. |
Delete |
|
Feedback
Was this page helpful?
Provide feedbackThank you very much for your feedback. We will continue working to improve the documentation.See the reply and handling status in My Cloud VOC.
For any further questions, feel free to contact us through the chatbot.
Chatbot