/gitlab-mirror-sync

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

Primary LanguageShellMIT LicenseMIT

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