FabioPereiraBraga / gitlab-sync

plugin para o insomnia
MIT License
8 stars 8 forks source link

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