migrate/source/gitlab
Bence Patyi 144aaaa986 Gitlab source (#184)
* New Gitlab source

* fix: use net package to build url string

* add: gitlab source to Makefile and Dockerfile
2019-03-10 18:38:23 -07:00
..
examples/migrations Gitlab source (#184) 2019-03-10 18:38:23 -07:00
.gitignore Gitlab source (#184) 2019-03-10 18:38:23 -07:00
README.md Gitlab source (#184) 2019-03-10 18:38:23 -07:00
gitlab.go Gitlab source (#184) 2019-03-10 18:38:23 -07:00
gitlab_test.go Gitlab source (#184) 2019-03-10 18:38:23 -07:00

README.md

gitlab

gitlab://user:personal-access-token@gitlab_url/project_id/path#ref`

URL Query WithInstance Config Description
user The username of the user connecting
personal-access-token An access token from Gitlab (https://<gitlab_url>/profile/personal_access_tokens)
gitlab_url url of the gitlab server
project_id id of the repository
path path in repo to migrations
ref (optional) can be a SHA, branch, or tag