JexSrs / gitlab-mirror-sync

A shell script to automatically trigger the mirror sync of the available repos in Gitlab

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

gitlab-mirror-sync

This project contains a shell script designed to automate the synchronization of available repositories in GitLab.

Prerequisites

  • GITLAB_URL: the GitLab url of the instance
  • GITLAB_TOKEN: the user's GitLab generated access token

Install packages:

sudo apt install curl jq

How to run

Make file executable:

chmod a+x script.sh

Execute:

./script.sh

About

A shell script to automatically trigger the mirror sync of the available repos in Gitlab

License:MIT License


Languages

Language:Shell 100.0%