mirror of https://github.com/status-im/migrate.git
144aaaa986
* New Gitlab source * fix: use net package to build url string * add: gitlab source to Makefile and Dockerfile |
||
---|---|---|
.. | ||
examples/migrations | ||
.gitignore | ||
README.md | ||
gitlab.go | ||
gitlab_test.go |
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 |