cirun 0.1.1 → 0.1.2

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: cf8f06edb09c2a12ea7c87583cc7902fedea02b6
4
- data.tar.gz: 540f76ab6dd1c2f397eefed447e6e31f2dd5822c
3
+ metadata.gz: ecbd29b52ea3b2ce12ae4274a02d29354b860f97
4
+ data.tar.gz: 4962be462076d86512f9b1dfa07fb7a1882fb02f
5
5
  SHA512:
6
- metadata.gz: e2cb8ce64015f27d47f7b304755775445d9026550ce2ef71d5b89efcec422dc817cb77788254bd74b762861faa916d7f9b8e52ecca01bded56fffcd951257dfa
7
- data.tar.gz: f75e4330d72dcca02e82b61e50bdc0de142240f87d0848efd5883efe4e401570944635466a6f36202cd757d70c5b5a41e8ab05b53e0250ccdae37484a75f20ae
6
+ metadata.gz: '098c6f58e3dff6256379119cce01aa01af4364ee8b2f4941b9b560e5e1356ea2436cf615a9d8631e6d841830e9f6951d2024903075f1cc4e75306ac5dab6bc97'
7
+ data.tar.gz: 31151e38f9980091091da85f21662f00836f83b06815a5b2ab6c8311b2ced1d65b53dd1c82464759712873ef4ab9d66e54c6f90b2db2cf8e7170eb50718a47a1
data/lib/cirun/runner.rb CHANGED
@@ -5,7 +5,7 @@ module Cirun
5
5
  end
6
6
 
7
7
  def run
8
- cmd = "docker run -t -i --env RUBY=#{@opts.ruby} --env DB=#{@opts.database} --env REDMINE=#{@opts.redmine} --env PLUGIN=#{@opts.plugin} --env DEPENDENT=#{@opts.dependent} --env CODEPATH=#{`pwd`.chomp} redmineup/#{@opts.plugin} /root/run_for.sh"
8
+ cmd = "docker run -t -i --env RUBY=#{@opts.ruby} --env DB=#{@opts.database} --env REDMINE=#{@opts.redmine} --env PLUGIN=#{@opts.plugin} --env DEPENDENT=#{@opts.dependent} --env CODEPATH=/plugin --mount source=#{`pwd`.chomp},target=/plugin redmineup/#{@opts.plugin} /root/run_for.sh $PLUGIN $RUBY $DB $REDMINE $DEPENDENT"
9
9
  puts "Running:\n#{cmd}"
10
10
  %x[ #{cmd} ]
11
11
  end
data/lib/cirun/version.rb CHANGED
@@ -1,3 +1,3 @@
1
1
  module Cirun
2
- VERSION = "0.1.1"
2
+ VERSION = "0.1.2"
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.1
4
+ version: 0.1.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - Andrei Malyshev