conjur-debify 1.2.1 → 1.3.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/CHANGELOG.md +4 -0
- data/lib/conjur/debify/version.rb +1 -1
- data/lib/conjur/debify.rb +8 -0
- 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: 036cffe142434776c5b343709dd6180f53c3f9fb
|
|
4
|
+
data.tar.gz: c381c211706f3bfb8747b7e572b13129d4e8f76e
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: ed0a8d89e0196a0a315054c38a390209b1c3bd7895d1e17afd0326e79b8eaf743129edc487b968ec21d330960c48115741b8a1c21d25287b2eb56f2ddac7226e
|
|
7
|
+
data.tar.gz: 02a67909b16651936dff4c1b77c7767b14982a192784fca2be857c258f739c73156410f0412012804406101cbef030cb9242518c7634c9d336fa22606cb07aab
|
data/CHANGELOG.md
CHANGED
data/lib/conjur/debify.rb
CHANGED
|
@@ -344,6 +344,9 @@ command "test" do |c|
|
|
|
344
344
|
c.desc "Specify link for test container"
|
|
345
345
|
c.flag [ :l, :link ], :multiple => true
|
|
346
346
|
|
|
347
|
+
c.desc "Specify volume for test container"
|
|
348
|
+
c.flag [ :'volumes-from' ], :multiple => true
|
|
349
|
+
|
|
347
350
|
c.action do |global_options,cmd_options,args|
|
|
348
351
|
raise "project-name is required" unless project_name = args.shift
|
|
349
352
|
raise "test-script is required" unless test_script = args.shift
|
|
@@ -411,6 +414,7 @@ RUN touch /etc/service/conjur/down
|
|
|
411
414
|
}
|
|
412
415
|
options['Privileged'] = true if Docker.version['Version'] >= '1.10.0'
|
|
413
416
|
options['Links'] = cmd_options[:link] if cmd_options[:link] && !cmd_options[:link].empty?
|
|
417
|
+
options['VolumesFrom'] = cmd_options[:'volumes-from'] if cmd_options[:'volumes-from'] && !cmd_options[:'volumes-from'].empty?
|
|
414
418
|
if global_options[:'local-bundle']
|
|
415
419
|
options['Binds']
|
|
416
420
|
.push([ vendor_dir, "/src/#{project_name}/vendor" ].join(':'))
|
|
@@ -490,6 +494,9 @@ command "sandbox" do |c|
|
|
|
490
494
|
c.desc "Specify link for container"
|
|
491
495
|
c.flag [ :l, :link ], :multiple => true
|
|
492
496
|
|
|
497
|
+
c.desc "Specify volume for container"
|
|
498
|
+
c.flag [ :'volumes-from' ], :multiple => true
|
|
499
|
+
|
|
493
500
|
c.desc 'Run dev-install in /src/<project-name>'
|
|
494
501
|
c.default_value false
|
|
495
502
|
c.switch [:'dev-install']
|
|
@@ -545,6 +552,7 @@ command "sandbox" do |c|
|
|
|
545
552
|
|
|
546
553
|
options['Privileged'] = true if Docker.version['Version'] >= '1.10.0'
|
|
547
554
|
options['Links'] = cmd_options[:link] unless cmd_options[:link].empty?
|
|
555
|
+
options['VolumesFrom'] = cmd_options[:'volumes-from'] unless cmd_options[:'volumes-from'].empty?
|
|
548
556
|
|
|
549
557
|
if cmd_options[:kill]
|
|
550
558
|
previous = Docker::Container.get(options['name']) rescue nil
|