Creating a Release Environment
This section describes how to create a code repository for an application and configure the environment and associated UCS cluster fleets.
Creating a Code Repository
- On the Scrum project homepage, search for the Scrum project created in Creating a Scrum Project, and click the project name to access the project.
- In the navigation pane, choose Code > Repo, and click New Repository.
Figure 1 Creating a common repository
- Configure the repository name, permissions, and visibility. For details, see Figure 2.
Creating an Environment
- In the navigation pane, choose CICD > Release, and click Environment. On the displayed page, you can view all environments.
Figure 3 Viewing the environments
- Click Create Environment and configure basic information. For details about the parameters, see Table 1.
- If you set the current user as the publish user, you can directly obtain the UCS fleet information of the account.
- If you set other users as the publish users, you can obtain the UCS fleet information of the account through the IAM service endpoint configured in Creating a Project and Service Endpoint.
Figure 4 Setting the current user as the publish user
Figure 5 Setting other users as the publish users
Table 1 Parameters for creating an environment Parameter
Description
Environment Name
Unique ID of an environment. Once created, this parameter cannot be changed.
Resource Type
Multiple types of resources that support different deployment plug-ins.
Publish User
The current user or other users to obtain the fleet information of the account to release applications.
Service Endpoint
Endpoint to obtain UCS resource permissions. For details about how to create a service endpoint, see How Do I Obtain an Access Key (AK/SK)?.
Association Type
Associated UCS resource granularity. Currently, only container fleets are supported.
Fleets
Cluster fleets for which cluster federation is enabled in the UCS.
Environment Level
Environment types. There are four environment types: development, test, pre-production, and production.
Description
Description of the environment. This parameter is optional.
- Click OK. The environment details page is displayed.
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