SourceCommit type trigger
    • PDF

    SourceCommit type trigger

    • PDF

    Article Summary

    Available in VPC

    You can create SourceCommit type triggers in Cloud Functions > Trigger of the NAVER Cloud Platform console. SourceCommit is a private Git repository service of the NAVER Cloud Platform for saving source codes and various files safely. You can create a repository in SourceCommit to manage team projects efficiently and easily save data such as source codes.

    Note
    • There is an additional fee for using SourceCommit. For an introduction to SourceCommit and information on the rate plan, see the Service > Developer Tools > SourceCommit menu of the NAVER Cloud Platform portal.
    • The SourceCommit trigger only supports the Korea region and the VPC Platform.

    Please see the Running Actions/Triggers and Trigger for how to run and monitor triggers that have been created.

    Create triggers

    To create a SourceCommit type trigger, you should click and select SourceCommit as the trigger type, and set up the trigger's basic information and SourceCommit connection information.

    Set up connection information

    Set up connections for SourceCommit type triggers in the SourceCommit connection information of the console.

    cloudfunctions-sourcecommit-vpc_1_ko.png

    • If you select a repository in SourceCommit, you can see the list of webhooks in the repository.
    • If you select a repository and webhook, and then click the Add button, the settings for SourceCommit connection information will be completed. Multiple webhooks can be added, and each webhook event will execute the same trigger.
    • If the trigger - webhook connection is deactivated, the trigger will not be executed.
    • Up to 10 triggers can be connected and activated per webhook.
    • If you click the [Go to Create Repository] button, you can go to the SourceCommit console and create a new repository.
    • If you click the [Create a webhook] button, you can create a new webhook.

    cloudfunctions-sourcecommit-vpc_2_ko.png

    Note

    If you select Cloud Functions as the target type when creating a webhook in the SourceCommit console of the NAVER CLOUD PLATFORM, you can connect to it by selecting an existing trigger or creating a new trigger.

    Events delivered to the trigger

    When the webhook event created in SourceCommit, occurs, the event information will be delivered to the SourceCommit type trigger. The delivered event can be used as a parameter in the action code connected to the SourceCommit type trigger, enabling a wide range of applications.
    For information on the payload delivered to each event type of SourceCommit, see the SourceCommit user guide.


    Was this article helpful?

    Changing your password will log you out immediately. Use the new password to log back in.
    First name must have atleast 2 characters. Numbers and special characters are not allowed.
    Last name must have atleast 1 characters. Numbers and special characters are not allowed.
    Enter a valid email
    Enter a valid password
    Your profile has been successfully updated.