sambot 0.1.199 → 0.1.200

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: 7333cdb7c31596b83caafb7c4a60e1c6528aed04
4
- data.tar.gz: e285ce5156fafa224d626001c29ed51a0893dfc3
3
+ metadata.gz: 15bbab7b4920f13a9f78e92ee063d8d11900c672
4
+ data.tar.gz: a75416f77ed5a0454b56bb8b3878204abd82d4fd
5
5
  SHA512:
6
- metadata.gz: 927b699a146c0a0a88800b503ee629217e3fef061eadb8db8e0cbcf0e4f8f013902a7c24d3bd83c7d8d04bcc50635354598d51c41861afc6492c685e23d1123c
7
- data.tar.gz: 65550c00c63f6c32501663f3a06ee2312ccf705545dbcf84b09438f1492bcebc84f47893c1923b4861010f02aefec4a982249c725f8ebb4b80b137ef6a6810af
6
+ metadata.gz: e071d7320a12a580dab585399fbc02a75576c08272235837014d7c89dfcaa10703044f7bda1405e2f87eac1c3c73765f146de5c55cad2bd872c933e3e3835b6d
7
+ data.tar.gz: 6ea2e1ba0fe0bece64690f20e3041e6ed3c252f8af3d86f17c2723e0ab53fe7ccaf0a0a26dbee5de4f59552e6e40697832ddc08e3f197ec24291b05cbb12a46f
data/lib/sambot/cli.rb CHANGED
@@ -14,7 +14,7 @@ module Sambot
14
14
  def up
15
15
  execute do
16
16
  `docker-compose -p chef up -d`
17
- `chef exec sambot populate`
17
+ populate_cmd
18
18
  end
19
19
  end
20
20
 
@@ -29,7 +29,7 @@ module Sambot
29
29
  def test
30
30
  execute do
31
31
  `docker-compose -p chef up -d`
32
- `chef exec sambot populate`
32
+ populate_cmd
33
33
  `docker-compose down`
34
34
  end
35
35
  end
@@ -37,12 +37,16 @@ module Sambot
37
37
  desc 'populate', 'Populates Vault and Consul with seed data'
38
38
  def populate
39
39
  execute do
40
- Sambot::Testing::VaultHelper.setup
41
- Sambot::Testing::VaultHelper.load_secrets(Config.read)
42
- Sambot::Testing::ConsulHelper.load_values(Config.read)
40
+ populate_cmd
43
41
  end
44
42
  end
45
43
 
44
+ def populate_cmd
45
+ Sambot::Testing::VaultHelper.setup
46
+ Sambot::Testing::VaultHelper.load_secrets(Config.read)
47
+ Sambot::Testing::ConsulHelper.load_values(Config.read)
48
+ end
49
+
46
50
  desc 'bump', 'Bump the patch version of a cookbook'
47
51
  def bump
48
52
  execute { Chef::Cookbook.bump }
@@ -1,5 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module Sambot
4
- VERSION = '0.1.199'
4
+ VERSION = '0.1.200'
5
5
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: sambot
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.199
4
+ version: 0.1.200
5
5
  platform: ruby
6
6
  authors:
7
7
  - Olivier Kouame