Giter Club home page Giter Club logo

gitlab-formula's Introduction

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:

  • ruby 1.9.3 is enough for it to work, so I'm using system packages for that
  • Using PostgreSQL "because".

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

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

gitlab-formula's People

Contributors

antoinealb avatar arthurzenika avatar davidkarlsen avatar gilou avatar gmazrael avatar gravyboat avatar iggy avatar jle35 avatar lendar avatar myii avatar nmadhok avatar philpep avatar puneetk avatar stp-ip avatar techhat avatar viq avatar whiteinge avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

gitlab-formula's Issues

Runner executor is required

Hi,

Using the gitlab.runner seems to fail because the registering command requires the executor to be chosen. What about adding a gitlab.runner.executor (maybe defaulting to shell) variable ?

GitLab Omnibus and Gitlab Runner in Go/TOML config

I have an internal formula we use for GLCI with the newer toml configs and auto configures it. Might be interesting to integrate that into this global gitlab formula.

Another thing is that on Debian we always use the omnibus installer, but it isn't mentioned anywhere in this formula. Was this intended to be a replacement for some of the Chef auto configuration in GitLab itself or was this because of historical reasons?

Config file for runner doesn't fit system install?

The conf file should probably be checked in /etc/gitlab-runner/config.toml rather than in the home to allow configuration in

- unless: 'test -e /home/{{gitlab.runner.home}}/config.yml'

Also this is not idempotent as the register is not either... Maybe we can use gitlab-runner verify to check if the configured runner is already registered?

postgres requirement in init.sls and postgresql.sls

Hi,

Which postgresql salt formula do you guys which is a requirement in init.sls?

I can only find postgres-formula from https://github.com/saltstack-formulas/postgres-formula which has a folder postgres.

This also flows over into postgresql.sls which requires postgresql-server.pkg and .service. If I want to use the postgres formula from the above url, I need to change init.sls to require postgres instead of postgresql, and the lines in postgresql.sls in this gitlab formula:

from:
require:
- pkg: postgresql-server
- service: postgresql-server

to:
require:
- pkg: postgres-server
- service: postgres-server

Update suggested pillar.example

Hi,

trying a recent install of this gitlab-formula, some of the bundler commands fail, and it seems updating to more recent versions vs what is suggested in pillar.example resolves the issue.

from:
shell_version: v1.8.0
gitlab_version: 6-5-stable

to:
shell_version: v1.9.4
gitlab_version: 6-9-stable

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.