CloudDM 4.8.0 adds GreptimeDB as a DataSource
Skip to main content

Gitee integration

How a Gitee webhook triggers a CloudDM change flow

If you version SQL changes in Gitee, you can use the repository as a CloudDM Git Ops change source. Create a dedicated release account and grant it the repository access needed to retrieve changes.

The provider screenshots in this guide show its Chinese interface.

Configure the integration​

  1. Sign in to CloudDM with permission to manage integrations.
  2. Sign in to Gitee using the release account and open Settings from the avatar menu. Open Gitee account settings (Chinese interface)
  3. Create a Personal Access Token with the minimum permissions needed to read profile information and access the repository. Configure a Gitee personal access token (Chinese interface)
  4. In CloudDM, open Integrations > Git Ops and click Add.
  5. Select Gitee.
  6. Enter a Name. The Service URL is set to https://gitee.com/.
  7. Enter the Access Token.
  8. Click Test. Once the connection succeeds, click Add.

Configure the webhook​

  1. Sign in to Gitee with the release account and open the target repository.
  2. Under Manage, open WebHooks. Open the repository management tab (Chinese interface) Open Gitee webhook settings (Chinese interface)
  3. Enter the webhook URL and password generated by the CloudDM change flow. Select Password as the authentication method.
  4. Select the code push, branch, tag, or merge request events required by your change flow.
  5. Enable and save the webhook, then verify the trigger with a test commit or merge request.