rcbops/RPC-Heat-Gitlab

Name: RPC-Heat-Gitlab

Owner: rcbops

Description: Deploys Gitlab through a heat template.

Created: 2015-02-09 16:38:31.0

Updated: 2015-02-09 16:38:31.0

Pushed: 2015-08-13 20:16:15.0

Homepage: null

Size: 271

Language: null

GitHub Committers

UserMost Recent Commit# Commits

Other Committers

UserEmailMost Recent Commit# Commits

README

Description

This is an OpenStack HEAT template to deploy GitLab CE server in an OpenStack cloud.

This template uses GitLab salt-formulas to configure the servers. Single instance GitLab CE server will be created and configured to use with Postfix service for sending out mail.

For access to GitLab node, a floating ip will be assigned to the salt-master. Or a new server can be created in the same network as the GitLab node. Additionally, GitLab server will also be on a separete network so that applications could access your version control server without being on the same network.

Any changes to the GitLab configuration can be done using Salt pillars on the Salt master.

Requirements

install python-heatclient

Using Heat-client

Here is an example of how to deploy this template using the python-heatclient:

 stack-create hadoop-stack -f gitlab_stack.yaml \
 env.yaml -P flavor=m1.large;floating-network-id=<NET_ID>; \
 ... > ;image=<IMAGE_ID>

All the required parameters are as follows:

"image": Image name
"floating-network-id": UUID of the external network. The private network created by this stack will route to this network. Also, any floating ip's needed by this stack will come this network.
"keyname": Key name for loggin in to instances
"flavor": Flavor of GitLab instance
"gitlab-from-email": GitLab "from" email
"gitlab-hostname": Hostname for GitLab server

Using Salt

If you wish to make changes to your environment after all the nodes were built, you may re-run salt states as follows:

 -G 'roles:gitlab' state.highstate

The roles work as follows: “gitlab” is a role for setting up gitlab servers.

Using Horizon

You can also go to your Horizon Dashboard in your browser and create the GitLab stack from under the Orchestration tab.

License

nsed under the Apache License, Version 2.0 (the "License");
may not use this file except in compliance with the License.
may obtain a copy of the License at

http://www.apache.org/licenses/LICENSE-2.0

ss required by applicable law or agreed to in writing, software
ributed under the License is distributed on an "AS IS" BASIS,
OUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
the License for the specific language governing permissions and
tations under the License.

This work is supported by the National Institutes of Health's National Center for Advancing Translational Sciences, Grant Number U24TR002306. This work is solely the responsibility of the creators and does not necessarily represent the official views of the National Institutes of Health.