saltstack-formulas / gitlab-formula

http://docs.saltstack.com/en/latest/topics/development/conventions/formulas.html
Apache License 2.0
29 stars 49 forks source link

gitlab-formula

SaltStack formula to install GitLab

Salt state for installing GitLab - https://gitlab.com/gitlab-org/gitlab-ce

Following original install docs ( https://gitlab.com/gitlab-org/gitlab-ce/blob/6-5-stable/doc/install/installation.md ) as close as possible, with some exceptions:

Currently tested only on Debian, further systems planned.

Initial work done for CentOS but doesn't work there yet, heavily inspired by https://github.com/gitlabhq/gitlab-recipes/tree/master/install/centos

There are some initial bits for supporting RVM, but it's not working yet.

I chose to use PostgreSQL "because", planning to make this tunable via pillar.

I assume you're running gitlab under your node's FQDN, not under another name.

Attempt made to have most settings tunable via pillars.

Formula Dependencies

Available states

.. contents:: :local:

gitlab.runner

Install and configure from pillar, gitlab-runner for gitlab-ci. Using https://gitlab.com/gitlab-org/omnibus-gitlab/blob/master/doc/gitlab-ci/README.md