Commit fa2a22052d35ccfc10946c3cd956ad5316d33865
Exists in
master
and in
17 other branches
Merge branch 'gitlab-shell' into 'master'
Include gitlab-shell into the project
Showing
3 changed files
with
15 additions
and
3 deletions
Show diff stats
Gemfile.lock
config/projects/gitlab.rb
| ... | ... | @@ -0,0 +1,13 @@ |
| 1 | +name "gitlab-shell" | |
| 2 | +version "v1.8.0" | |
| 3 | + | |
| 4 | +dependency "ruby" | |
| 5 | +dependency "rsync" | |
| 6 | + | |
| 7 | +source :git => "https://gitlab.com/gitlab-org/gitlab-shell.git" | |
| 8 | + | |
| 9 | +build do | |
| 10 | + command "sed -i 's|^#!/usr/bin/env ruby|#!#{install_dir}/embedded/bin/ruby|' $(grep -r -l '#!/usr/bin/env ruby' .)" | |
| 11 | + command "mkdir -p #{install_dir}/embedded/services/gitlab-shell" | |
| 12 | + command "#{install_dir}/embedded/bin/rsync -a --delete --exclude=.git/*** --exclude=.gitignore ./ #{install_dir}/embedded/services/gitlab-shell/" | |
| 13 | +end | ... | ... |