GithubHelp home page GithubHelp logo

gitlab-cookbook's Introduction

GitLab Cookbook

GitLabの環境を量産するためのRecipeセットを目指します。

Setup

debファイルが100MBを超過してgithubにはアップ出来ないので下記コマンドで事前取得する

wget https://downloads-packages.s3.amazonaws.com/ubuntu-14.04/gitlab_7.4.2-omnibus-1_amd64.deb -O files/default/gitlab_7.4.2-omnibus-1_amd64.deb

TODO

下記サイトを参照し、git-dataをebs管理、s3バックアップするようにレシピを変更 https://gitlab.com/gitlab-org/omnibus-gitlab/blob/master/README.m://gitlab.com/gitlab-org/omnibus-gitlab/blob/master/README.md

下記ファイルのservernameをIPで書き換えるようにレシピを変更 /var/opt/gitlab/nginx/conf/gitlab-http.conf

Gemfileのhttpsをhttpに書き換えるようにレシピを変更 http://segmentfault.com/blog/venmos/1190000000457771

sudo openssl req -newkey rsa:2048 -x509 -nodes -days 3560 -out gitlab.crt -keyout gitlab.key

sudo chmod o-r gitlab.key

Requirements

本RecipeのGitLabはUbuntu14.04で動作することを目的としています。 また、git, mysql, rubyがインストールされている必要があります。

packages

  • ruby - gitlab needs ruby version 2.1.3

Attributes

TODO: List your cookbook attributes here.

e.g.

gitlab::default

Key Type Description Default
['gitlab']['external_url'] String gitlabを提供するURL -
['gitlab']['db_host'] String databaseのエンドポイント -
['gitlab']['db_port'] String databaseのポート -
['gitlab']['db_username'] String databaseのユーザ名 -
['gitlab']['db_password'] String databaseのパスワード -

Usage

gitlab::default

TODO: Write usage instructions for each cookbook.

e.g. Just include gitlab in your node's run_list:

{
  "run_list": [
		  "recipe[gitlab]"
  ],
  "automatic": {
    "ipaddress": "XX.XX.XX.XX"
  },
  "gitlab": {
    "external_url": "XX.XX.XX.XX",
	"db_host": "your end point",
	"db_port": "your port",
	"db_username": "git, for example",
	"db_password": "git password"
  }
}

Contributing

TODO: (optional) If this is a public cookbook, detail the process for contributing. If this is a private cookbook, remove this section.

e.g.

  1. Fork the repository on Github
  2. Create a named feature branch (like add_component_x)
  3. Write your change
  4. Write tests for your change (if applicable)
  5. Run the tests, ensuring they all pass
  6. Submit a Pull Request using Github

License and Authors

Authors: Shunsuke Wada

gitlab-cookbook's People

Contributors

letusfly85 avatar

Watchers

 avatar  avatar

Forkers

sagadev2015

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.