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 +4 -4
- data/lib/sambot/cli.rb +9 -5
- data/lib/sambot/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: 15bbab7b4920f13a9f78e92ee063d8d11900c672
|
4
|
+
data.tar.gz: a75416f77ed5a0454b56bb8b3878204abd82d4fd
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
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
|
-
|
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
|
-
|
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
|
-
|
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 }
|
data/lib/sambot/version.rb
CHANGED