Creating Repository Authorization
You can create repository authorization so that build projects and application components can use the authorization information to access the software repository.
Prerequisites
The source code repository to be authorized and the user account that can access the repository are available.
Creating Repository Authorization
- Log in to ServiceStage.
- Choose Continuous Delivery > Repository Authorization.
- Click Create Authorization and configure authorization information by referring to the following table. Parameters marked with an asterisk (*) are mandatory.
Table 1 Authorization parameters Parameter
Description
*Name
Authorization name, which cannot be changed after being created.
Enter 4 to 63 characters. Only use letters, digits, periods (.), underscores (_), and hyphens (-).
*Repository Authorization
The following supported official repository types vary depending on regions:
- GitHub (https://github.com)
Authorization mode: OAuth or private token.
- Bitbucket (https://bitbucket.org)
Authorization mode: OAuth or private Bitbucket.
- GitLab (https://gitlab.com)
Authorization mode: OAuth or private token.
NOTE:ServiceStage allows you to access official and private GitLab source code repositories using private tokens.
- Visit the official GitLab source code repository, obtain and enter a private token as prompted, and select Verify token (access the repository address from the public network).
- Visit the private GitLab source code repository, enter the correct private GitLab source code repository address and private token as prompted. You do not need to select Verify token (access the repository address from the public network).
- GitHub (https://github.com)
- Complete the authorization as prompted.
- Click OK.
In the Repository Authorization list, you can view that the repository authorization status is Normal.
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