Commit 53358813a27a86444e721c3300d15d1ee51a5d6a
Exists in
master
and in
17 other branches
Merge branch 'gitlab-webui' into 'master'
Gitlab Webui
Showing
3 changed files
with
61 additions
and
1 deletions
Show diff stats
config/projects/gitlab.rb
@@ -22,13 +22,14 @@ homepage "http://www.gitlab.com/" | @@ -22,13 +22,14 @@ homepage "http://www.gitlab.com/" | ||
22 | 22 | ||
23 | replaces "gitlab" | 23 | replaces "gitlab" |
24 | install_path "/opt/gitlab" | 24 | install_path "/opt/gitlab" |
25 | -build_version '6.4.0' | 25 | +build_version Omnibus::BuildVersion.new.semver |
26 | build_iteration 1 | 26 | build_iteration 1 |
27 | 27 | ||
28 | # creates required build directories | 28 | # creates required build directories |
29 | dependency "preparation" | 29 | dependency "preparation" |
30 | 30 | ||
31 | dependency "gitlab-shell" | 31 | dependency "gitlab-shell" |
32 | +dependency "gitlab-webui" | ||
32 | 33 | ||
33 | # version manifest file | 34 | # version manifest file |
34 | dependency "version-manifest" | 35 | dependency "version-manifest" |
@@ -0,0 +1,36 @@ | @@ -0,0 +1,36 @@ | ||
1 | +# | ||
2 | +# Copyright:: Copyright (c) 2012 Opscode, Inc. | ||
3 | +# License:: Apache License, Version 2.0 | ||
4 | +# | ||
5 | +# Licensed under the Apache License, Version 2.0 (the "License"); | ||
6 | +# you may not use this file except in compliance with the License. | ||
7 | +# You may obtain a copy of the License at | ||
8 | +# | ||
9 | +# http://www.apache.org/licenses/LICENSE-2.0 | ||
10 | +# | ||
11 | +# Unless required by applicable law or agreed to in writing, software | ||
12 | +# distributed under the License is distributed on an "AS IS" BASIS, | ||
13 | +# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. | ||
14 | +# See the License for the specific language governing permissions and | ||
15 | +# limitations under the License. | ||
16 | +# | ||
17 | + | ||
18 | +name "gitlab-webui" | ||
19 | +version "6-5-stable" | ||
20 | + | ||
21 | +dependency "ruby" | ||
22 | +dependency "bundler" | ||
23 | +dependency "libxml2" | ||
24 | +dependency "libxslt" | ||
25 | +dependency "curl" | ||
26 | +dependency "rsync" | ||
27 | +dependency "libicu" | ||
28 | +dependency "postgresql" | ||
29 | + | ||
30 | +source :git => "https://gitlab.com/gitlab-org/gitlab-ce.git" | ||
31 | + | ||
32 | +build do | ||
33 | + bundle "install --without mysql development test --path=#{install_dir}/embedded/service/gem" | ||
34 | + command "mkdir -p #{install_dir}/embedded/service/gitlab-webui" | ||
35 | + command "#{install_dir}/embedded/bin/rsync -a --delete --exclude=.git/*** --exclude=.gitignore ./ #{install_dir}/embedded/service/gitlab-webui/" | ||
36 | +end |
@@ -0,0 +1,23 @@ | @@ -0,0 +1,23 @@ | ||
1 | +name "libicu" | ||
2 | +version "52.1" | ||
3 | + | ||
4 | +source :url => "http://download.icu-project.org/files/icu4c/52.1/icu4c-52_1-src.tgz", | ||
5 | + :md5 => "9e96ed4c1d99c0d14ac03c140f9f346c" | ||
6 | + | ||
7 | +relative_path 'icu/source' | ||
8 | + | ||
9 | +env = { | ||
10 | + "LDFLAGS" => "-L#{install_dir}/embedded/lib -I#{install_dir}/embedded/include", | ||
11 | + "CFLAGS" => "-L#{install_dir}/embedded/lib -I#{install_dir}/embedded/include", | ||
12 | + "LD_RUN_PATH" => "#{install_dir}/embedded/lib" | ||
13 | +} | ||
14 | + | ||
15 | +build do | ||
16 | + command ["./runConfigureICU", | ||
17 | + "Linux/gcc", | ||
18 | + "--prefix=#{install_dir}/embedded", | ||
19 | + ].join(" "), :env => env | ||
20 | + | ||
21 | + command "make -j #{max_build_jobs}", :env => env | ||
22 | + command "make install" | ||
23 | +end |