cirun 0.1.6 → 0.1.7
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: e13f9bfd96d3ad85dfe1b3abf7e068ab3b1fe89b
|
4
|
+
data.tar.gz: 56db4aa370925087f19d40002e5ff2d9735879df
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 5afb917ba5ad2205ed2248ec142db3ce24e6c30a925bb2a66b94a835210efc0e67ecb7c6bc50bebc82f8afe1f0a309ed551c82015195eb3d2f335e8835374e9c
|
7
|
+
data.tar.gz: e3d39c21c11a1024425ededfaf89228d8a2f312a3bbf28d45e96c2780b7295f49fa554719153fd92f99fdf16c1b0ffe7b73de24c602a80df4f5f8fc46ec6e429
|
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
|
9
|
+
cmd = "docker run --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