You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Just out of interest sake. If gitlab is to depend on the git formula, the git formula will need some changes for gitlab to work on CentOS ect. in the future.
For example the inclusion of the PUIAS_6_computational repository, is specifically to get a new enough version of GIT that is compatible with Gitlab. If Gitlab requires on another Git formula, this repository needs to be included in said formula.
Hm. Gitlab does require Git 1.8 or newer. CentOS 6 is currently on 1.7.1. This version incompatibility was present before #4 was merged and should be a new issue.
@tinuva how have you configured CentOS to run GitLab? Mind filing a new issue with details?
I was told it should actually work with what's available on CentOS, but I have not presonally verified yet - especially as I haven't yet managed on CentOS to make gitlab pick up a ruby new enough to work.
@davidkarlsen uhm, sorry. No, I don't really know why that's happening for you. What's your directory structure, where's your gitlab formula/state located?
gitfs_remotes:
....
- git@github.com:davidkarlsen/git-formula.git
- git@github.com:davidkarlsen/gitlab-formula.git
....
and have this in my state map:
'roles:gitlab':
- match: grain
- gitlab
and my grains:
root@main:/srv/salt# cat /etc/salt/grains
roles:
- dnsserver
- javabuild
- smtpserver
- saltmaster
- gitlab
@davidkarlsen it seems that one of the things gitlab formula references is not there - see #13236
I am working on refreshing the gitlab formula somewhat, and making sure the stuff it uses is either self-contained or explicitly mentioned, but it's currently work in progress.
I removed the CentOS-SCL repo, as well as the Puias computation repo after enabling Takehironet's repository.
That said, my tree is now a bit of a mess and need some cleaning up, but if you want I can still upload it so that you can have a look. It will need some more fine tuning to distinguish between CentOS 6 and 7 which will be released soon. It also needs to make use of more jinja maps, actually it need a lot of jinja love.
I am working on refreshing the gitlab formula somewhat, and making sure the stuff it uses is either
self-contained or explicitly mentioned, but it's currently work in progress.
Activity
gravyboat commentedon May 13, 2014
Quick fix here: #4
viq commentedon May 15, 2014
@davidkarlsen this should be fixed now, please verify.
davidkarlsen commentedon May 15, 2014
Doesn´t work for me:
viq commentedon May 15, 2014
Could you wrap it in a code block? This formatting makes it hard to read.
davidkarlsen commentedon May 16, 2014
@viq OK, done
davidkarlsen commentedon May 22, 2014
ping?
tinuva commentedon Jun 2, 2014
Just out of interest sake. If gitlab is to depend on the git formula, the git formula will need some changes for gitlab to work on CentOS ect. in the future.
For example the inclusion of the PUIAS_6_computational repository, is specifically to get a new enough version of GIT that is compatible with Gitlab. If Gitlab requires on another Git formula, this repository needs to be included in said formula.
whiteinge commentedon Jun 2, 2014
Hm. Gitlab does require Git 1.8 or newer. CentOS 6 is currently on 1.7.1. This version incompatibility was present before #4 was merged and should be a new issue.
@tinuva how have you configured CentOS to run GitLab? Mind filing a new issue with details?
viq commentedon Jun 2, 2014
I was told it should actually work with what's available on CentOS, but I have not presonally verified yet - especially as I haven't yet managed on CentOS to make gitlab pick up a ruby new enough to work.
tinuva commentedon Jun 3, 2014
@whiteinge I am still busy working out all the broken states that I have to get there. Will do once I have everything working.
viq commentedon Jun 3, 2014
@tinuva how are you getting a ruby new enough to run gitlab on CentOS?
viq commentedon Jun 3, 2014
@davidkarlsen uhm, sorry. No, I don't really know why that's happening for you. What's your directory structure, where's your gitlab formula/state located?
davidkarlsen commentedon Jun 6, 2014
I use gitfs:
viq commentedon Jun 6, 2014
@davidkarlsen it seems that one of the things gitlab formula references is not there - see #13236
I am working on refreshing the gitlab formula somewhat, and making sure the stuff it uses is either self-contained or explicitly mentioned, but it's currently work in progress.
davidkarlsen commentedon Jun 10, 2014
@viq Which #13236 ?
viq commentedon Jun 12, 2014
@davidkarlsen sorry, saltstack/salt#13236
tinuva commentedon Jun 17, 2014
@viq,
I finally got Gitlab to build and install via this saltstack formula from a clean CentOS 6 install.
Ruby and Git is now pulled from the following repository:
http://ftp5.gwdg.de/pub/opensuse/repositories/home:/takehironet/CentOS_CentOS-6/home:takehironet.repo
I removed the CentOS-SCL repo, as well as the Puias computation repo after enabling Takehironet's repository.
That said, my tree is now a bit of a mess and need some cleaning up, but if you want I can still upload it so that you can have a look. It will need some more fine tuning to distinguish between CentOS 6 and 7 which will be released soon. It also needs to make use of more jinja maps, actually it need a lot of jinja love.
viq commentedon Jun 17, 2014
@tinuva thanks, I'll investigate that repo. Yeah, I would like to see your changes.
tinuva commentedon Jun 17, 2014
@viq added it on here: https://github.com/Tinuva/gitlab-formula
viq commentedon Jun 17, 2014
@tinuva awesome, thank you.
arnisoph commentedon Jul 13, 2014
@viq I refactored the formula and uploaded it to https://github.com/bechtoldt/gitlab-formula . Feel free to share your ideas.
viq commentedon Jul 13, 2014
Have a look at a significant work @xmj did at
viq#1 for making this work better
on RedHat/CentOS.
I'll try to look and comment, but I will apologise in advance as I am
notoriously bad at doing things in any kind of timely manner :(
viq
arnisoph commentedon Jul 19, 2014
@viq no worries, we share the same problem. :)
xmj commentedon Jul 20, 2014
I'm working on a FreeBSD port of GitLab at the moment, and will then extend and amalgamate the GitLab formulas mentioned above to run it there too. :)
Merge pull request saltstack-formulas#3 from EvaSDK/gitlab-9-0-support