- 07 Dec 2022
- 2 Minutes to read
-
Print
-
DarkLight
Git Repository Integration
- Updated on 07 Dec 2022
- 2 Minutes to read
-
Print
-
DarkLight
This is a machine-translated version of the original Japanese article.
Please understand that some of the information contained on this page may be inaccurate.
summary
In Git repository integration, the setting information of transfer settings and data mart definitions can be output in YAML format and reflected in the specified Git repository.
This page describes how to set up and use Git repository integration.
Subject
- Forwarding settings configuration information
- Data mart definition configuration information
Integration type
There are two types of integration for Git repository integration: users and resource groups.
You can link one Git repository to your account or to each resource group.
Integration type: User
This is a linkage setting for users using trocco.
All operations related to Git repository linkage settings are available for the following resources (transfer settings and data mart definitions).
- Resources you created
- Resources that do not belong to a resource group
Integration type: Resource group
Role permissions
Depending on the type of role that the resource group has granted to the team to which it belongs, different operations are allowed.
For more information about each role in a resource group, refer to Resource Groups.
Each role is allowed to do the following:
Operation\ | RolesAdministratorEditorOperatorReaderNo | role | |||
---|---|---|---|---|---|
Create and edit Git repository integration settings | ✓ | ✓ | - | - | - |
Diff check with Git | ✓ | ✓ | - | - | - |
Commit and push to Git | ✓ | ✓ | - | - | - |
Display of integration information | ✓ | ✓ | ✓ | ✓ | - |
The following is an example of the display of a user's Git repository linkage screen.
- For the resource group "Test_1", the user has been granted the Administrator or Editor role.
- For the resource groups "Test_2" and "Test_3", the user is granted the Operator or Reader role.
Resource groups that are not assigned roles to the team to which you belong and that you are not the creator of are not displayed on the Git repository integration screen.
Configuring Remote Repositories
On the Git repository linkage screen, click New.
Enter the repository URL of the Git server and click Link.
If you are using GitHub Enterprise, etc., to deny access to the Git server from other than a specific IP address, please allow access to the IP address used by trocco for communication.
IP addresses that need to be allowed by security groups, firewalls, etc.
- Specify the branch name, register the Deploy Key with the Git server, confirm the connection and click Save.
Diff check
You can display the diff (difference) with the Git repository from the following.
- From the list screen of Git repository linkage, click Check all differences
- Click [Reflect to Git (to confirmation screen)** on the details screen of each transfer setting and the details screen of each data mart definition
Reflect to Git repository (git commit & push)
On the diff confirmation screen, click Reflect to Git.
Enter a Commit title and Commit details and click Propagate to Git repository.
The setting information in YAML format is reflected in the target Git repository.