Want to sync a Gitlab Group with a LDAP group? Then this will do that.
- No proper error handling
- Not flexible in terms of configuration
- Only does
many->one
in terms ofGitlab->LDAP
groups - Only tested on Linux
- Should work with both python 2 and 3
- Install deps
- Edit
config.yml
to your needs - Create a Gitlab Token that has
api
andsudo
- Make sure
gitlab.token
is set inconfig.yml
OR setGITLAB_TOKEN
envar (config.yml
takes precedent) - Run
python sync.py
There's an included .gitlab-ci.yml
file that should just work as long as you edit the $GITLABCI_VARIABLE
to be whatever you set your CI variable to be called