cirun 0.1.4 → 0.1.5
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: fd8ecdd93dccb30d8df814513f9da3b23c62db88
|
4
|
+
data.tar.gz: 19979a5dd18aa117a038549c1e6e5e0a3841372a
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 0bc0b6bb5b0e72e96a65dda249a571042bbddc86840b9ede4287ae3d1334be5299eee0f62a5a9a20576891b228bd9646267fa99b6d52314e9b13c57051d95096
|
7
|
+
data.tar.gz: 99d01c30adcbde2af3484504607a7f85221e9debab0e8f10b0564fd745548f2151effb9c6b9fbd4e5c231b0c6094211331d3f9ae055d42f522b68a6cdd597695
|
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 run -t -i --env
|
9
|
+
cmd = "docker run -t -i --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}/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