Feature request - Enable full automated deployment of gitlab and gitlab-ci-multi-runner
As a sysadmin/engineer/devops/latestbuzzword person, I would like to be able to automate deployment of my SCM/CI solution.
The omnibus installation is cool, but...
At present there's a rather big stumbling block in that I have to do various manual actions for a fully working solution.
- deploy gitlab
- configure an admin account
- login and navigate to the runner page
- note down the token
- update my gitlab-runner deployment config
- deploy my runner(s)
- copy a load of repositories onto the gitlab server and run a rake task (I think), or do it manually one by one (ouch)
For PoC's, new jobs at companies that want to migrate etc, that's a pain. For subsequent runs, once a backup has been taken it becomes a bit easier.
ideally I would like to be able to use config management (Ansible, Chef, Puppet, Etc) to define these settings
- admin account details
- runner token id
and provide them during config
It would also be awesome to be able to provide a yaml file which defines how to import repositories, similar to Puppet's r10k or Ansible's galaxy requirements file. e.g.
```
- name: foo
url: http://bob.zebra.com
project: foobar
- name: gitlab-ce
url: gitlab.com/gitlab-org/gitlab-ce
project: gitlab
mirror: true
```
And then run a cli command to add them in.
So to summarize... please consider exposing a bootstrap API or something that enables initial configuration to be done, and perhaps provide a requirements style import feature.
Thanks!
issue