deploy-context 2.13.23 → 2.13.25

Sign up to get free protection for your applications and to get access to all the features.
Files changed (51) hide show
  1. checksums.yaml +4 -4
  2. checksums.yaml.gz.sig +0 -0
  3. data/bin/deploy-context +15 -1
  4. data/home/jimboadmin/deploy-context/habitat/plan.sh/x86_64-linux/lib/context-knife-context.rb +26 -0
  5. data/home/jimboadmin/deploy-context/habitat/plan.sh/x86_64-linux/lib/context-manager.rb +100 -0
  6. data/home/jimboadmin/deploy-context/habitat/plan.sh/x86_64-linux/lib/deploy-context/cookbook-studio.rb +72 -0
  7. data/home/jimboadmin/deploy-context/habitat/plan.sh/x86_64-linux/lib/deploy-context/cucumber-studio.rb +45 -0
  8. data/home/jimboadmin/deploy-context/habitat/plan.sh/x86_64-linux/lib/deploy-context/cucumber-suite.rb +201 -0
  9. data/home/jimboadmin/deploy-context/habitat/plan.sh/x86_64-linux/lib/deploy-context/default-studio.rb +172 -0
  10. data/home/jimboadmin/deploy-context/habitat/plan.sh/x86_64-linux/lib/deploy-context/deploy/chef.rb +57 -0
  11. data/home/jimboadmin/deploy-context/habitat/plan.sh/x86_64-linux/lib/deploy-context/deploy/context.rb +42 -0
  12. data/home/jimboadmin/deploy-context/habitat/plan.sh/x86_64-linux/lib/deploy-context/deploy/cookbook.rb +121 -0
  13. data/home/jimboadmin/deploy-context/habitat/plan.sh/x86_64-linux/lib/deploy-context/deploy/cucumber.rb +42 -0
  14. data/home/jimboadmin/deploy-context/habitat/plan.sh/x86_64-linux/lib/deploy-context/deploy/deployer.rb +83 -0
  15. data/home/jimboadmin/deploy-context/habitat/plan.sh/x86_64-linux/lib/deploy-context/deploy/git.rb +62 -0
  16. data/home/jimboadmin/deploy-context/habitat/plan.sh/x86_64-linux/lib/deploy-context/deploy/habitat.rb +112 -0
  17. data/home/jimboadmin/deploy-context/habitat/plan.sh/x86_64-linux/lib/deploy-context/deploy/ruby.rb +138 -0
  18. data/home/jimboadmin/deploy-context/habitat/plan.sh/x86_64-linux/lib/deploy-context/deploy/vagrant.rb +7 -0
  19. data/home/jimboadmin/deploy-context/habitat/plan.sh/x86_64-linux/lib/deploy-context/habitat-studio.rb +50 -0
  20. data/home/jimboadmin/deploy-context/habitat/plan.sh/x86_64-linux/lib/deploy-context/helpers/command.rb +91 -0
  21. data/home/jimboadmin/deploy-context/habitat/plan.sh/x86_64-linux/lib/deploy-context/helpers/gemspec.rb +93 -0
  22. data/home/jimboadmin/deploy-context/habitat/plan.sh/x86_64-linux/lib/deploy-context/helpers/rake_tasks.rb +150 -0
  23. data/home/jimboadmin/deploy-context/habitat/plan.sh/x86_64-linux/lib/deploy-context/knife/default_knife_context.rb +35 -0
  24. data/home/jimboadmin/deploy-context/habitat/plan.sh/x86_64-linux/lib/deploy-context/knife/dummy_knife.rb +43 -0
  25. data/home/jimboadmin/deploy-context/habitat/plan.sh/x86_64-linux/lib/deploy-context/ruby-studio.rb +56 -0
  26. data/home/jimboadmin/deploy-context/habitat/plan.sh/x86_64-linux/lib/deploy-context/steps/cucumber.rb +22 -0
  27. data/home/jimboadmin/deploy-context/habitat/plan.sh/x86_64-linux/lib/deploy-context/steps/deploy.rb +61 -0
  28. data/home/jimboadmin/deploy-context/habitat/plan.sh/x86_64-linux/lib/deploy-context/steps/git.rb +54 -0
  29. data/home/jimboadmin/deploy-context/habitat/plan.sh/x86_64-linux/lib/deploy-context/steps/habitat.rb +67 -0
  30. data/home/jimboadmin/deploy-context/habitat/plan.sh/x86_64-linux/lib/deploy-context/steps/inspec.rb +26 -0
  31. data/home/jimboadmin/deploy-context/habitat/plan.sh/x86_64-linux/lib/deploy-context/steps/kitchen.rb +59 -0
  32. data/home/jimboadmin/deploy-context/habitat/plan.sh/x86_64-linux/lib/deploy-context/steps/knife.rb +43 -0
  33. data/home/jimboadmin/deploy-context/habitat/plan.sh/x86_64-linux/lib/deploy-context/steps/rake.rb +18 -0
  34. data/home/jimboadmin/deploy-context/habitat/plan.sh/x86_64-linux/lib/deploy-context/steps/ruby.rb +14 -0
  35. data/home/jimboadmin/deploy-context/habitat/plan.sh/x86_64-linux/lib/deploy-context/steps/supermarket.rb +14 -0
  36. data/home/jimboadmin/deploy-context/habitat/plan.sh/x86_64-linux/lib/deploy-context/studio/base.rb +167 -0
  37. data/home/jimboadmin/deploy-context/habitat/plan.sh/x86_64-linux/lib/deploy-context/studio/default.rb +38 -0
  38. data/home/jimboadmin/deploy-context/habitat/plan.sh/x86_64-linux/lib/deploy-context/studio/deployer.rb +24 -0
  39. data/home/jimboadmin/deploy-context/habitat/plan.sh/x86_64-linux/lib/deploy-context.rb +65 -0
  40. data/home/jimboadmin/deploy-context/habitat/plan.sh/x86_64-linux/lib/deploy-definitions/deploy-context-cucumber.rb +18 -0
  41. data/home/jimboadmin/deploy-context/habitat/plan.sh/x86_64-linux/lib/deploy-definitions/deploy-context-git.rb +53 -0
  42. data/home/jimboadmin/deploy-context/habitat/plan.sh/x86_64-linux/lib/deploy-definitions/deploy-context-habitat.rb +74 -0
  43. data/home/jimboadmin/deploy-context/habitat/plan.sh/x86_64-linux/lib/deploy-definitions/deploy-context-inspec.rb +29 -0
  44. data/home/jimboadmin/deploy-context/habitat/plan.sh/x86_64-linux/lib/deploy-definitions/deploy-context-kitchen.rb +59 -0
  45. data/home/jimboadmin/deploy-context/habitat/plan.sh/x86_64-linux/lib/deploy-definitions/deploy-context-knife.rb +45 -0
  46. data/home/jimboadmin/deploy-context/habitat/plan.sh/x86_64-linux/lib/deploy-definitions/deploy-context-rake.rb +12 -0
  47. data/home/jimboadmin/deploy-context/habitat/plan.sh/x86_64-linux/lib/deploy-definitions/deploy-context-ruby.rb +10 -0
  48. data/home/jimboadmin/deploy-context/habitat/plan.sh/x86_64-linux/lib/deploy-definitions/deploy-context-supermarket.rb +10 -0
  49. data.tar.gz.sig +0 -0
  50. metadata +47 -2
  51. metadata.gz.sig +0 -0
@@ -0,0 +1,29 @@
1
+
2
+ Étantdonné('l\'inspecteur d\'habitat {word}') do |habitat_name|
3
+ context_suite.habitat_name = habitat_name
4
+ end
5
+
6
+ Alors('install l\'inspecteur d\'habitat {word}') do |habitat_name|
7
+ context_suite.habitat_name = habitat_name
8
+ install_inspector(context_suite)
9
+ end
10
+
11
+ Alors('créer l\'inspecteur d\'habitat {word}') do |habitat_name|
12
+ context_suite.habitat_name = habitat_name
13
+ create_inspector(context_suite)
14
+ end
15
+
16
+ Alors('charge l\'inspecteur d\'habitat {word}') do |habitat_name|
17
+ context_suite.habitat_name = habitat_name
18
+ upload_inspector(context_suite)
19
+ end
20
+
21
+ Alors('inspecter l\'habitat {word}') do |habitat_name|
22
+ context_suite.habitat_name = habitat_name
23
+ inspec_habitat(context_suite)
24
+ end
25
+
26
+ Alors('exécuter l\'inspection {word}') do |habitat_name|
27
+ context_suite.habitat_name = habitat_name
28
+ exec_inspec_habitat(context_suite)
29
+ end
@@ -0,0 +1,59 @@
1
+ # extend Context::Steps::Deploy
2
+
3
+ # deployer = Context::DeployContext.new(File.expand_path(__dir__, '../../'))
4
+
5
+ # define_steps(deployer)
6
+
7
+ Étantdonné('la suite kitchen {word}') do |kitchen_name|
8
+ context_suite.suite_kitchen = kitchen_name
9
+ context_suite.kitchen_name = kitchen_name
10
+ given_kitchen(context_suite)
11
+ end
12
+
13
+ Quand('on initialise le projet') do
14
+ when_intializing(context_suite)
15
+ end
16
+
17
+ Alors('converge la suite kitchen') do
18
+ then_converge(context_suite)
19
+ end
20
+
21
+ Alors('vérify que le tout est OK') do
22
+ then_check_ok(context_suite)
23
+ end
24
+
25
+ Alors('enregistre le statut {word}') do |status|
26
+ update_status(status)
27
+ end
28
+
29
+ Quand('la suite kitchen est détruit') do
30
+ when_destroy_kitchen(context_suite)
31
+ end
32
+
33
+ Quand('la suite kitchen est convergée') do
34
+ when_converge_kitchen(context_suite)
35
+ end
36
+
37
+ Quand('la suite kitchen est vérifié') do
38
+ when_validate_kitchen(context_suite)
39
+ end
40
+
41
+ Quand('la suite kitchen n\'est pas vérifié') do
42
+ when_kitchen_fail(context_suite)
43
+ end
44
+
45
+ Alors('détruire la suite kitchen') do
46
+ then_destroy_kitchen(context_suite)
47
+ end
48
+
49
+ Alors('vérifie la suite kitchen') do
50
+ then_verify_kitchen(context_suite)
51
+ end
52
+
53
+ Alors('test la suite kitchen') do
54
+ then_test_kitchen(context_suite)
55
+ end
56
+
57
+ Alors("nettoyer le fichiers vérouillés") do
58
+ cookbook_clean(self)
59
+ end
@@ -0,0 +1,45 @@
1
+
2
+ Quand('on peut lister les cookbooks') do
3
+ when_list_cookbooks
4
+ end
5
+
6
+ Quand('un couteau {word} est accessible') do |sub_knife|
7
+ when_knife_available(sub_knife)
8
+ end
9
+
10
+ Étantdonnéque('le couteau {word}') do |knife_name|
11
+ context_suite.knife_context = knife_name
12
+ context_suite.knife_name = knife_name
13
+ given_knife(context_suite)
14
+ end
15
+
16
+ Alors('je peux affiché l\'aide du couteau') do
17
+ then_show_help(context_suite)
18
+ end
19
+
20
+ Alors('publier le cookbook {word}') do |cookbook_name|
21
+ then_publish_cookbook(cookbook_name)
22
+ end
23
+
24
+ Alors('autodéployer le cookbook {word}') do |cookbook_name|
25
+ then_deploy_cookbook(cookbook_name)
26
+ end
27
+
28
+ Alors('autopublier le cookbook {word}') do |cookbook_name|
29
+ then_autopublish_cookbook(cookbook_name)
30
+ end
31
+
32
+ Étantdonné('la commande couteau {word}') do |knife_command|
33
+ context_suite.knife_command = knife_command
34
+ end
35
+
36
+ Alors('exécute la commande couteau {word}') do |knife_command|
37
+ context_suite.knife_command = knife_command
38
+ then_execute_knife_command(context_suite)
39
+ end
40
+
41
+ Alors('exécute la sous commande couteau {word} {word}') do |knife_command, sub_knife_command|
42
+ context_suite.knife_command = knife_command
43
+ context_suite.sub_knife_command = sub_knife_command
44
+ then_execute_sub_knife_command(context_suite)
45
+ end
@@ -0,0 +1,12 @@
1
+
2
+ Alors('actionne {word} avec rake') do |rake_action|
3
+ then_do_rake(rake_action)
4
+ end
5
+
6
+ Alors('bump la version') do
7
+ then_bump_version
8
+ end
9
+
10
+ Alors('enregistre la version et la date') do
11
+ then_save_version
12
+ end
@@ -0,0 +1,10 @@
1
+
2
+ Étantdonné('le gem {word}') do |gem_to_install|
3
+ context_suite.gem_to_install = gem_to_install
4
+ given_gem(context_suite)
5
+ end
6
+
7
+ Alors('installer le gem {word}') do |gem_to_install|
8
+ context_suite.gem_to_install = gem_to_install
9
+ then_install_gem(context_suite)
10
+ end
@@ -0,0 +1,10 @@
1
+
2
+ Étantdonné('le cookbook {word}') do |cookbook_to_install|
3
+ context_suite.cookbook_to_install = cookbook_to_install
4
+ given_cookbook(context_suite)
5
+ end
6
+
7
+ Alors('partager le cookbook {word}') do |cookbook_to_install|
8
+ context_suite.cookbook_to_install = cookbook_to_install
9
+ then_install_cookbook(context_suite)
10
+ end
data.tar.gz.sig CHANGED
Binary file
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: deploy-context
3
3
  version: !ruby/object:Gem::Version
4
- version: 2.13.23
4
+ version: 2.13.25
5
5
  platform: ruby
6
6
  authors:
7
7
  - Jimmy Provencher
@@ -33,7 +33,7 @@ cert_chain:
33
33
  n6Pwa3EckU/5n8N6gUJTAmGyu6Ncu1pbsZtH450+BJ2z82JNXomdFYlnG8+1XNlj
34
34
  3M1sBFUHvqrBg2hQkQcLHokmQYrYsRK5A7HrxwKcmwM=
35
35
  -----END CERTIFICATE-----
36
- date: 2023-11-02 00:00:00.000000000 Z
36
+ date: 2023-11-03 00:00:00.000000000 Z
37
37
  dependencies:
38
38
  - !ruby/object:Gem::Dependency
39
39
  name: inspec
@@ -184,6 +184,51 @@ executables:
184
184
  extensions: []
185
185
  extra_rdoc_files: []
186
186
  files:
187
+ - "/home/jimboadmin/deploy-context/habitat/plan.sh/x86_64-linux/lib/context-knife-context.rb"
188
+ - "/home/jimboadmin/deploy-context/habitat/plan.sh/x86_64-linux/lib/context-manager.rb"
189
+ - "/home/jimboadmin/deploy-context/habitat/plan.sh/x86_64-linux/lib/deploy-context.rb"
190
+ - "/home/jimboadmin/deploy-context/habitat/plan.sh/x86_64-linux/lib/deploy-context/cookbook-studio.rb"
191
+ - "/home/jimboadmin/deploy-context/habitat/plan.sh/x86_64-linux/lib/deploy-context/cucumber-studio.rb"
192
+ - "/home/jimboadmin/deploy-context/habitat/plan.sh/x86_64-linux/lib/deploy-context/cucumber-suite.rb"
193
+ - "/home/jimboadmin/deploy-context/habitat/plan.sh/x86_64-linux/lib/deploy-context/default-studio.rb"
194
+ - "/home/jimboadmin/deploy-context/habitat/plan.sh/x86_64-linux/lib/deploy-context/deploy/chef.rb"
195
+ - "/home/jimboadmin/deploy-context/habitat/plan.sh/x86_64-linux/lib/deploy-context/deploy/context.rb"
196
+ - "/home/jimboadmin/deploy-context/habitat/plan.sh/x86_64-linux/lib/deploy-context/deploy/cookbook.rb"
197
+ - "/home/jimboadmin/deploy-context/habitat/plan.sh/x86_64-linux/lib/deploy-context/deploy/cucumber.rb"
198
+ - "/home/jimboadmin/deploy-context/habitat/plan.sh/x86_64-linux/lib/deploy-context/deploy/deployer.rb"
199
+ - "/home/jimboadmin/deploy-context/habitat/plan.sh/x86_64-linux/lib/deploy-context/deploy/git.rb"
200
+ - "/home/jimboadmin/deploy-context/habitat/plan.sh/x86_64-linux/lib/deploy-context/deploy/habitat.rb"
201
+ - "/home/jimboadmin/deploy-context/habitat/plan.sh/x86_64-linux/lib/deploy-context/deploy/ruby.rb"
202
+ - "/home/jimboadmin/deploy-context/habitat/plan.sh/x86_64-linux/lib/deploy-context/deploy/vagrant.rb"
203
+ - "/home/jimboadmin/deploy-context/habitat/plan.sh/x86_64-linux/lib/deploy-context/habitat-studio.rb"
204
+ - "/home/jimboadmin/deploy-context/habitat/plan.sh/x86_64-linux/lib/deploy-context/helpers/command.rb"
205
+ - "/home/jimboadmin/deploy-context/habitat/plan.sh/x86_64-linux/lib/deploy-context/helpers/gemspec.rb"
206
+ - "/home/jimboadmin/deploy-context/habitat/plan.sh/x86_64-linux/lib/deploy-context/helpers/rake_tasks.rb"
207
+ - "/home/jimboadmin/deploy-context/habitat/plan.sh/x86_64-linux/lib/deploy-context/knife/default_knife_context.rb"
208
+ - "/home/jimboadmin/deploy-context/habitat/plan.sh/x86_64-linux/lib/deploy-context/knife/dummy_knife.rb"
209
+ - "/home/jimboadmin/deploy-context/habitat/plan.sh/x86_64-linux/lib/deploy-context/ruby-studio.rb"
210
+ - "/home/jimboadmin/deploy-context/habitat/plan.sh/x86_64-linux/lib/deploy-context/steps/cucumber.rb"
211
+ - "/home/jimboadmin/deploy-context/habitat/plan.sh/x86_64-linux/lib/deploy-context/steps/deploy.rb"
212
+ - "/home/jimboadmin/deploy-context/habitat/plan.sh/x86_64-linux/lib/deploy-context/steps/git.rb"
213
+ - "/home/jimboadmin/deploy-context/habitat/plan.sh/x86_64-linux/lib/deploy-context/steps/habitat.rb"
214
+ - "/home/jimboadmin/deploy-context/habitat/plan.sh/x86_64-linux/lib/deploy-context/steps/inspec.rb"
215
+ - "/home/jimboadmin/deploy-context/habitat/plan.sh/x86_64-linux/lib/deploy-context/steps/kitchen.rb"
216
+ - "/home/jimboadmin/deploy-context/habitat/plan.sh/x86_64-linux/lib/deploy-context/steps/knife.rb"
217
+ - "/home/jimboadmin/deploy-context/habitat/plan.sh/x86_64-linux/lib/deploy-context/steps/rake.rb"
218
+ - "/home/jimboadmin/deploy-context/habitat/plan.sh/x86_64-linux/lib/deploy-context/steps/ruby.rb"
219
+ - "/home/jimboadmin/deploy-context/habitat/plan.sh/x86_64-linux/lib/deploy-context/steps/supermarket.rb"
220
+ - "/home/jimboadmin/deploy-context/habitat/plan.sh/x86_64-linux/lib/deploy-context/studio/base.rb"
221
+ - "/home/jimboadmin/deploy-context/habitat/plan.sh/x86_64-linux/lib/deploy-context/studio/default.rb"
222
+ - "/home/jimboadmin/deploy-context/habitat/plan.sh/x86_64-linux/lib/deploy-context/studio/deployer.rb"
223
+ - "/home/jimboadmin/deploy-context/habitat/plan.sh/x86_64-linux/lib/deploy-definitions/deploy-context-cucumber.rb"
224
+ - "/home/jimboadmin/deploy-context/habitat/plan.sh/x86_64-linux/lib/deploy-definitions/deploy-context-git.rb"
225
+ - "/home/jimboadmin/deploy-context/habitat/plan.sh/x86_64-linux/lib/deploy-definitions/deploy-context-habitat.rb"
226
+ - "/home/jimboadmin/deploy-context/habitat/plan.sh/x86_64-linux/lib/deploy-definitions/deploy-context-inspec.rb"
227
+ - "/home/jimboadmin/deploy-context/habitat/plan.sh/x86_64-linux/lib/deploy-definitions/deploy-context-kitchen.rb"
228
+ - "/home/jimboadmin/deploy-context/habitat/plan.sh/x86_64-linux/lib/deploy-definitions/deploy-context-knife.rb"
229
+ - "/home/jimboadmin/deploy-context/habitat/plan.sh/x86_64-linux/lib/deploy-definitions/deploy-context-rake.rb"
230
+ - "/home/jimboadmin/deploy-context/habitat/plan.sh/x86_64-linux/lib/deploy-definitions/deploy-context-ruby.rb"
231
+ - "/home/jimboadmin/deploy-context/habitat/plan.sh/x86_64-linux/lib/deploy-definitions/deploy-context-supermarket.rb"
187
232
  - bin/deploy-context
188
233
  homepage: https://github.com/JimboDragonGit/deploy-context
189
234
  licenses:
metadata.gz.sig CHANGED
Binary file