cirun 0.1.0 → 0.1.1
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: cf8f06edb09c2a12ea7c87583cc7902fedea02b6
|
4
|
+
data.tar.gz: 540f76ab6dd1c2f397eefed447e6e31f2dd5822c
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: e2cb8ce64015f27d47f7b304755775445d9026550ce2ef71d5b89efcec422dc817cb77788254bd74b762861faa916d7f9b8e52ecca01bded56fffcd951257dfa
|
7
|
+
data.tar.gz: f75e4330d72dcca02e82b61e50bdc0de142240f87d0848efd5883efe4e401570944635466a6f36202cd757d70c5b5a41e8ab05b53e0250ccdae37484a75f20ae
|
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.
|
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"
|
9
9
|
puts "Running:\n#{cmd}"
|
10
10
|
%x[ #{cmd} ]
|
11
11
|
end
|
data/lib/cirun/version.rb
CHANGED