Editing a Package Job
This section describes how to edit a package job.
Prerequisites
The package job to be edited is available.
- For system-created build jobs, see Creating and Deploying a Component Based on a Container Using UI Configurations and Creating and Deploying a Component Based on a Container Using YAML Configurations.
- For user-created build jobs, see Creating a Package Job.
Editing a Package Job
- Log in to ServiceStage.
- Choose Continuous Delivery > Build.
- On the Build page, use either of the following methods to search for a build job:
- Select User created and select the CCE cluster and build job status. Then, select the target build job in the build list.
- Search for the build job created by the specified user in the search box.
- Click More > Edit. The build job configuration page is displayed.
- Enter a job name.
Enter 1 to 64 characters. Start with a letter or digit. Only use letters, digits, underscores (_), and hyphens (-).
- (Optional) Enter the description, which contains up to 64 characters.
- Set Package Source.
The following upload methods are supported:
- Select the corresponding software package from the SWR software repository. Upload the software package to the software repository. For details, see Uploading the Software Package.
- Select the corresponding software package from OBS. Upload the software package to the OBS bucket in advance. For details, see Streaming Upload (PUT).
- Set Build Type.
- System default
- Select the language of the basic image, which must be the same as that of the software package.
- Set Basic Image Tag.
The build node can download basic images only when it can access the public network.
- Custom Dockerfile
- Image
- System default
- 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.
- Specify Archived Image Address.
- Select Cluster.
- (Optional) Specify Node Label to deliver the build job to a fixed node based on the node label.
For details about how to add a label, see Adding a Node Label.
- Determine whether to execute the build:
- If yes, click Build to save the settings and execute the build job.
- If no, click Save to save the settings only.
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