Skip to main content

Gitlab

config
destination:
gitlab:
- token: some-token
token_file: token.txt
url: http(s)://url-to-gitlab
force: true
mirror:
enabled: true
  • token: your gitlab token.
  • token_file: alternatively, specify the token in a file, relative to current working directory when executed.
  • url: if empty, https://gitlab.com is used.
warning

A backup to Gitlab works in general. With the community edition, it just migrates the repository to Gitlab. Mirroring is only supported in the Enterprise Edition. I have no access to an Enterprise Edition, therefore I can't test it properly.

  • force: enable force push.
  • mirror: handle the mirror functionality
    • enabled: if set to false gitlab will handle the mirror process itself, if set to true gickup will clone the repo locally and push it to gitlab.