gitlab-sync
plugin para o insomnia
Overview
This plugin allows users to synchronize collections with a gitlab repository
Installation
Gerenciador plugin insomnia
Install the insomnia-plugin-gitlab-sync plugin from Preferences > Plugins
Git
-
git clone https://github.com/FabioPereiraBraga/gitlab-sync.git
-
Download the used libraries
cd gitlab-sync npm install
-
Add the directory installed in the insomnia plugins folder.
cp gitlab-sync /home/you-user/.config/Insomnia/plugins
Note
The path of the plugins directory may change according to the distribution of the operating system
Configure
-
Create a personal access token to your GitLab account.
Scope Api
-
Go to Insomnia, click on Insomnia Main Menu, and click on "GitLab - Settings":
Inform the following parameters
{
"api_url": "http://url-you-server-gitlab.com",
"token": "you-personal-access-token",
"id_project": "id-project",
"name_file": "name-file",
"ref": "master"
}
Usage
- Click on "GitLab - Pull Collection" to search the collections of the project informed in the settings
- Click on "GitLab - Push Collection" to send updates made to the project collection informed in the settings