cirun 0.1.8 → 0.1.9
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 +1 -1
- 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: deabd4144056e3c3985f5c83cb15f29cb4a17007
|
4
|
+
data.tar.gz: 9b3f6c56f3dbbad2eb4816437c0c3c7bc62b824f
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: aff180b904fac8c502b681232d2c2a5ffc7f6e2e270fa711047a4f3647a3a3c73044c04f46f3cbe4c3a196e5f1b614eff64cdb6a0669744e4c0ddc90e3fd606d
|
7
|
+
data.tar.gz: 3d929d0a591aed5f10cb6323da628f6a03df0c793156a092f9cecaae6112bf5dffc2b29e58e05fb48cca92ae52ba5a0c8fa48e9cb885c2b2110dc9512359c0b3
|
data/lib/cirun/runner.rb
CHANGED
@@ -6,7 +6,7 @@ module Cirun
|
|
6
6
|
|
7
7
|
def run
|
8
8
|
ruby_short = @opts.ruby.split('-').first
|
9
|
-
cmd = "docker -t
|
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} --env CODEPATH=/plugin --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
|
%x[ #{cmd} ]
|
12
12
|
end
|
data/lib/cirun/version.rb
CHANGED