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 +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: ecbd29b52ea3b2ce12ae4274a02d29354b860f97
|
4
|
+
data.tar.gz: 4962be462076d86512f9b1dfa07fb7a1882fb02f
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
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