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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 624454c37320fadbdb238430add09765ac7666cd
4
- data.tar.gz: 61fb648b064d93be9ef0930d14f7556d930f4461
3
+ metadata.gz: e13f9bfd96d3ad85dfe1b3abf7e068ab3b1fe89b
4
+ data.tar.gz: 56db4aa370925087f19d40002e5ff2d9735879df
5
5
  SHA512:
6
- metadata.gz: 4d70f38b743e11943a5c3ecd11ba056b77f04ca0d1c16835672177b5f24630d8184cf2d169d02084f7022a768f7d096984fbbe5a35f3879d70bf78c53904e69d
7
- data.tar.gz: 21b334498ea55bae3aefbf5797813cff7105f3944a4db3accae6b33cac4fd209fe1b319874ae82c4d656ae77933c87a5e9170da1db4a01869dbc72a9313cf7f0
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 -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"
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
@@ -1,3 +1,3 @@
1
1
  module Cirun
2
- VERSION = '0.1.6'.freeze
2
+ VERSION = '0.1.7'.freeze
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: cirun
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.6
4
+ version: 0.1.7
5
5
  platform: ruby
6
6
  authors:
7
7
  - Andrei Malyshev