Description
This charm will install and configure Gitlab CE.
Gitlab is a Git repository management system similar
to Github.
Overview
This charm provides the GitLab open source git repository management platform.
GitLab includes git repository management, code reviews, issue tracking, wikis and much more.
GitLab comes with GitLab CI, an easy to use continuous integration and deployment tool.
Discuss issues and plan milestones. Do code reviews and make line comments. Mention your colleagues anywhere. View activity streams of projects or people.
GitLab has integrations for tons of tools such as Slack, Hipchat, LDAP, JIRA, Jenkins, many types of hooks and a complete API.
Usage
To deploy Gitlab simply run:
juju deploy cs:~spiculecharms/gitlab-server
juju expose gitlab-server
Login to the new server with the username: root and a password of your choice and on first login you will be instructed
to change the root password.
To use it with an HTTP endpoint like HA Proxy you need to run
juju deploy haproxy
juju add-relation haproxy gitlab
This charm also supports the SSL Termination Proxy charm to provide SSL encryption.
Once deployed you should change the external_url from localhost to the FQDN of your Gitlab client. Whilst it doesn't affect the operation of the server, it does ensure links and urls generated by Gitlab are correct for remote operation.
juju config gitlab-server external_url=<your fqdn>
Limitations
Curently there is no HA mode or scale out.
Code
Source Code: https://github.com/osbi/layer-gitlab
Contact Information
Configuration
- incoming_email_enabled
- (boolean) Accept incoming email
- backup_upload_remote_directory
- (string) Bucket to upload to
- incoming_email_password
- (string) Incoming email password
- smtp_tls
- (boolean) SMTP TLS
- reply_to_email
- (string) Override the reply to email address
- smtp_domain
- (string) SMTP Domain
- smtp_enable_starttls_auto
- (boolean) Enable STARTTLS automatically
- True
- gitlab_version
- (string) The version of GitLab to install
- 9.1.0-ce.0
- http_port
- (string) The HTTP port
- 80
- incoming_email_host
- (string) Incoming Email Host
- incoming_email_address
- (string) The email address including the `%{key}` placeholder that will be replaced to reference the item being replied to. The `+%{key}` placeholder is added after the user part, after a `+` character, before the `@`.
- smtp_port
- (string) SMTP Port
- smtp_address
- (string) SMTP Address
- smtp_enable
- (boolean) Enable SMTP sending
- True
- incoming_email_start_tls
- (boolean) Incoming Email Start TLS
- incoming_email_ssl
- (boolean) Incoming Email SSL
- True
- smtp_user_name
- (string) SMTP Username
- smtp_password
- (string) SMTP Password
- backup_upload_connection
- (string) 'Set the upload provider eg: { 'provider' => 'AWS','region' => 'eu-west-1', 'aws_access_key_id' => 'AKIAKIAKI', 'aws_secret_access_key' => 'secret123' }'
- backup_keep_time
- (string) Set the default backup keep time
- 604800
- from_email_name
- (string) The Name Used in the From field
- incoming_email_email
- (string) Incoming email address
- incoming_email_port
- (string) Incoming Email Port
- backup_path
- (string) Override the default backup path
- /var/opt/gitlab/backups
- time_zone
- (string) Override the default timezone(UTC)
- email_from
- (string) Email address used in the from field in mails send by GitLab
- ssh_host
- (string) Override the SSH Hostname
- incoming_email_mailbox_name
- (string) Incoming mailbox name
- external_url
- (string) The FQDN for your GitLab unit
- http://localhost