cirun 0.1.9 → 0.1.10
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/cirun/runner.rb +2 -2
- data/lib/cirun/version.rb +1 -1
- metadata +1 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: a9024b5aa3d035c69475d4eb9b836049de89e5ca
|
4
|
+
data.tar.gz: ccd041d58ca974f204cefff6d28573aa655050e0
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 314e0ae3cb4809fec51c1fc5ccf7ae92a88cbf39eddf621c2628c3e5c0381bfaa8f4ae6861fc86192355491ba2814f2ade086622dacb843a8eb780403adf2c4a
|
7
|
+
data.tar.gz: 1d531cacc2543a0690ab9e09cd6b4759f55d70a8bd2cdb4c76dea59cb2c2c6dc1b25b1c5d68d40f987d5c6f1af467083f33896e941720fe0872f4463b1562386
|
data/lib/cirun/runner.rb
CHANGED
@@ -6,9 +6,9 @@ module Cirun
|
|
6
6
|
|
7
7
|
def run
|
8
8
|
ruby_short = @opts.ruby.split('-').first
|
9
|
-
cmd = "docker run -t --env RUBY_VERSION=ruby-#{ruby_short} --env DB=#{@opts.database} --env REDMINE=redmine-#{@opts.redmine} --env PLUGIN=#{@opts.plugin} --env DEPENDENT=#{@opts.dependent} --
|
9
|
+
cmd = "docker run -t --env RUBY_VERSION=ruby-#{ruby_short} --env DB=#{@opts.database} --env REDMINE=redmine-#{@opts.redmine} --env PLUGIN=#{@opts.plugin} --env DEPENDENT=#{@opts.dependent} --mount type=bind,source=#{`pwd`.chomp},target=/var/www/ruby-#{ruby_short}/#{@opts.database}/redmine-#{@opts.redmine}/plugins/#{@opts.plugin} redmineup/#{@opts.plugin} /root/run_local.sh"
|
10
10
|
puts "Running:\n#{cmd}"
|
11
|
-
|
11
|
+
puts `#{cmd}`
|
12
12
|
end
|
13
13
|
end
|
14
14
|
end
|
data/lib/cirun/version.rb
CHANGED