Skip to content
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

Closed
wants to merge 6 commits into from

Conversation

tripflex
Copy link

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

@tripflex
Copy link
Author

Updated installer for 6-1-stable and tweaked a few things:

https://github.com/tripflex/igitlab

@tripflex
Copy link
Author

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.

@axilleas
Copy link
Contributor

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!

@tripflex
Copy link
Author

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
Copy link

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"

Copy link
Author

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

https://github.com/tripflex/igitlab/blob/recipes/igitlab

Copy link

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

@axilleas
Copy link
Contributor

axilleas commented Nov 4, 2013

So, @tripflex can this be closed in favor of #136 ?

@tripflex
Copy link
Author

tripflex commented Nov 4, 2013

Yup Yup, closed.

@tripflex tripflex closed this Nov 4, 2013
@axilleas
Copy link
Contributor

axilleas commented Nov 4, 2013

Thanks :)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Development

Successfully merging this pull request may close these issues.

3 participants