cirun 0.1.5 → 0.1.6
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: 624454c37320fadbdb238430add09765ac7666cd
|
4
|
+
data.tar.gz: 61fb648b064d93be9ef0930d14f7556d930f4461
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 4d70f38b743e11943a5c3ecd11ba056b77f04ca0d1c16835672177b5f24630d8184cf2d169d02084f7022a768f7d096984fbbe5a35f3879d70bf78c53904e69d
|
7
|
+
data.tar.gz: 21b334498ea55bae3aefbf5797813cff7105f3944a4db3accae6b33cac4fd209fe1b319874ae82c4d656ae77933c87a5e9170da1db4a01869dbc72a9313cf7f0
|
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 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"
|
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}/#{@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