Welcome to mirror list, hosted at ThFree Co, Russian Federation.

gitlab.com/gitlab-org/gitlab-foss.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
authorRémy Coutable <remy@rymai.me>2017-05-04 15:55:08 +0300
committerRémy Coutable <remy@rymai.me>2017-05-04 15:55:08 +0300
commitdcdced81ae249d38837068d2cc6b7e21ebf1bef2 (patch)
tree05208836da4c67ed897f5caa11bd978f085d6a68 /lib
parent2d43f8a2f4b1352067755609c9e3110d382d06c6 (diff)
parent3960d974c378759d23c63f59135451054c47f54d (diff)
Merge branch 'gitlab-shell-compile' into 'master'
Compile gitlab-shell go executables See merge request !11039
Diffstat (limited to 'lib')
-rw-r--r--lib/tasks/gitlab/shell.rake10
1 files changed, 8 insertions, 2 deletions
diff --git a/lib/tasks/gitlab/shell.rake b/lib/tasks/gitlab/shell.rake
index 95687066819..ee2cdcdea1b 100644
--- a/lib/tasks/gitlab/shell.rake
+++ b/lib/tasks/gitlab/shell.rake
@@ -41,8 +41,14 @@ namespace :gitlab do
# Generate config.yml based on existing gitlab settings
File.open("config.yml", "w+") {|f| f.puts config.to_yaml}
- # Launch installation process
- system(*%w(bin/install) + repository_storage_paths_args)
+ [
+ %w(bin/install) + repository_storage_paths_args,
+ %w(bin/compile)
+ ].each do |cmd|
+ unless Kernel.system(*cmd)
+ raise "command failed: #{cmd.join(' ')}"
+ end
+ end
end
# (Re)create hooks