Help Center/ Cloud Application Engine/ User Guide/ System Settings/ Authorizing a Source Code Repository
Updated on 2024-07-01 GMT+08:00

Authorizing a Source Code Repository

Creating an Authorization

  1. Log in to CAE.
  2. Choose System Settings.
  3. Click Edit in the Source Code Repository Authorizations module.
  4. Click Create Authorization, select the required source code repository by referring to Table 1, and set parameters.

    Table 1 Authorization parameters

    Parameter

    Description

    *Authorization

    Authorization name, which cannot be changed after being created.

    *Repository Type

    The following official repositories are supported:

  5. Click OK.

    Figure 1 Creating a source code repository authorization

  6. In the Service Statement dialog box, select I understand that the source code building function of the ServiceStage service collects the information above and agree to authorize the collection and use of the information. Click OK.
  7. On the Authorized Source Code Repository page, you can view the authorization information about the authorized source code repositories, including the authorization name, status, type, repository username, authorization mode, creation time, and update time.

Re-authorizing a Source Code Repository

  1. Log in to CAE.
  2. Choose System Settings.
  3. Click Edit in the Source Code Repository Authorizations module.
  4. Select the target authorization and click Re-authorize in the Operation column.

    During re-authorization, the code source repository cannot be changed. You can only select another authorization mode.

  5. Click OK.

Deleting an Authorization

  1. Log in to CAE.
  2. Choose System Settings.
  3. Click Edit in the Source Code Repository Authorizations module.
  4. Use either of the following methods to delete an authorization:

    • Batch deletion
      1. Select the target authorized source code repositories and click to delete Bulk Delete.
        Figure 2 Batch deletion
      2. In the displayed dialog box, enter DELETE and click OK.
    • Individual deletion
      1. Select the target authorized source code repository and click Delete in the Operation column.
      2. In the displayed dialog box, enter DELETE and click OK.