Skip to content

Trunkstar/gitlab-sync

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

41 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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

  1. git clone https://github.com/FabioPereiraBraga/gitlab-sync.git

  2. Download the used libraries

     cd gitlab-sync
     npm install
    
  3. 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

  1. Create a personal access token to your GitLab account.

    Scope Api

    image

  2. Go to Insomnia, click on Insomnia Main Menu, and click on "GitLab - Settings":

image

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"
 }

image

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

Packages

No packages published

Languages

  • JavaScript 100.0%