-
Notifications
You must be signed in to change notification settings - Fork 421
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[installation script] GitLab 5.x-6.x - Ubuntu 12.04 - iGitLab (with future GitLab CI support) #108
Conversation
Updated installer for 6-1-stable and tweaked a few things: |
Let me know if there's something specific you want me to do so this can be provided to others to use. I can probably add support for RHEL and Apache if need be. I haven't updated my fork with the latest 6-1-stable release but it's available through the igitlab repo, or I can create a new PR ... just let me know. |
I've been wanting to merge this, so thank you for bringing it up again. Can you rebase this on top of the new structure we now have in gitlab-recipes (or create new PR)? I would put the README too if I were you. Thanks again! |
Created new fork with igitlab in debian and ubuntu, wasn't sure if you wanted to keep both installers for ubuntu or just have one. Didn't create a new branch for it but can if need be. Let me know, thanks! |
|
||
# Insert database password into config | ||
passwdph="secure password" | ||
sed -i "s/${passwdph}/${gitlabpass}/g" config/database.yml |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
this sed operation and the one three lines below, both should be executed with root permission, otherwise it will fail with promoting "Permission denied"
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Just need to add 'sudo -u git -H' before sed, i've already updated this in my repo igitlab, and have updated it in the branch "recipes" which will I will add a pull request to this repo later on
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Get it, that's definitly the best solution here
Yup Yup, closed. |
Thanks :) |
This is a script I put together to support the current release and future releases, ultimately named iGitLab. This script has many configurable options including the option to configure Unicorn or Puma (version dependent), and has been confirmed to work with 5-4-stable on Ubuntu 12.04 without any issues.
The script was created with the intention of being easy to upgrade to support future versions, including building directly from master branch.
There's a branch under the main repo i'm working on to integrate GitLab CI install as well, should be added in the next couple days.
Here's a blog post about it:
http://smyl.es/igitlab-configurable-gitlab-multi-version-bashshell-installer-script-for-debian-ubuntu-linux-mint-etc/
And the actual GitHub repo:
https://github.com/tripflex/igitlab