Skip to content
Snippets Groups Projects
Commit ade1722c authored by Marin Jankovski's avatar Marin Jankovski
Browse files

More details in Readme.

parent c7c75fc1
No related branches found
No related tags found
1 merge request!1Readme Improvements
Loading
Loading
@@ -3,10 +3,15 @@ This repository stores all the dependency cookbooks of the GitLab cookbook as re
#### Usage
 
* Create a custom stack
* Under `Custom Chef Recipes` supply the url to this repository (no SSH key or branch/revision needed)
* Under `Custom Chef JSON` ???? FIXME Gove example
* Save the stack
* Edit the layer
* Select the "Advanced" dropdown
* Set "Use custom chef coobooks" to Yes
* Under `Repository URL` supply the url to this repository: `https://gitlab.com/gitlab-com/cookbook-gitlab-opsworks.git` (no SSH key or branch/revision needed)
* Under `Custom Chef JSON` supply the JSON of the custom setting for your instance. You can find example in the [cookbook repository](https://gitlab.com/gitlab-org/cookbook-gitlab/blob/master/doc/production.md)
* Save the stack by pressing "Add Stack"
* Go to "Layers" and select "Add layer"
* Under "Layer type" select custom and save
* Select "edit" of newly created layer
* In "Custom Chef Recipes" section
* Under `Setup` write `gitlab::setup` and press the + sign to add
* Under `Deploy` write `gitlab::deploy` and press the + sign to add
* Save changes made to the layer (Scroll to the bottom of the page for the Save button)
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment