Container Platform, navigate to Application > Application.
Click Create.
Select the Create from Code.
Refer to the parameter descriptions below to complete the configuration.
Region | Parameter | Description |
---|---|---|
Code Repository | Type |
|
Integrated Project Name | The name of the integration tool project assigned or associated with the current project by the Administrator. | |
Repository Address | Select or input the address of the code repository that stores the source code. | |
Version Identifier | Supports creating applications based on branches, tags, or commits in the code repository. Among them:
| |
Context dir | Optional directory for the source code, used as a context directory for build. | |
Secret | When using an input code repository, you can add an authentication secret as needed. | |
Builder Image |
| |
Version | Select the runtime environment version that is compatible with your source code to ensure smooth application execution. | |
Build | Build Type | Currently, only the Build method is supported for constructing application images. This method simplifies and automates the complex image building process, allowing developers to focus solely on code development. The general process is as follows:
|
Image URL | After the build is complete, specify the target image repository address for the application. | |
Application | - | Fill in the application configuration as needed. For specific details, refer to the parameter descriptions in the Creating applications from Image documentation. |
Network | - |
|
Label Annotations | - | Fill in the relevant labels and annotations as needed. |
After filling in the parameters, click on Create.
You can view the corresponding deployment on the Details page.
After the application has been created, the corresponding information can be viewed on the details page.
Parameter | Description |
---|---|
Build | Click the link to view the specific build (Build) and build task (BuildRun) resource information and YAML. |
Start Build | When the build fails or the source code changes, you can click this button to re-execute the build task. |