deploy-context 0.11.28 → 0.11.31
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- checksums.yaml.gz.sig +0 -0
- data/.kitchen/logs/kitchen.log +29 -0
- data/features/step_definitions/deploy-context.rb +0 -1
- data/lib/deploy-context/deploy/git.rb +5 -1
- data/lib/deploy-context/deploy/ruby.rb +2 -2
- data/lib/deploy-context.rb +2 -2
- data.tar.gz.sig +2 -3
- metadata +2 -1
- metadata.gz.sig +0 -0
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 64a8b261d21ebcb453d998508848a65d59ae0e8b894c91b7232466b6910d6576
|
4
|
+
data.tar.gz: 682c49c82c3c557e0f6f0392fb89b07d880f844bea8f02e5a6ff9c8cf535fd3f
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 37edb9e53a2cbc72ddc926161546f97e1e41ca391f7adc81e4f5116ce4bcec5a480333099278a6b87687d6ae2a0bf625e7f7d560dfed178c8ebf5c427764d17e
|
7
|
+
data.tar.gz: cb3e609a100ad30868b2e5ba5e751ee0229ed00f3c2c222471935528cb2a7dfdf92fc63ee5463de152082b7de9045c3a39746985b6af25349a1f94b47bc52c57
|
checksums.yaml.gz.sig
CHANGED
Binary file
|
@@ -0,0 +1,29 @@
|
|
1
|
+
I, [2023-10-02T21:31:57.009534 #3498591] INFO -- Kitchen: -----> Starting Test Kitchen (v3.3.2)
|
2
|
+
E, [2023-10-02T21:31:57.009777 #3498591] ERROR -- Kitchen: ------Exception-------
|
3
|
+
E, [2023-10-02T21:31:57.009803 #3498591] ERROR -- Kitchen: Class: Kitchen::UserError
|
4
|
+
E, [2023-10-02T21:31:57.009821 #3498591] ERROR -- Kitchen: Message: Kitchen YAML file /home/jimboadmin/deploy-context/kitchen.yml does not exist.
|
5
|
+
E, [2023-10-02T21:31:57.009839 #3498591] ERROR -- Kitchen: ----------------------
|
6
|
+
E, [2023-10-02T21:31:57.009861 #3498591] ERROR -- Kitchen: ------Backtrace-------
|
7
|
+
E, [2023-10-02T21:31:57.009879 #3498591] ERROR -- Kitchen: /opt/chef-workstation/embedded/lib/ruby/gems/3.0.0/gems/test-kitchen-3.3.2/lib/kitchen/loader/yaml.rb:65:in `read'
|
8
|
+
E, [2023-10-02T21:31:57.009897 #3498591] ERROR -- Kitchen: /opt/chef-workstation/embedded/lib/ruby/gems/3.0.0/gems/test-kitchen-3.3.2/lib/kitchen/config.rb:153:in `data'
|
9
|
+
E, [2023-10-02T21:31:57.009914 #3498591] ERROR -- Kitchen: /opt/chef-workstation/embedded/lib/ruby/gems/3.0.0/gems/test-kitchen-3.3.2/lib/kitchen/config.rb:131:in `suites'
|
10
|
+
E, [2023-10-02T21:31:57.009931 #3498591] ERROR -- Kitchen: /opt/chef-workstation/embedded/lib/ruby/gems/3.0.0/gems/test-kitchen-3.3.2/lib/kitchen/config.rb:183:in `filter_instances'
|
11
|
+
E, [2023-10-02T21:31:57.009948 #3498591] ERROR -- Kitchen: /opt/chef-workstation/embedded/lib/ruby/gems/3.0.0/gems/test-kitchen-3.3.2/lib/kitchen/config.rb:142:in `build_instances'
|
12
|
+
E, [2023-10-02T21:31:57.009964 #3498591] ERROR -- Kitchen: /opt/chef-workstation/embedded/lib/ruby/gems/3.0.0/gems/test-kitchen-3.3.2/lib/kitchen/config.rb:116:in `instances'
|
13
|
+
E, [2023-10-02T21:31:57.009995 #3498591] ERROR -- Kitchen: /opt/chef-workstation/embedded/lib/ruby/gems/3.0.0/gems/test-kitchen-3.3.2/lib/kitchen/command.rb:109:in `filtered_instances'
|
14
|
+
E, [2023-10-02T21:31:57.010012 #3498591] ERROR -- Kitchen: /opt/chef-workstation/embedded/lib/ruby/gems/3.0.0/gems/test-kitchen-3.3.2/lib/kitchen/command.rb:139:in `parse_subcommand'
|
15
|
+
E, [2023-10-02T21:31:57.010029 #3498591] ERROR -- Kitchen: /opt/chef-workstation/embedded/lib/ruby/gems/3.0.0/gems/test-kitchen-3.3.2/lib/kitchen/command/action.rb:34:in `block in call'
|
16
|
+
E, [2023-10-02T21:31:57.010049 #3498591] ERROR -- Kitchen: /opt/chef-workstation/embedded/lib/ruby/3.0.0/benchmark.rb:293:in `measure'
|
17
|
+
E, [2023-10-02T21:31:57.010067 #3498591] ERROR -- Kitchen: /opt/chef-workstation/embedded/lib/ruby/gems/3.0.0/gems/test-kitchen-3.3.2/lib/kitchen/command/action.rb:33:in `call'
|
18
|
+
E, [2023-10-02T21:31:57.010083 #3498591] ERROR -- Kitchen: /opt/chef-workstation/embedded/lib/ruby/gems/3.0.0/gems/test-kitchen-3.3.2/lib/kitchen/cli.rb:52:in `perform'
|
19
|
+
E, [2023-10-02T21:31:57.010100 #3498591] ERROR -- Kitchen: /opt/chef-workstation/embedded/lib/ruby/gems/3.0.0/gems/test-kitchen-3.3.2/lib/kitchen/cli.rb:198:in `block (2 levels) in <class:CLI>'
|
20
|
+
E, [2023-10-02T21:31:57.010116 #3498591] ERROR -- Kitchen: /opt/chef-workstation/embedded/lib/ruby/gems/3.0.0/gems/thor-1.2.1/lib/thor/command.rb:27:in `run'
|
21
|
+
E, [2023-10-02T21:31:57.010133 #3498591] ERROR -- Kitchen: /opt/chef-workstation/embedded/lib/ruby/gems/3.0.0/gems/thor-1.2.1/lib/thor/invocation.rb:127:in `invoke_command'
|
22
|
+
E, [2023-10-02T21:31:57.010149 #3498591] ERROR -- Kitchen: /opt/chef-workstation/embedded/lib/ruby/gems/3.0.0/gems/thor-1.2.1/lib/thor.rb:392:in `dispatch'
|
23
|
+
E, [2023-10-02T21:31:57.010166 #3498591] ERROR -- Kitchen: /opt/chef-workstation/embedded/lib/ruby/gems/3.0.0/gems/thor-1.2.1/lib/thor/base.rb:485:in `start'
|
24
|
+
E, [2023-10-02T21:31:57.010183 #3498591] ERROR -- Kitchen: /opt/chef-workstation/embedded/lib/ruby/gems/3.0.0/gems/test-kitchen-3.3.2/bin/kitchen:11:in `block in <top (required)>'
|
25
|
+
E, [2023-10-02T21:31:57.010199 #3498591] ERROR -- Kitchen: /opt/chef-workstation/embedded/lib/ruby/gems/3.0.0/gems/test-kitchen-3.3.2/lib/kitchen/errors.rb:183:in `with_friendly_errors'
|
26
|
+
E, [2023-10-02T21:31:57.010216 #3498591] ERROR -- Kitchen: /opt/chef-workstation/embedded/lib/ruby/gems/3.0.0/gems/test-kitchen-3.3.2/bin/kitchen:11:in `<top (required)>'
|
27
|
+
E, [2023-10-02T21:31:57.010233 #3498591] ERROR -- Kitchen: /opt/chef-workstation/bin/kitchen:389:in `load'
|
28
|
+
E, [2023-10-02T21:31:57.010256 #3498591] ERROR -- Kitchen: /opt/chef-workstation/bin/kitchen:389:in `<main>'
|
29
|
+
E, [2023-10-02T21:31:57.010275 #3498591] ERROR -- Kitchen: ----End Backtrace-----
|
@@ -3,7 +3,11 @@ module Context
|
|
3
3
|
def git_build(context)
|
4
4
|
Dir.chdir File.dirname(context.context_folder)
|
5
5
|
puts "Building ruby from folder #{context.context_folder}"
|
6
|
-
|
6
|
+
if ::Dir.exist?(context.context_folder)
|
7
|
+
git ['pull']
|
8
|
+
else
|
9
|
+
git ["clone git@github.com:JimboDragonGit/#{context.context_name}.git"] unless ::Dir.exist?(context.context_folder)
|
10
|
+
end
|
7
11
|
end
|
8
12
|
|
9
13
|
def git_commit(context)
|
@@ -46,11 +46,11 @@ module Context
|
|
46
46
|
context.wait_until_release_available
|
47
47
|
context.install
|
48
48
|
if context.test_context_successful?
|
49
|
-
puts "newer version installed successfully for #{context_name} and version #{
|
49
|
+
puts "newer version installed successfully for #{context.context_name} and version #{context.version}"
|
50
50
|
context.patch_bump
|
51
51
|
# patch_reset(context)
|
52
52
|
else
|
53
|
-
puts "newer version not installed for #{context_name} and version #{
|
53
|
+
puts "newer version not installed for #{context.context_name} and version #{context.version}"
|
54
54
|
exit 1
|
55
55
|
end
|
56
56
|
end
|
data/lib/deploy-context.rb
CHANGED
@@ -23,8 +23,8 @@ module Context
|
|
23
23
|
end
|
24
24
|
|
25
25
|
def test_context_successful?
|
26
|
-
puts "Check if deploy-context is install #{
|
27
|
-
deploy_context_installed = `chef exec gem list deploy-context --local -i --version #{
|
26
|
+
puts "Check if deploy-context is install #{version}"
|
27
|
+
deploy_context_installed = `chef exec gem list deploy-context --local -i --version #{version}`.strip
|
28
28
|
puts "deploy_context_installed = #{deploy_context_installed}"
|
29
29
|
case deploy_context_installed
|
30
30
|
when 'true'
|
data.tar.gz.sig
CHANGED
@@ -1,3 +1,2 @@
|
|
1
|
-
|
2
|
-
|
3
|
-
��_�r_�u��j���yZ�iQ��L&�.����c�a�ے��bf�N���y�\>WiD
|
1
|
+
x�n��<�5������������R�ϋS@�S����oG/Xdۉ���3~A�3�@�
|
2
|
+
%���1� ���2$�>,'/Y����=z7(���������}�4�%�A�~�\!�,�?A�LF��/+sNJ�ϕ��I�1��#Yז"�+���S��k�����Ӝ�ac�3�gj;���IA�D�a+��@��L��W����&>�Ms!Ѯо���a��o8�f������kt����b&�ba�`�J�����Կ�q�
|
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: 0.11.
|
4
|
+
version: 0.11.31
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Jimmy Provencher
|
@@ -91,6 +91,7 @@ extra_rdoc_files:
|
|
91
91
|
- LICENSE
|
92
92
|
files:
|
93
93
|
- ".gitignore"
|
94
|
+
- ".kitchen/logs/kitchen.log"
|
94
95
|
- Gemfile
|
95
96
|
- LICENSE
|
96
97
|
- README.md
|
metadata.gz.sig
CHANGED
Binary file
|