deploy-context 2.1.35.3.g2abab85.16.g399fb24.9.g1523b69.8.ga24e5ef → 2.1.37.6.gec1e116.4.g6190201
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 +208 -235
- data/libraries/deploy-context/deploy/cookbook.rb +1 -1
- data/libraries/deploy-context/deploy/deployer.rb +22 -4
- data/libraries/deploy-context/deploy/vagrant.rb +7 -0
- data/libraries/deploy-context/helpers/rake_tasks.rb +6 -2
- data/libraries/deploy-context/step_definitions/deploy-context.rb +2 -2
- data/recipes/default.rb +1 -1
- data.tar.gz.sig +0 -0
- metadata +2 -3
- metadata.gz.sig +0 -0
- data/deploy-context.feature.disable +0 -22
- data/deploy-context.old +0 -46
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 52ca90ca27010c3297aab6e81de24e25166c7d93de9324c963404e055b3a03b3
|
4
|
+
data.tar.gz: 3cbd394aca5d6e2684f908be42553abf4987543561a3434af7d8742ac9a44e65
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: c17f9f31c146fd779bf0ece58c77d9591798d68107591bff84b5a4a50eecfe62dd9789e0008ab1f6ca1b8a3803182b44f4fe17bfe542560041dfa89969d3d99c
|
7
|
+
data.tar.gz: 1253955b4bf6ad3e282fdbb20bc0616d9ff59f6d4f7757bae80628598ea55bf5f3122410233755b6abd2a7568b0abc50671773be3dc5175b5b876637dc6715cf
|
checksums.yaml.gz.sig
CHANGED
Binary file
|
data/.kitchen/logs/kitchen.log
CHANGED
@@ -1,36 +1,17 @@
|
|
1
|
-
I, [2023-10-
|
2
|
-
I, [2023-10-
|
3
|
-
I, [2023-10-
|
4
|
-
I, [2023-10-
|
5
|
-
I, [2023-10-
|
6
|
-
I, [2023-10-
|
7
|
-
I, [2023-10-
|
8
|
-
I, [2023-10-
|
9
|
-
I, [2023-10-
|
10
|
-
I, [2023-10-
|
11
|
-
|
12
|
-
E, [2023-10-
|
13
|
-
E, [2023-10-
|
14
|
-
|
15
|
-
---- Begin output of vagrant up --no-provision --provider virtualbox ----
|
16
|
-
STDOUT: Bringing machine 'default' up with 'virtualbox' provider...
|
17
|
-
==> default: Importing base box 'bento/ubuntu-20.04'...
|
18
|
-
|
19
|
-
STDERR: There was an error while executing `VBoxManage`, a CLI used by Vagrant
|
20
|
-
for controlling VirtualBox. The command and stderr is shown below.
|
21
|
-
|
22
|
-
Command: ["import", "/home/jimboadmin/.vagrant.d/boxes/bento-VAGRANTSLASH-ubuntu-20.04/202206.03.0/virtualbox/box.ovf", "--vsys", "0", "--vmname", "ubuntu-20.04-amd64_1696451197780_55174", "--vsys", "0", "--unit", "11", "--disk", "/home/jimboadmin/VirtualBox VMs/ubuntu-20.04-amd64_1696451197780_55174/ubuntu-20.04-amd64-disk001.vmdk"]
|
23
|
-
|
24
|
-
Stderr: 0%...10%...20%...30%...40%...50%...60%...70%...80%...90%...100%
|
25
|
-
Interpreting /home/jimboadmin/.vagrant.d/boxes/bento-VAGRANTSLASH-ubuntu-20.04/202206.03.0/virtualbox/box.ovf...
|
26
|
-
OK.
|
27
|
-
0%...
|
28
|
-
Progress state: NS_ERROR_INVALID_ARG
|
29
|
-
VBoxManage: error: Appliance import failed
|
30
|
-
VBoxManage: error: Code NS_ERROR_INVALID_ARG (0x80070057) - Invalid argument value (extended info not available)
|
31
|
-
VBoxManage: error: Context: "RTEXITCODE handleImportAppliance(HandlerArg*)" at line 1363 of file VBoxManageAppliance.cpp
|
32
|
-
---- End output of vagrant up --no-provision --provider virtualbox ----
|
33
|
-
Ran vagrant up --no-provision --provider virtualbox returned 1] on default-ubuntu-2004
|
1
|
+
I, [2023-10-04T17:12:01.200431 #706052] INFO -- Kitchen: -----> Starting Test Kitchen (v3.3.2)
|
2
|
+
I, [2023-10-04T17:12:02.182997 #706052] INFO -- Kitchen: -----> Cleaning up any prior instances of <default-ubuntu-2004>
|
3
|
+
I, [2023-10-04T17:12:02.183492 #706052] INFO -- Kitchen: -----> Destroying <default-ubuntu-2004>...
|
4
|
+
I, [2023-10-04T17:12:02.184394 #706052] INFO -- Kitchen: -----> Testing <default-ubuntu-2004>
|
5
|
+
I, [2023-10-04T17:12:02.184511 #706052] INFO -- Kitchen: -----> Creating <default-ubuntu-2004>...
|
6
|
+
I, [2023-10-04T17:14:03.504576 #706052] INFO -- Kitchen: -----> Converging <default-ubuntu-2004>...
|
7
|
+
I, [2023-10-04T17:14:04.662667 #706052] INFO -- Kitchen: -----> Cleaning up any prior instances of <default-centos-8>
|
8
|
+
I, [2023-10-04T17:14:04.663650 #706052] INFO -- Kitchen: -----> Destroying <default-centos-8>...
|
9
|
+
I, [2023-10-04T17:14:10.145794 #706052] INFO -- Kitchen: -----> Testing <default-centos-8>
|
10
|
+
I, [2023-10-04T17:14:10.146012 #706052] INFO -- Kitchen: -----> Creating <default-centos-8>...
|
11
|
+
I, [2023-10-04T17:15:00.026326 #706052] INFO -- Kitchen: -----> Converging <default-centos-8>...
|
12
|
+
E, [2023-10-04T17:15:01.064676 #706052] ERROR -- Kitchen: ------Exception-------
|
13
|
+
E, [2023-10-04T17:15:01.064721 #706052] ERROR -- Kitchen: Class: Kitchen::ActionFailed
|
14
|
+
E, [2023-10-04T17:15:01.064765 #706052] ERROR -- Kitchen: Message: 2 actions failed.
|
34
15
|
>>>>>> Failed to complete #converge action: [Expected process to exit with [0], but received '1'
|
35
16
|
---- Begin output of /opt/chef-workstation/bin/chef-cli install /home/jimboadmin/deploy-context/Policyfile.rb --chef-license accept ----
|
36
17
|
STDOUT: Building policy deploy-context
|
@@ -38,223 +19,215 @@ Expanded run list: recipe[deploy-context::default]
|
|
38
19
|
Caching Cookbooks...
|
39
20
|
Installing deploy-context >= 0.0.0 from path
|
40
21
|
STDERR: Error: Failed to generate Policyfile.lock
|
41
|
-
Reason: (Chef::Exceptions::InvalidCookbookVersion) '2.1.
|
22
|
+
Reason: (Chef::Exceptions::InvalidCookbookVersion) '2.1.37.6.gec1e116.2.g5c62611.1.dirty.20231004.171404' does not match 'x.y.z' or 'x.y'
|
23
|
+
---- End output of /opt/chef-workstation/bin/chef-cli install /home/jimboadmin/deploy-context/Policyfile.rb --chef-license accept ----
|
24
|
+
Ran /opt/chef-workstation/bin/chef-cli install /home/jimboadmin/deploy-context/Policyfile.rb --chef-license accept returned 1] on default-ubuntu-2004
|
25
|
+
>>>>>> Failed to complete #converge action: [Expected process to exit with [0], but received '1'
|
26
|
+
---- Begin output of /opt/chef-workstation/bin/chef-cli install /home/jimboadmin/deploy-context/Policyfile.rb --chef-license accept ----
|
27
|
+
STDOUT: Building policy deploy-context
|
28
|
+
Expanded run list: recipe[deploy-context::default]
|
29
|
+
Caching Cookbooks...
|
30
|
+
Installing deploy-context >= 0.0.0 from path
|
31
|
+
STDERR: Error: Failed to generate Policyfile.lock
|
32
|
+
Reason: (Chef::Exceptions::InvalidCookbookVersion) '2.1.37.6.gec1e116.2.g5c62611.1.dirty.20231004.171501' does not match 'x.y.z' or 'x.y'
|
42
33
|
---- End output of /opt/chef-workstation/bin/chef-cli install /home/jimboadmin/deploy-context/Policyfile.rb --chef-license accept ----
|
43
34
|
Ran /opt/chef-workstation/bin/chef-cli install /home/jimboadmin/deploy-context/Policyfile.rb --chef-license accept returned 1] on default-centos-8
|
44
|
-
E, [2023-10-
|
45
|
-
E, [2023-10-
|
46
|
-
E, [2023-10-
|
47
|
-
E, [2023-10-
|
48
|
-
E, [2023-10-
|
49
|
-
E, [2023-10-
|
50
|
-
E, [2023-10-
|
51
|
-
E, [2023-10-
|
52
|
-
E, [2023-10-
|
53
|
-
E, [2023-10-
|
54
|
-
E, [2023-10-
|
55
|
-
E, [2023-10-
|
56
|
-
E, [2023-10-
|
57
|
-
E, [2023-10-
|
58
|
-
E, [2023-10-
|
59
|
-
E, [2023-10-
|
60
|
-
E, [2023-10-
|
61
|
-
E, [2023-10-
|
62
|
-
E, [2023-10-
|
63
|
-
E, [2023-10-
|
64
|
-
E, [2023-10-
|
65
|
-
E, [2023-10-
|
66
|
-
---- Begin output of
|
67
|
-
STDOUT:
|
68
|
-
|
69
|
-
|
70
|
-
|
71
|
-
|
72
|
-
|
73
|
-
|
74
|
-
|
75
|
-
|
76
|
-
|
77
|
-
|
78
|
-
0
|
79
|
-
|
80
|
-
|
81
|
-
|
82
|
-
|
83
|
-
|
84
|
-
|
85
|
-
E, [2023-10-
|
86
|
-
E, [2023-10-
|
87
|
-
E, [2023-10-
|
88
|
-
E, [2023-10-
|
89
|
-
E, [2023-10-
|
90
|
-
E, [2023-10-
|
91
|
-
E, [2023-10-
|
92
|
-
E, [2023-10-
|
93
|
-
E, [2023-10-
|
94
|
-
E, [2023-10-
|
95
|
-
E, [2023-10-
|
96
|
-
E, [2023-10-
|
97
|
-
E, [2023-10-
|
98
|
-
E, [2023-10-
|
99
|
-
E, [2023-10-
|
100
|
-
E, [2023-10-
|
101
|
-
E, [2023-10-
|
102
|
-
E, [2023-10-
|
103
|
-
E, [2023-10-
|
104
|
-
E, [2023-10-
|
105
|
-
E, [2023-10-
|
106
|
-
E, [2023-10-
|
107
|
-
E, [2023-10-
|
108
|
-
E, [2023-10-
|
109
|
-
E, [2023-10-
|
110
|
-
E, [2023-10-
|
111
|
-
|
112
|
-
|
113
|
-
|
114
|
-
|
115
|
-
|
116
|
-
|
117
|
-
|
118
|
-
|
119
|
-
|
120
|
-
|
121
|
-
|
122
|
-
|
123
|
-
|
124
|
-
|
125
|
-
|
126
|
-
|
127
|
-
|
128
|
-
|
129
|
-
|
130
|
-
|
131
|
-
|
132
|
-
0
|
133
|
-
|
134
|
-
|
135
|
-
|
136
|
-
|
137
|
-
|
138
|
-
|
139
|
-
E, [2023-10-
|
140
|
-
E, [2023-10-
|
141
|
-
E, [2023-10-
|
142
|
-
E, [2023-10-
|
143
|
-
E, [2023-10-
|
144
|
-
E, [2023-10-
|
145
|
-
E, [2023-10-
|
146
|
-
E, [2023-10-
|
147
|
-
E, [2023-10-
|
148
|
-
E, [2023-10-
|
149
|
-
E, [2023-10-
|
150
|
-
E, [2023-10-
|
151
|
-
E, [2023-10-
|
152
|
-
E, [2023-10-
|
153
|
-
E, [2023-10-
|
154
|
-
E, [2023-10-
|
155
|
-
E, [2023-10-
|
156
|
-
E, [2023-10-04T16:28:07.783198 #657561] ERROR -- Kitchen: /opt/chef-workstation/embedded/lib/ruby/gems/3.0.0/gems/test-kitchen-3.3.2/lib/kitchen/instance.rb:404:in `create_action'
|
157
|
-
E, [2023-10-04T16:28:07.783230 #657561] ERROR -- Kitchen: /opt/chef-workstation/embedded/lib/ruby/gems/3.0.0/gems/test-kitchen-3.3.2/lib/kitchen/instance.rb:392:in `block (2 levels) in transition_to'
|
158
|
-
E, [2023-10-04T16:28:07.783266 #657561] ERROR -- Kitchen: /opt/chef-workstation/embedded/lib/ruby/gems/3.0.0/gems/test-kitchen-3.3.2/lib/kitchen/lifecycle_hooks.rb:47:in `run_with_hooks'
|
159
|
-
E, [2023-10-04T16:28:07.783308 #657561] ERROR -- Kitchen: /opt/chef-workstation/embedded/lib/ruby/gems/3.0.0/gems/test-kitchen-3.3.2/lib/kitchen/instance.rb:391:in `block in transition_to'
|
160
|
-
E, [2023-10-04T16:28:07.783341 #657561] ERROR -- Kitchen: /opt/chef-workstation/embedded/lib/ruby/gems/3.0.0/gems/test-kitchen-3.3.2/lib/kitchen/instance.rb:390:in `each'
|
161
|
-
E, [2023-10-04T16:28:07.783373 #657561] ERROR -- Kitchen: /opt/chef-workstation/embedded/lib/ruby/gems/3.0.0/gems/test-kitchen-3.3.2/lib/kitchen/instance.rb:390:in `transition_to'
|
162
|
-
E, [2023-10-04T16:28:07.783395 #657561] ERROR -- Kitchen: /opt/chef-workstation/embedded/lib/ruby/gems/3.0.0/gems/test-kitchen-3.3.2/lib/kitchen/instance.rb:161:in `verify'
|
163
|
-
E, [2023-10-04T16:28:07.783424 #657561] ERROR -- Kitchen: /opt/chef-workstation/embedded/lib/ruby/gems/3.0.0/gems/test-kitchen-3.3.2/lib/kitchen/instance.rb:190:in `block in test'
|
164
|
-
E, [2023-10-04T16:28:07.783455 #657561] ERROR -- Kitchen: /opt/chef-workstation/embedded/lib/ruby/3.0.0/benchmark.rb:293:in `measure'
|
165
|
-
E, [2023-10-04T16:28:07.783479 #657561] ERROR -- Kitchen: /opt/chef-workstation/embedded/lib/ruby/gems/3.0.0/gems/test-kitchen-3.3.2/lib/kitchen/instance.rb:186:in `test'
|
166
|
-
E, [2023-10-04T16:28:07.783504 #657561] ERROR -- Kitchen: /opt/chef-workstation/embedded/lib/ruby/gems/3.0.0/gems/test-kitchen-3.3.2/lib/kitchen/command.rb:195:in `public_send'
|
167
|
-
E, [2023-10-04T16:28:07.783530 #657561] ERROR -- Kitchen: /opt/chef-workstation/embedded/lib/ruby/gems/3.0.0/gems/test-kitchen-3.3.2/lib/kitchen/command.rb:195:in `run_action_in_thread'
|
168
|
-
E, [2023-10-04T16:28:07.783554 #657561] ERROR -- Kitchen: /opt/chef-workstation/embedded/lib/ruby/gems/3.0.0/gems/test-kitchen-3.3.2/lib/kitchen/command.rb:166:in `block (2 levels) in run_action'
|
169
|
-
E, [2023-10-04T16:28:07.783578 #657561] ERROR -- Kitchen: /opt/chef-workstation/embedded/lib/ruby/gems/3.0.0/gems/logging-2.3.1/lib/logging/diagnostic_context.rb:474:in `block in create_with_logging_context'
|
170
|
-
E, [2023-10-04T16:28:07.783608 #657561] ERROR -- Kitchen: ----End Backtrace-----
|
171
|
-
E, [2023-10-04T16:28:07.783633 #657561] ERROR -- Kitchen: -Composite Exception--
|
172
|
-
E, [2023-10-04T16:28:07.783656 #657561] ERROR -- Kitchen: Class: Kitchen::ActionFailed
|
173
|
-
E, [2023-10-04T16:28:07.783683 #657561] ERROR -- Kitchen: Message: Failed to complete #converge action: [Expected process to exit with [0], but received '1'
|
35
|
+
E, [2023-10-04T17:15:01.064817 #706052] ERROR -- Kitchen: ----------------------
|
36
|
+
E, [2023-10-04T17:15:01.064855 #706052] ERROR -- Kitchen: ------Backtrace-------
|
37
|
+
E, [2023-10-04T17:15:01.064888 #706052] ERROR -- Kitchen: /opt/chef-workstation/embedded/lib/ruby/gems/3.0.0/gems/test-kitchen-3.3.2/lib/kitchen/command.rb:181:in `report_errors'
|
38
|
+
E, [2023-10-04T17:15:01.064933 #706052] ERROR -- Kitchen: /opt/chef-workstation/embedded/lib/ruby/gems/3.0.0/gems/test-kitchen-3.3.2/lib/kitchen/command.rb:172:in `run_action'
|
39
|
+
E, [2023-10-04T17:15:01.064969 #706052] ERROR -- Kitchen: /opt/chef-workstation/embedded/lib/ruby/gems/3.0.0/gems/test-kitchen-3.3.2/lib/kitchen/command/test.rb:41:in `block in call'
|
40
|
+
E, [2023-10-04T17:15:01.065002 #706052] ERROR -- Kitchen: /opt/chef-workstation/embedded/lib/ruby/3.0.0/benchmark.rb:293:in `measure'
|
41
|
+
E, [2023-10-04T17:15:01.065037 #706052] ERROR -- Kitchen: /opt/chef-workstation/embedded/lib/ruby/gems/3.0.0/gems/test-kitchen-3.3.2/lib/kitchen/command/test.rb:37:in `call'
|
42
|
+
E, [2023-10-04T17:15:01.065081 #706052] 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'
|
43
|
+
E, [2023-10-04T17:15:01.065117 #706052] ERROR -- Kitchen: /opt/chef-workstation/embedded/lib/ruby/gems/3.0.0/gems/test-kitchen-3.3.2/lib/kitchen/cli.rb:250:in `test'
|
44
|
+
E, [2023-10-04T17:15:01.065150 #706052] ERROR -- Kitchen: /opt/chef-workstation/embedded/lib/ruby/gems/3.0.0/gems/thor-1.2.1/lib/thor/command.rb:27:in `run'
|
45
|
+
E, [2023-10-04T17:15:01.065184 #706052] 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'
|
46
|
+
E, [2023-10-04T17:15:01.065213 #706052] ERROR -- Kitchen: /opt/chef-workstation/embedded/lib/ruby/gems/3.0.0/gems/thor-1.2.1/lib/thor.rb:392:in `dispatch'
|
47
|
+
E, [2023-10-04T17:15:01.065237 #706052] ERROR -- Kitchen: /opt/chef-workstation/embedded/lib/ruby/gems/3.0.0/gems/thor-1.2.1/lib/thor/base.rb:485:in `start'
|
48
|
+
E, [2023-10-04T17:15:01.065261 #706052] 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)>'
|
49
|
+
E, [2023-10-04T17:15:01.065291 #706052] 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'
|
50
|
+
E, [2023-10-04T17:15:01.065315 #706052] ERROR -- Kitchen: /opt/chef-workstation/embedded/lib/ruby/gems/3.0.0/gems/test-kitchen-3.3.2/bin/kitchen:11:in `<top (required)>'
|
51
|
+
E, [2023-10-04T17:15:01.065340 #706052] ERROR -- Kitchen: /opt/chef-workstation/bin/kitchen:389:in `load'
|
52
|
+
E, [2023-10-04T17:15:01.065363 #706052] ERROR -- Kitchen: /opt/chef-workstation/bin/kitchen:389:in `<main>'
|
53
|
+
E, [2023-10-04T17:15:01.065385 #706052] ERROR -- Kitchen: ----End Backtrace-----
|
54
|
+
E, [2023-10-04T17:15:01.065409 #706052] ERROR -- Kitchen: -Composite Exception--
|
55
|
+
E, [2023-10-04T17:15:01.065432 #706052] ERROR -- Kitchen: Class: Kitchen::ActionFailed
|
56
|
+
E, [2023-10-04T17:15:01.065455 #706052] ERROR -- Kitchen: Message: Failed to complete #converge action: [Expected process to exit with [0], but received '1'
|
57
|
+
---- Begin output of /opt/chef-workstation/bin/chef-cli install /home/jimboadmin/deploy-context/Policyfile.rb --chef-license accept ----
|
58
|
+
STDOUT: Building policy deploy-context
|
59
|
+
Expanded run list: recipe[deploy-context::default]
|
60
|
+
Caching Cookbooks...
|
61
|
+
Installing deploy-context >= 0.0.0 from path
|
62
|
+
STDERR: Error: Failed to generate Policyfile.lock
|
63
|
+
Reason: (Chef::Exceptions::InvalidCookbookVersion) '2.1.37.6.gec1e116.2.g5c62611.1.dirty.20231004.171404' does not match 'x.y.z' or 'x.y'
|
64
|
+
---- End output of /opt/chef-workstation/bin/chef-cli install /home/jimboadmin/deploy-context/Policyfile.rb --chef-license accept ----
|
65
|
+
Ran /opt/chef-workstation/bin/chef-cli install /home/jimboadmin/deploy-context/Policyfile.rb --chef-license accept returned 1] on default-ubuntu-2004
|
66
|
+
E, [2023-10-04T17:15:01.065479 #706052] ERROR -- Kitchen: ----------------------
|
67
|
+
E, [2023-10-04T17:15:01.065502 #706052] ERROR -- Kitchen: ------Backtrace-------
|
68
|
+
E, [2023-10-04T17:15:01.065524 #706052] ERROR -- Kitchen: /opt/chef-workstation/embedded/lib/ruby/gems/3.0.0/gems/test-kitchen-3.3.2/lib/kitchen/shell_out.rb:70:in `rescue in run_command'
|
69
|
+
E, [2023-10-04T17:15:01.065548 #706052] ERROR -- Kitchen: /opt/chef-workstation/embedded/lib/ruby/gems/3.0.0/gems/test-kitchen-3.3.2/lib/kitchen/shell_out.rb:57:in `run_command'
|
70
|
+
E, [2023-10-04T17:15:01.065573 #706052] ERROR -- Kitchen: /opt/chef-workstation/embedded/lib/ruby/gems/3.0.0/gems/test-kitchen-3.3.2/lib/kitchen/provisioner/chef/policyfile.rb:81:in `compile'
|
71
|
+
E, [2023-10-04T17:15:01.065612 #706052] ERROR -- Kitchen: /opt/chef-workstation/embedded/lib/ruby/gems/3.0.0/gems/test-kitchen-3.3.2/lib/kitchen/provisioner/chef/common_sandbox.rb:296:in `block in update_dna_for_policyfile'
|
72
|
+
E, [2023-10-04T17:15:01.065649 #706052] ERROR -- Kitchen: /opt/chef-workstation/embedded/lib/ruby/gems/3.0.0/gems/test-kitchen-3.3.2/lib/kitchen/provisioner/chef/common_sandbox.rb:295:in `synchronize'
|
73
|
+
E, [2023-10-04T17:15:01.065687 #706052] ERROR -- Kitchen: /opt/chef-workstation/embedded/lib/ruby/gems/3.0.0/gems/test-kitchen-3.3.2/lib/kitchen/provisioner/chef/common_sandbox.rb:295:in `update_dna_for_policyfile'
|
74
|
+
E, [2023-10-04T17:15:01.065733 #706052] ERROR -- Kitchen: /opt/chef-workstation/embedded/lib/ruby/gems/3.0.0/gems/test-kitchen-3.3.2/lib/kitchen/provisioner/chef/common_sandbox.rb:274:in `prepare_json'
|
75
|
+
E, [2023-10-04T17:15:01.065771 #706052] ERROR -- Kitchen: /opt/chef-workstation/embedded/lib/ruby/gems/3.0.0/gems/test-kitchen-3.3.2/lib/kitchen/provisioner/chef/common_sandbox.rb:45:in `populate'
|
76
|
+
E, [2023-10-04T17:15:01.065806 #706052] ERROR -- Kitchen: /opt/chef-workstation/embedded/lib/ruby/gems/3.0.0/gems/test-kitchen-3.3.2/lib/kitchen/provisioner/chef_base.rb:308:in `create_sandbox'
|
77
|
+
E, [2023-10-04T17:15:01.065840 #706052] ERROR -- Kitchen: /opt/chef-workstation/embedded/lib/ruby/gems/3.0.0/gems/test-kitchen-3.3.2/lib/kitchen/provisioner/chef_infra.rb:49:in `create_sandbox'
|
78
|
+
E, [2023-10-04T17:15:01.065877 #706052] ERROR -- Kitchen: /opt/chef-workstation/embedded/lib/ruby/gems/3.0.0/gems/test-kitchen-3.3.2/lib/kitchen/provisioner/base.rb:72:in `call'
|
79
|
+
E, [2023-10-04T17:15:01.065918 #706052] ERROR -- Kitchen: /opt/chef-workstation/embedded/lib/ruby/gems/3.0.0/gems/test-kitchen-3.3.2/lib/kitchen/instance.rb:419:in `block in converge_action'
|
80
|
+
E, [2023-10-04T17:15:01.065953 #706052] ERROR -- Kitchen: /opt/chef-workstation/embedded/lib/ruby/gems/3.0.0/gems/test-kitchen-3.3.2/lib/kitchen/instance.rb:563:in `synchronize_or_call'
|
81
|
+
E, [2023-10-04T17:15:01.065986 #706052] ERROR -- Kitchen: /opt/chef-workstation/embedded/lib/ruby/gems/3.0.0/gems/test-kitchen-3.3.2/lib/kitchen/instance.rb:524:in `block in action'
|
82
|
+
E, [2023-10-04T17:15:01.066019 #706052] ERROR -- Kitchen: /opt/chef-workstation/embedded/lib/ruby/3.0.0/benchmark.rb:293:in `measure'
|
83
|
+
E, [2023-10-04T17:15:01.066053 #706052] ERROR -- Kitchen: /opt/chef-workstation/embedded/lib/ruby/gems/3.0.0/gems/test-kitchen-3.3.2/lib/kitchen/instance.rb:523:in `action'
|
84
|
+
E, [2023-10-04T17:15:01.066087 #706052] ERROR -- Kitchen: /opt/chef-workstation/embedded/lib/ruby/gems/3.0.0/gems/test-kitchen-3.3.2/lib/kitchen/instance.rb:414:in `converge_action'
|
85
|
+
E, [2023-10-04T17:15:01.066122 #706052] ERROR -- Kitchen: /opt/chef-workstation/embedded/lib/ruby/gems/3.0.0/gems/test-kitchen-3.3.2/lib/kitchen/instance.rb:392:in `block (2 levels) in transition_to'
|
86
|
+
E, [2023-10-04T17:15:01.066157 #706052] ERROR -- Kitchen: /opt/chef-workstation/embedded/lib/ruby/gems/3.0.0/gems/test-kitchen-3.3.2/lib/kitchen/lifecycle_hooks.rb:47:in `run_with_hooks'
|
87
|
+
E, [2023-10-04T17:15:01.066192 #706052] ERROR -- Kitchen: /opt/chef-workstation/embedded/lib/ruby/gems/3.0.0/gems/test-kitchen-3.3.2/lib/kitchen/instance.rb:391:in `block in transition_to'
|
88
|
+
E, [2023-10-04T17:15:01.066217 #706052] ERROR -- Kitchen: /opt/chef-workstation/embedded/lib/ruby/gems/3.0.0/gems/test-kitchen-3.3.2/lib/kitchen/instance.rb:390:in `each'
|
89
|
+
E, [2023-10-04T17:15:01.066241 #706052] ERROR -- Kitchen: /opt/chef-workstation/embedded/lib/ruby/gems/3.0.0/gems/test-kitchen-3.3.2/lib/kitchen/instance.rb:390:in `transition_to'
|
90
|
+
E, [2023-10-04T17:15:01.066264 #706052] ERROR -- Kitchen: /opt/chef-workstation/embedded/lib/ruby/gems/3.0.0/gems/test-kitchen-3.3.2/lib/kitchen/instance.rb:161:in `verify'
|
91
|
+
E, [2023-10-04T17:15:01.066289 #706052] ERROR -- Kitchen: /opt/chef-workstation/embedded/lib/ruby/gems/3.0.0/gems/test-kitchen-3.3.2/lib/kitchen/instance.rb:190:in `block in test'
|
92
|
+
E, [2023-10-04T17:15:01.066325 #706052] ERROR -- Kitchen: /opt/chef-workstation/embedded/lib/ruby/3.0.0/benchmark.rb:293:in `measure'
|
93
|
+
E, [2023-10-04T17:15:01.066367 #706052] ERROR -- Kitchen: /opt/chef-workstation/embedded/lib/ruby/gems/3.0.0/gems/test-kitchen-3.3.2/lib/kitchen/instance.rb:186:in `test'
|
94
|
+
E, [2023-10-04T17:15:01.066407 #706052] ERROR -- Kitchen: /opt/chef-workstation/embedded/lib/ruby/gems/3.0.0/gems/test-kitchen-3.3.2/lib/kitchen/command.rb:195:in `public_send'
|
95
|
+
E, [2023-10-04T17:15:01.066444 #706052] ERROR -- Kitchen: /opt/chef-workstation/embedded/lib/ruby/gems/3.0.0/gems/test-kitchen-3.3.2/lib/kitchen/command.rb:195:in `run_action_in_thread'
|
96
|
+
E, [2023-10-04T17:15:01.066489 #706052] ERROR -- Kitchen: /opt/chef-workstation/embedded/lib/ruby/gems/3.0.0/gems/test-kitchen-3.3.2/lib/kitchen/command.rb:166:in `block (2 levels) in run_action'
|
97
|
+
E, [2023-10-04T17:15:01.066527 #706052] ERROR -- Kitchen: /opt/chef-workstation/embedded/lib/ruby/gems/3.0.0/gems/logging-2.3.1/lib/logging/diagnostic_context.rb:474:in `block in create_with_logging_context'
|
98
|
+
E, [2023-10-04T17:15:01.066563 #706052] ERROR -- Kitchen: ----End Backtrace-----
|
99
|
+
E, [2023-10-04T17:15:01.066596 #706052] ERROR -- Kitchen: ---Nested Exception---
|
100
|
+
E, [2023-10-04T17:15:01.066632 #706052] ERROR -- Kitchen: Class: Kitchen::ActionFailed
|
101
|
+
E, [2023-10-04T17:15:01.066659 #706052] ERROR -- Kitchen: Message: Failed to complete #converge action: [Expected process to exit with [0], but received '1'
|
102
|
+
---- Begin output of /opt/chef-workstation/bin/chef-cli install /home/jimboadmin/deploy-context/Policyfile.rb --chef-license accept ----
|
103
|
+
STDOUT: Building policy deploy-context
|
104
|
+
Expanded run list: recipe[deploy-context::default]
|
105
|
+
Caching Cookbooks...
|
106
|
+
Installing deploy-context >= 0.0.0 from path
|
107
|
+
STDERR: Error: Failed to generate Policyfile.lock
|
108
|
+
Reason: (Chef::Exceptions::InvalidCookbookVersion) '2.1.37.6.gec1e116.2.g5c62611.1.dirty.20231004.171404' does not match 'x.y.z' or 'x.y'
|
109
|
+
---- End output of /opt/chef-workstation/bin/chef-cli install /home/jimboadmin/deploy-context/Policyfile.rb --chef-license accept ----
|
110
|
+
Ran /opt/chef-workstation/bin/chef-cli install /home/jimboadmin/deploy-context/Policyfile.rb --chef-license accept returned 1]
|
111
|
+
E, [2023-10-04T17:15:01.066684 #706052] ERROR -- Kitchen: ----------------------
|
112
|
+
E, [2023-10-04T17:15:01.066712 #706052] ERROR -- Kitchen: ------Backtrace-------
|
113
|
+
E, [2023-10-04T17:15:01.066740 #706052] ERROR -- Kitchen: /opt/chef-workstation/embedded/lib/ruby/gems/3.0.0/gems/test-kitchen-3.3.2/lib/kitchen/shell_out.rb:70:in `rescue in run_command'
|
114
|
+
E, [2023-10-04T17:15:01.066776 #706052] ERROR -- Kitchen: /opt/chef-workstation/embedded/lib/ruby/gems/3.0.0/gems/test-kitchen-3.3.2/lib/kitchen/shell_out.rb:57:in `run_command'
|
115
|
+
E, [2023-10-04T17:15:01.066811 #706052] ERROR -- Kitchen: /opt/chef-workstation/embedded/lib/ruby/gems/3.0.0/gems/test-kitchen-3.3.2/lib/kitchen/provisioner/chef/policyfile.rb:81:in `compile'
|
116
|
+
E, [2023-10-04T17:15:01.066848 #706052] ERROR -- Kitchen: /opt/chef-workstation/embedded/lib/ruby/gems/3.0.0/gems/test-kitchen-3.3.2/lib/kitchen/provisioner/chef/common_sandbox.rb:296:in `block in update_dna_for_policyfile'
|
117
|
+
E, [2023-10-04T17:15:01.066882 #706052] ERROR -- Kitchen: /opt/chef-workstation/embedded/lib/ruby/gems/3.0.0/gems/test-kitchen-3.3.2/lib/kitchen/provisioner/chef/common_sandbox.rb:295:in `synchronize'
|
118
|
+
E, [2023-10-04T17:15:01.066916 #706052] ERROR -- Kitchen: /opt/chef-workstation/embedded/lib/ruby/gems/3.0.0/gems/test-kitchen-3.3.2/lib/kitchen/provisioner/chef/common_sandbox.rb:295:in `update_dna_for_policyfile'
|
119
|
+
E, [2023-10-04T17:15:01.066953 #706052] ERROR -- Kitchen: /opt/chef-workstation/embedded/lib/ruby/gems/3.0.0/gems/test-kitchen-3.3.2/lib/kitchen/provisioner/chef/common_sandbox.rb:274:in `prepare_json'
|
120
|
+
E, [2023-10-04T17:15:01.066985 #706052] ERROR -- Kitchen: /opt/chef-workstation/embedded/lib/ruby/gems/3.0.0/gems/test-kitchen-3.3.2/lib/kitchen/provisioner/chef/common_sandbox.rb:45:in `populate'
|
121
|
+
E, [2023-10-04T17:15:01.067024 #706052] ERROR -- Kitchen: /opt/chef-workstation/embedded/lib/ruby/gems/3.0.0/gems/test-kitchen-3.3.2/lib/kitchen/provisioner/chef_base.rb:308:in `create_sandbox'
|
122
|
+
E, [2023-10-04T17:15:01.067063 #706052] ERROR -- Kitchen: /opt/chef-workstation/embedded/lib/ruby/gems/3.0.0/gems/test-kitchen-3.3.2/lib/kitchen/provisioner/chef_infra.rb:49:in `create_sandbox'
|
123
|
+
E, [2023-10-04T17:15:01.067098 #706052] ERROR -- Kitchen: /opt/chef-workstation/embedded/lib/ruby/gems/3.0.0/gems/test-kitchen-3.3.2/lib/kitchen/provisioner/base.rb:72:in `call'
|
124
|
+
E, [2023-10-04T17:15:01.067134 #706052] ERROR -- Kitchen: /opt/chef-workstation/embedded/lib/ruby/gems/3.0.0/gems/test-kitchen-3.3.2/lib/kitchen/instance.rb:419:in `block in converge_action'
|
125
|
+
E, [2023-10-04T17:15:01.067177 #706052] ERROR -- Kitchen: /opt/chef-workstation/embedded/lib/ruby/gems/3.0.0/gems/test-kitchen-3.3.2/lib/kitchen/instance.rb:563:in `synchronize_or_call'
|
126
|
+
E, [2023-10-04T17:15:01.067213 #706052] ERROR -- Kitchen: /opt/chef-workstation/embedded/lib/ruby/gems/3.0.0/gems/test-kitchen-3.3.2/lib/kitchen/instance.rb:524:in `block in action'
|
127
|
+
E, [2023-10-04T17:15:01.067249 #706052] ERROR -- Kitchen: /opt/chef-workstation/embedded/lib/ruby/3.0.0/benchmark.rb:293:in `measure'
|
128
|
+
E, [2023-10-04T17:15:01.067290 #706052] ERROR -- Kitchen: /opt/chef-workstation/embedded/lib/ruby/gems/3.0.0/gems/test-kitchen-3.3.2/lib/kitchen/instance.rb:523:in `action'
|
129
|
+
E, [2023-10-04T17:15:01.067324 #706052] ERROR -- Kitchen: /opt/chef-workstation/embedded/lib/ruby/gems/3.0.0/gems/test-kitchen-3.3.2/lib/kitchen/instance.rb:414:in `converge_action'
|
130
|
+
E, [2023-10-04T17:15:01.067358 #706052] ERROR -- Kitchen: /opt/chef-workstation/embedded/lib/ruby/gems/3.0.0/gems/test-kitchen-3.3.2/lib/kitchen/instance.rb:392:in `block (2 levels) in transition_to'
|
131
|
+
E, [2023-10-04T17:15:01.067396 #706052] ERROR -- Kitchen: /opt/chef-workstation/embedded/lib/ruby/gems/3.0.0/gems/test-kitchen-3.3.2/lib/kitchen/lifecycle_hooks.rb:47:in `run_with_hooks'
|
132
|
+
E, [2023-10-04T17:15:01.067432 #706052] ERROR -- Kitchen: /opt/chef-workstation/embedded/lib/ruby/gems/3.0.0/gems/test-kitchen-3.3.2/lib/kitchen/instance.rb:391:in `block in transition_to'
|
133
|
+
E, [2023-10-04T17:15:01.067466 #706052] ERROR -- Kitchen: /opt/chef-workstation/embedded/lib/ruby/gems/3.0.0/gems/test-kitchen-3.3.2/lib/kitchen/instance.rb:390:in `each'
|
134
|
+
E, [2023-10-04T17:15:01.067500 #706052] ERROR -- Kitchen: /opt/chef-workstation/embedded/lib/ruby/gems/3.0.0/gems/test-kitchen-3.3.2/lib/kitchen/instance.rb:390:in `transition_to'
|
135
|
+
E, [2023-10-04T17:15:01.067533 #706052] ERROR -- Kitchen: /opt/chef-workstation/embedded/lib/ruby/gems/3.0.0/gems/test-kitchen-3.3.2/lib/kitchen/instance.rb:161:in `verify'
|
136
|
+
E, [2023-10-04T17:15:01.067570 #706052] ERROR -- Kitchen: /opt/chef-workstation/embedded/lib/ruby/gems/3.0.0/gems/test-kitchen-3.3.2/lib/kitchen/instance.rb:190:in `block in test'
|
137
|
+
E, [2023-10-04T17:15:01.067602 #706052] ERROR -- Kitchen: /opt/chef-workstation/embedded/lib/ruby/3.0.0/benchmark.rb:293:in `measure'
|
138
|
+
E, [2023-10-04T17:15:01.067634 #706052] ERROR -- Kitchen: /opt/chef-workstation/embedded/lib/ruby/gems/3.0.0/gems/test-kitchen-3.3.2/lib/kitchen/instance.rb:186:in `test'
|
139
|
+
E, [2023-10-04T17:15:01.067668 #706052] ERROR -- Kitchen: /opt/chef-workstation/embedded/lib/ruby/gems/3.0.0/gems/test-kitchen-3.3.2/lib/kitchen/command.rb:195:in `public_send'
|
140
|
+
E, [2023-10-04T17:15:01.067701 #706052] ERROR -- Kitchen: /opt/chef-workstation/embedded/lib/ruby/gems/3.0.0/gems/test-kitchen-3.3.2/lib/kitchen/command.rb:195:in `run_action_in_thread'
|
141
|
+
E, [2023-10-04T17:15:01.067736 #706052] ERROR -- Kitchen: /opt/chef-workstation/embedded/lib/ruby/gems/3.0.0/gems/test-kitchen-3.3.2/lib/kitchen/command.rb:166:in `block (2 levels) in run_action'
|
142
|
+
E, [2023-10-04T17:15:01.067772 #706052] ERROR -- Kitchen: /opt/chef-workstation/embedded/lib/ruby/gems/3.0.0/gems/logging-2.3.1/lib/logging/diagnostic_context.rb:474:in `block in create_with_logging_context'
|
143
|
+
E, [2023-10-04T17:15:01.067807 #706052] ERROR -- Kitchen: ----End Backtrace-----
|
144
|
+
E, [2023-10-04T17:15:01.067845 #706052] ERROR -- Kitchen: -Composite Exception--
|
145
|
+
E, [2023-10-04T17:15:01.067882 #706052] ERROR -- Kitchen: Class: Kitchen::ActionFailed
|
146
|
+
E, [2023-10-04T17:15:01.067921 #706052] ERROR -- Kitchen: Message: Failed to complete #converge action: [Expected process to exit with [0], but received '1'
|
174
147
|
---- Begin output of /opt/chef-workstation/bin/chef-cli install /home/jimboadmin/deploy-context/Policyfile.rb --chef-license accept ----
|
175
148
|
STDOUT: Building policy deploy-context
|
176
149
|
Expanded run list: recipe[deploy-context::default]
|
177
150
|
Caching Cookbooks...
|
178
151
|
Installing deploy-context >= 0.0.0 from path
|
179
152
|
STDERR: Error: Failed to generate Policyfile.lock
|
180
|
-
Reason: (Chef::Exceptions::InvalidCookbookVersion) '2.1.
|
153
|
+
Reason: (Chef::Exceptions::InvalidCookbookVersion) '2.1.37.6.gec1e116.2.g5c62611.1.dirty.20231004.171501' does not match 'x.y.z' or 'x.y'
|
181
154
|
---- End output of /opt/chef-workstation/bin/chef-cli install /home/jimboadmin/deploy-context/Policyfile.rb --chef-license accept ----
|
182
155
|
Ran /opt/chef-workstation/bin/chef-cli install /home/jimboadmin/deploy-context/Policyfile.rb --chef-license accept returned 1] on default-centos-8
|
183
|
-
E, [2023-10-
|
184
|
-
E, [2023-10-
|
185
|
-
E, [2023-10-
|
186
|
-
E, [2023-10-
|
187
|
-
E, [2023-10-
|
188
|
-
E, [2023-10-
|
189
|
-
E, [2023-10-
|
190
|
-
E, [2023-10-
|
191
|
-
E, [2023-10-
|
192
|
-
E, [2023-10-
|
193
|
-
E, [2023-10-
|
194
|
-
E, [2023-10-
|
195
|
-
E, [2023-10-
|
196
|
-
E, [2023-10-
|
197
|
-
E, [2023-10-
|
198
|
-
E, [2023-10-
|
199
|
-
E, [2023-10-
|
200
|
-
E, [2023-10-
|
201
|
-
E, [2023-10-
|
202
|
-
E, [2023-10-
|
203
|
-
E, [2023-10-
|
204
|
-
E, [2023-10-
|
205
|
-
E, [2023-10-
|
206
|
-
E, [2023-10-
|
207
|
-
E, [2023-10-
|
208
|
-
E, [2023-10-
|
209
|
-
E, [2023-10-
|
210
|
-
E, [2023-10-
|
211
|
-
E, [2023-10-
|
212
|
-
E, [2023-10-
|
213
|
-
E, [2023-10-
|
214
|
-
E, [2023-10-
|
215
|
-
E, [2023-10-
|
216
|
-
E, [2023-10-
|
217
|
-
E, [2023-10-
|
218
|
-
E, [2023-10-
|
156
|
+
E, [2023-10-04T17:15:01.067965 #706052] ERROR -- Kitchen: ----------------------
|
157
|
+
E, [2023-10-04T17:15:01.068000 #706052] ERROR -- Kitchen: ------Backtrace-------
|
158
|
+
E, [2023-10-04T17:15:01.068031 #706052] ERROR -- Kitchen: /opt/chef-workstation/embedded/lib/ruby/gems/3.0.0/gems/test-kitchen-3.3.2/lib/kitchen/shell_out.rb:70:in `rescue in run_command'
|
159
|
+
E, [2023-10-04T17:15:01.068067 #706052] ERROR -- Kitchen: /opt/chef-workstation/embedded/lib/ruby/gems/3.0.0/gems/test-kitchen-3.3.2/lib/kitchen/shell_out.rb:57:in `run_command'
|
160
|
+
E, [2023-10-04T17:15:01.068101 #706052] ERROR -- Kitchen: /opt/chef-workstation/embedded/lib/ruby/gems/3.0.0/gems/test-kitchen-3.3.2/lib/kitchen/provisioner/chef/policyfile.rb:81:in `compile'
|
161
|
+
E, [2023-10-04T17:15:01.068140 #706052] ERROR -- Kitchen: /opt/chef-workstation/embedded/lib/ruby/gems/3.0.0/gems/test-kitchen-3.3.2/lib/kitchen/provisioner/chef/common_sandbox.rb:296:in `block in update_dna_for_policyfile'
|
162
|
+
E, [2023-10-04T17:15:01.068171 #706052] ERROR -- Kitchen: /opt/chef-workstation/embedded/lib/ruby/gems/3.0.0/gems/test-kitchen-3.3.2/lib/kitchen/provisioner/chef/common_sandbox.rb:295:in `synchronize'
|
163
|
+
E, [2023-10-04T17:15:01.068206 #706052] ERROR -- Kitchen: /opt/chef-workstation/embedded/lib/ruby/gems/3.0.0/gems/test-kitchen-3.3.2/lib/kitchen/provisioner/chef/common_sandbox.rb:295:in `update_dna_for_policyfile'
|
164
|
+
E, [2023-10-04T17:15:01.068240 #706052] ERROR -- Kitchen: /opt/chef-workstation/embedded/lib/ruby/gems/3.0.0/gems/test-kitchen-3.3.2/lib/kitchen/provisioner/chef/common_sandbox.rb:274:in `prepare_json'
|
165
|
+
E, [2023-10-04T17:15:01.068276 #706052] ERROR -- Kitchen: /opt/chef-workstation/embedded/lib/ruby/gems/3.0.0/gems/test-kitchen-3.3.2/lib/kitchen/provisioner/chef/common_sandbox.rb:45:in `populate'
|
166
|
+
E, [2023-10-04T17:15:01.068312 #706052] ERROR -- Kitchen: /opt/chef-workstation/embedded/lib/ruby/gems/3.0.0/gems/test-kitchen-3.3.2/lib/kitchen/provisioner/chef_base.rb:308:in `create_sandbox'
|
167
|
+
E, [2023-10-04T17:15:01.068343 #706052] ERROR -- Kitchen: /opt/chef-workstation/embedded/lib/ruby/gems/3.0.0/gems/test-kitchen-3.3.2/lib/kitchen/provisioner/chef_infra.rb:49:in `create_sandbox'
|
168
|
+
E, [2023-10-04T17:15:01.068370 #706052] ERROR -- Kitchen: /opt/chef-workstation/embedded/lib/ruby/gems/3.0.0/gems/test-kitchen-3.3.2/lib/kitchen/provisioner/base.rb:72:in `call'
|
169
|
+
E, [2023-10-04T17:15:01.068398 #706052] ERROR -- Kitchen: /opt/chef-workstation/embedded/lib/ruby/gems/3.0.0/gems/test-kitchen-3.3.2/lib/kitchen/instance.rb:419:in `block in converge_action'
|
170
|
+
E, [2023-10-04T17:15:01.068423 #706052] ERROR -- Kitchen: /opt/chef-workstation/embedded/lib/ruby/gems/3.0.0/gems/test-kitchen-3.3.2/lib/kitchen/instance.rb:563:in `synchronize_or_call'
|
171
|
+
E, [2023-10-04T17:15:01.068447 #706052] ERROR -- Kitchen: /opt/chef-workstation/embedded/lib/ruby/gems/3.0.0/gems/test-kitchen-3.3.2/lib/kitchen/instance.rb:524:in `block in action'
|
172
|
+
E, [2023-10-04T17:15:01.068473 #706052] ERROR -- Kitchen: /opt/chef-workstation/embedded/lib/ruby/3.0.0/benchmark.rb:293:in `measure'
|
173
|
+
E, [2023-10-04T17:15:01.068505 #706052] ERROR -- Kitchen: /opt/chef-workstation/embedded/lib/ruby/gems/3.0.0/gems/test-kitchen-3.3.2/lib/kitchen/instance.rb:523:in `action'
|
174
|
+
E, [2023-10-04T17:15:01.068531 #706052] ERROR -- Kitchen: /opt/chef-workstation/embedded/lib/ruby/gems/3.0.0/gems/test-kitchen-3.3.2/lib/kitchen/instance.rb:414:in `converge_action'
|
175
|
+
E, [2023-10-04T17:15:01.068554 #706052] ERROR -- Kitchen: /opt/chef-workstation/embedded/lib/ruby/gems/3.0.0/gems/test-kitchen-3.3.2/lib/kitchen/instance.rb:392:in `block (2 levels) in transition_to'
|
176
|
+
E, [2023-10-04T17:15:01.068578 #706052] ERROR -- Kitchen: /opt/chef-workstation/embedded/lib/ruby/gems/3.0.0/gems/test-kitchen-3.3.2/lib/kitchen/lifecycle_hooks.rb:47:in `run_with_hooks'
|
177
|
+
E, [2023-10-04T17:15:01.068617 #706052] ERROR -- Kitchen: /opt/chef-workstation/embedded/lib/ruby/gems/3.0.0/gems/test-kitchen-3.3.2/lib/kitchen/instance.rb:391:in `block in transition_to'
|
178
|
+
E, [2023-10-04T17:15:01.068660 #706052] ERROR -- Kitchen: /opt/chef-workstation/embedded/lib/ruby/gems/3.0.0/gems/test-kitchen-3.3.2/lib/kitchen/instance.rb:390:in `each'
|
179
|
+
E, [2023-10-04T17:15:01.068697 #706052] ERROR -- Kitchen: /opt/chef-workstation/embedded/lib/ruby/gems/3.0.0/gems/test-kitchen-3.3.2/lib/kitchen/instance.rb:390:in `transition_to'
|
180
|
+
E, [2023-10-04T17:15:01.068732 #706052] ERROR -- Kitchen: /opt/chef-workstation/embedded/lib/ruby/gems/3.0.0/gems/test-kitchen-3.3.2/lib/kitchen/instance.rb:161:in `verify'
|
181
|
+
E, [2023-10-04T17:15:01.068767 #706052] ERROR -- Kitchen: /opt/chef-workstation/embedded/lib/ruby/gems/3.0.0/gems/test-kitchen-3.3.2/lib/kitchen/instance.rb:190:in `block in test'
|
182
|
+
E, [2023-10-04T17:15:01.068800 #706052] ERROR -- Kitchen: /opt/chef-workstation/embedded/lib/ruby/3.0.0/benchmark.rb:293:in `measure'
|
183
|
+
E, [2023-10-04T17:15:01.068836 #706052] ERROR -- Kitchen: /opt/chef-workstation/embedded/lib/ruby/gems/3.0.0/gems/test-kitchen-3.3.2/lib/kitchen/instance.rb:186:in `test'
|
184
|
+
E, [2023-10-04T17:15:01.068873 #706052] ERROR -- Kitchen: /opt/chef-workstation/embedded/lib/ruby/gems/3.0.0/gems/test-kitchen-3.3.2/lib/kitchen/command.rb:195:in `public_send'
|
185
|
+
E, [2023-10-04T17:15:01.068913 #706052] ERROR -- Kitchen: /opt/chef-workstation/embedded/lib/ruby/gems/3.0.0/gems/test-kitchen-3.3.2/lib/kitchen/command.rb:195:in `run_action_in_thread'
|
186
|
+
E, [2023-10-04T17:15:01.068952 #706052] ERROR -- Kitchen: /opt/chef-workstation/embedded/lib/ruby/gems/3.0.0/gems/test-kitchen-3.3.2/lib/kitchen/command.rb:166:in `block (2 levels) in run_action'
|
187
|
+
E, [2023-10-04T17:15:01.068991 #706052] ERROR -- Kitchen: /opt/chef-workstation/embedded/lib/ruby/gems/3.0.0/gems/logging-2.3.1/lib/logging/diagnostic_context.rb:474:in `block in create_with_logging_context'
|
188
|
+
E, [2023-10-04T17:15:01.069029 #706052] ERROR -- Kitchen: ----End Backtrace-----
|
189
|
+
E, [2023-10-04T17:15:01.069066 #706052] ERROR -- Kitchen: ---Nested Exception---
|
190
|
+
E, [2023-10-04T17:15:01.069101 #706052] ERROR -- Kitchen: Class: Kitchen::ActionFailed
|
191
|
+
E, [2023-10-04T17:15:01.069136 #706052] ERROR -- Kitchen: Message: Failed to complete #converge action: [Expected process to exit with [0], but received '1'
|
219
192
|
---- Begin output of /opt/chef-workstation/bin/chef-cli install /home/jimboadmin/deploy-context/Policyfile.rb --chef-license accept ----
|
220
193
|
STDOUT: Building policy deploy-context
|
221
194
|
Expanded run list: recipe[deploy-context::default]
|
222
195
|
Caching Cookbooks...
|
223
196
|
Installing deploy-context >= 0.0.0 from path
|
224
197
|
STDERR: Error: Failed to generate Policyfile.lock
|
225
|
-
Reason: (Chef::Exceptions::InvalidCookbookVersion) '2.1.
|
198
|
+
Reason: (Chef::Exceptions::InvalidCookbookVersion) '2.1.37.6.gec1e116.2.g5c62611.1.dirty.20231004.171501' does not match 'x.y.z' or 'x.y'
|
226
199
|
---- End output of /opt/chef-workstation/bin/chef-cli install /home/jimboadmin/deploy-context/Policyfile.rb --chef-license accept ----
|
227
200
|
Ran /opt/chef-workstation/bin/chef-cli install /home/jimboadmin/deploy-context/Policyfile.rb --chef-license accept returned 1]
|
228
|
-
E, [2023-10-
|
229
|
-
E, [2023-10-
|
230
|
-
E, [2023-10-
|
231
|
-
E, [2023-10-
|
232
|
-
E, [2023-10-
|
233
|
-
E, [2023-10-
|
234
|
-
E, [2023-10-
|
235
|
-
E, [2023-10-
|
236
|
-
E, [2023-10-
|
237
|
-
E, [2023-10-
|
238
|
-
E, [2023-10-
|
239
|
-
E, [2023-10-
|
240
|
-
E, [2023-10-
|
241
|
-
E, [2023-10-
|
242
|
-
E, [2023-10-
|
243
|
-
E, [2023-10-
|
244
|
-
E, [2023-10-
|
245
|
-
E, [2023-10-
|
246
|
-
E, [2023-10-
|
247
|
-
E, [2023-10-
|
248
|
-
E, [2023-10-
|
249
|
-
E, [2023-10-
|
250
|
-
E, [2023-10-
|
251
|
-
E, [2023-10-
|
252
|
-
E, [2023-10-
|
253
|
-
E, [2023-10-
|
254
|
-
E, [2023-10-
|
255
|
-
E, [2023-10-
|
256
|
-
E, [2023-10-
|
257
|
-
E, [2023-10-
|
258
|
-
E, [2023-10-
|
259
|
-
E, [2023-10-
|
260
|
-
E, [2023-10-
|
201
|
+
E, [2023-10-04T17:15:01.069172 #706052] ERROR -- Kitchen: ----------------------
|
202
|
+
E, [2023-10-04T17:15:01.069209 #706052] ERROR -- Kitchen: ------Backtrace-------
|
203
|
+
E, [2023-10-04T17:15:01.069241 #706052] ERROR -- Kitchen: /opt/chef-workstation/embedded/lib/ruby/gems/3.0.0/gems/test-kitchen-3.3.2/lib/kitchen/shell_out.rb:70:in `rescue in run_command'
|
204
|
+
E, [2023-10-04T17:15:01.069270 #706052] ERROR -- Kitchen: /opt/chef-workstation/embedded/lib/ruby/gems/3.0.0/gems/test-kitchen-3.3.2/lib/kitchen/shell_out.rb:57:in `run_command'
|
205
|
+
E, [2023-10-04T17:15:01.069294 #706052] ERROR -- Kitchen: /opt/chef-workstation/embedded/lib/ruby/gems/3.0.0/gems/test-kitchen-3.3.2/lib/kitchen/provisioner/chef/policyfile.rb:81:in `compile'
|
206
|
+
E, [2023-10-04T17:15:01.069319 #706052] ERROR -- Kitchen: /opt/chef-workstation/embedded/lib/ruby/gems/3.0.0/gems/test-kitchen-3.3.2/lib/kitchen/provisioner/chef/common_sandbox.rb:296:in `block in update_dna_for_policyfile'
|
207
|
+
E, [2023-10-04T17:15:01.069344 #706052] ERROR -- Kitchen: /opt/chef-workstation/embedded/lib/ruby/gems/3.0.0/gems/test-kitchen-3.3.2/lib/kitchen/provisioner/chef/common_sandbox.rb:295:in `synchronize'
|
208
|
+
E, [2023-10-04T17:15:01.069385 #706052] ERROR -- Kitchen: /opt/chef-workstation/embedded/lib/ruby/gems/3.0.0/gems/test-kitchen-3.3.2/lib/kitchen/provisioner/chef/common_sandbox.rb:295:in `update_dna_for_policyfile'
|
209
|
+
E, [2023-10-04T17:15:01.069426 #706052] ERROR -- Kitchen: /opt/chef-workstation/embedded/lib/ruby/gems/3.0.0/gems/test-kitchen-3.3.2/lib/kitchen/provisioner/chef/common_sandbox.rb:274:in `prepare_json'
|
210
|
+
E, [2023-10-04T17:15:01.069469 #706052] ERROR -- Kitchen: /opt/chef-workstation/embedded/lib/ruby/gems/3.0.0/gems/test-kitchen-3.3.2/lib/kitchen/provisioner/chef/common_sandbox.rb:45:in `populate'
|
211
|
+
E, [2023-10-04T17:15:01.069495 #706052] ERROR -- Kitchen: /opt/chef-workstation/embedded/lib/ruby/gems/3.0.0/gems/test-kitchen-3.3.2/lib/kitchen/provisioner/chef_base.rb:308:in `create_sandbox'
|
212
|
+
E, [2023-10-04T17:15:01.069520 #706052] ERROR -- Kitchen: /opt/chef-workstation/embedded/lib/ruby/gems/3.0.0/gems/test-kitchen-3.3.2/lib/kitchen/provisioner/chef_infra.rb:49:in `create_sandbox'
|
213
|
+
E, [2023-10-04T17:15:01.069543 #706052] ERROR -- Kitchen: /opt/chef-workstation/embedded/lib/ruby/gems/3.0.0/gems/test-kitchen-3.3.2/lib/kitchen/provisioner/base.rb:72:in `call'
|
214
|
+
E, [2023-10-04T17:15:01.069569 #706052] ERROR -- Kitchen: /opt/chef-workstation/embedded/lib/ruby/gems/3.0.0/gems/test-kitchen-3.3.2/lib/kitchen/instance.rb:419:in `block in converge_action'
|
215
|
+
E, [2023-10-04T17:15:01.069609 #706052] ERROR -- Kitchen: /opt/chef-workstation/embedded/lib/ruby/gems/3.0.0/gems/test-kitchen-3.3.2/lib/kitchen/instance.rb:563:in `synchronize_or_call'
|
216
|
+
E, [2023-10-04T17:15:01.069650 #706052] ERROR -- Kitchen: /opt/chef-workstation/embedded/lib/ruby/gems/3.0.0/gems/test-kitchen-3.3.2/lib/kitchen/instance.rb:524:in `block in action'
|
217
|
+
E, [2023-10-04T17:15:01.069678 #706052] ERROR -- Kitchen: /opt/chef-workstation/embedded/lib/ruby/3.0.0/benchmark.rb:293:in `measure'
|
218
|
+
E, [2023-10-04T17:15:01.069708 #706052] ERROR -- Kitchen: /opt/chef-workstation/embedded/lib/ruby/gems/3.0.0/gems/test-kitchen-3.3.2/lib/kitchen/instance.rb:523:in `action'
|
219
|
+
E, [2023-10-04T17:15:01.069732 #706052] ERROR -- Kitchen: /opt/chef-workstation/embedded/lib/ruby/gems/3.0.0/gems/test-kitchen-3.3.2/lib/kitchen/instance.rb:414:in `converge_action'
|
220
|
+
E, [2023-10-04T17:15:01.069755 #706052] ERROR -- Kitchen: /opt/chef-workstation/embedded/lib/ruby/gems/3.0.0/gems/test-kitchen-3.3.2/lib/kitchen/instance.rb:392:in `block (2 levels) in transition_to'
|
221
|
+
E, [2023-10-04T17:15:01.069777 #706052] ERROR -- Kitchen: /opt/chef-workstation/embedded/lib/ruby/gems/3.0.0/gems/test-kitchen-3.3.2/lib/kitchen/lifecycle_hooks.rb:47:in `run_with_hooks'
|
222
|
+
E, [2023-10-04T17:15:01.069801 #706052] ERROR -- Kitchen: /opt/chef-workstation/embedded/lib/ruby/gems/3.0.0/gems/test-kitchen-3.3.2/lib/kitchen/instance.rb:391:in `block in transition_to'
|
223
|
+
E, [2023-10-04T17:15:01.069825 #706052] ERROR -- Kitchen: /opt/chef-workstation/embedded/lib/ruby/gems/3.0.0/gems/test-kitchen-3.3.2/lib/kitchen/instance.rb:390:in `each'
|
224
|
+
E, [2023-10-04T17:15:01.069849 #706052] ERROR -- Kitchen: /opt/chef-workstation/embedded/lib/ruby/gems/3.0.0/gems/test-kitchen-3.3.2/lib/kitchen/instance.rb:390:in `transition_to'
|
225
|
+
E, [2023-10-04T17:15:01.070240 #706052] ERROR -- Kitchen: /opt/chef-workstation/embedded/lib/ruby/gems/3.0.0/gems/test-kitchen-3.3.2/lib/kitchen/instance.rb:161:in `verify'
|
226
|
+
E, [2023-10-04T17:15:01.070277 #706052] ERROR -- Kitchen: /opt/chef-workstation/embedded/lib/ruby/gems/3.0.0/gems/test-kitchen-3.3.2/lib/kitchen/instance.rb:190:in `block in test'
|
227
|
+
E, [2023-10-04T17:15:01.070313 #706052] ERROR -- Kitchen: /opt/chef-workstation/embedded/lib/ruby/3.0.0/benchmark.rb:293:in `measure'
|
228
|
+
E, [2023-10-04T17:15:01.070358 #706052] ERROR -- Kitchen: /opt/chef-workstation/embedded/lib/ruby/gems/3.0.0/gems/test-kitchen-3.3.2/lib/kitchen/instance.rb:186:in `test'
|
229
|
+
E, [2023-10-04T17:15:01.070400 #706052] ERROR -- Kitchen: /opt/chef-workstation/embedded/lib/ruby/gems/3.0.0/gems/test-kitchen-3.3.2/lib/kitchen/command.rb:195:in `public_send'
|
230
|
+
E, [2023-10-04T17:15:01.070447 #706052] ERROR -- Kitchen: /opt/chef-workstation/embedded/lib/ruby/gems/3.0.0/gems/test-kitchen-3.3.2/lib/kitchen/command.rb:195:in `run_action_in_thread'
|
231
|
+
E, [2023-10-04T17:15:01.070487 #706052] ERROR -- Kitchen: /opt/chef-workstation/embedded/lib/ruby/gems/3.0.0/gems/test-kitchen-3.3.2/lib/kitchen/command.rb:166:in `block (2 levels) in run_action'
|
232
|
+
E, [2023-10-04T17:15:01.070525 #706052] ERROR -- Kitchen: /opt/chef-workstation/embedded/lib/ruby/gems/3.0.0/gems/logging-2.3.1/lib/logging/diagnostic_context.rb:474:in `block in create_with_logging_context'
|
233
|
+
E, [2023-10-04T17:15:01.070562 #706052] ERROR -- Kitchen: ----End Backtrace-----
|
@@ -45,7 +45,7 @@ module Context
|
|
45
45
|
def cookbook_push(context)
|
46
46
|
cookbook_build(context)
|
47
47
|
context.log "\n\nPushing cookbook in folder #{Dir.pwd}\nAnd context #{context.context_name} is created in folder #{context.context_folder} at version #{context.version}"
|
48
|
-
context.chef(context, %w(push))
|
48
|
+
context.chef(context, %w(push Policyfile.rb))
|
49
49
|
end
|
50
50
|
|
51
51
|
def clean_file(context, file)
|
@@ -13,17 +13,31 @@ module Context
|
|
13
13
|
context.get_context_file(context, 'contexts')
|
14
14
|
end
|
15
15
|
|
16
|
+
def show_help(context)
|
17
|
+
help_message = <<MESSAGE_END
|
18
|
+
Use not option or the option 'cycle' to cycle through the deployer once
|
19
|
+
Use the option 'agent' to made a continual loop of the cycle
|
20
|
+
Use the option 'bump' to bump the patch version
|
21
|
+
Use the option 'release' to bump the minor version
|
22
|
+
Use the option 'upgrade' to bump the major version
|
23
|
+
Use the option 'test' to test the context
|
24
|
+
Use the option 'reset' to execute the local cycle once
|
25
|
+
Use the option 'help' to show this message
|
26
|
+
MESSAGE_END
|
27
|
+
context.error_log(context, help_message)
|
28
|
+
end
|
29
|
+
|
16
30
|
def execute_action(context, action)
|
17
31
|
state_action = if action.nil?
|
18
|
-
context
|
32
|
+
show_help(context)
|
19
33
|
false
|
20
34
|
else
|
21
35
|
case action
|
22
|
-
when '
|
23
|
-
context.log "\nExecute only once\n"
|
36
|
+
when 'cycle'
|
37
|
+
context.log "\nExecute only the cycle once\n"
|
24
38
|
context.cycle
|
25
39
|
true
|
26
|
-
when '
|
40
|
+
when 'agent'
|
27
41
|
context.log "\nAlways in execution\n"
|
28
42
|
while true do
|
29
43
|
context.cycle
|
@@ -49,8 +63,12 @@ module Context
|
|
49
63
|
system('rake')
|
50
64
|
# context.cucumber_test(deployer)
|
51
65
|
true
|
66
|
+
when 'help'
|
67
|
+
context.show_help(context)
|
68
|
+
true
|
52
69
|
else
|
53
70
|
context.error_log context.context_name, "Unknown setting #{action}"
|
71
|
+
show_help(context)
|
54
72
|
false
|
55
73
|
end
|
56
74
|
end
|
@@ -17,14 +17,18 @@ require_relative '../../deploy-context'
|
|
17
17
|
|
18
18
|
namespace :deploycontext do
|
19
19
|
task :default => "deploycontext:test" do
|
20
|
-
Context::DeployContext.deployer.execute_action(Context::DeployContext.deployer, '
|
20
|
+
Context::DeployContext.deployer.execute_action(Context::DeployContext.deployer, 'cycle')
|
21
21
|
end
|
22
22
|
|
23
23
|
task :bump do
|
24
24
|
Context::DeployContext.deployer.execute_action(Context::DeployContext.deployer, 'bump')
|
25
25
|
end
|
26
26
|
|
27
|
-
task :test do
|
27
|
+
task :test => "deploycontext:help" do
|
28
28
|
Context::DeployContext.deployer.execute_action(Context::DeployContext.deployer, 'test')
|
29
29
|
end
|
30
|
+
|
31
|
+
task :help do
|
32
|
+
Context::DeployContext.deployer.execute_action(Context::DeployContext.deployer, 'help')
|
33
|
+
end
|
30
34
|
end
|
@@ -1,7 +1,7 @@
|
|
1
1
|
|
2
2
|
|
3
3
|
# Étantdonnéque('le projet {word} à une dernière version de disponible dans git') do |project_name|
|
4
|
-
# context_exec [project_name, '
|
4
|
+
# context_exec [project_name, 'cycle']
|
5
5
|
|
6
6
|
# if project_name == deployer.context_name
|
7
7
|
# Dir.chdir deployer.context_folder
|
@@ -11,7 +11,7 @@
|
|
11
11
|
# end
|
12
12
|
|
13
13
|
Alors('démarrer un simple cycle de {word}') do |project_name|
|
14
|
-
context_exec [project_name, '
|
14
|
+
context_exec [project_name, 'cycle'] || abort("#{project_name} ERROR: Issue with life cycle")
|
15
15
|
end
|
16
16
|
|
17
17
|
Alors('déployer le projet {word}') do |project_name|
|
data/recipes/default.rb
CHANGED
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.1.
|
4
|
+
version: 2.1.37.6.gec1e116.4.g6190201
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Jimmy Provencher
|
@@ -101,9 +101,7 @@ files:
|
|
101
101
|
- bin/deploy-context
|
102
102
|
- chefignore
|
103
103
|
- compliance/README.md
|
104
|
-
- deploy-context.feature.disable
|
105
104
|
- deploy-context.gemspec
|
106
|
-
- deploy-context.old
|
107
105
|
- features/code_update.feature
|
108
106
|
- features/step_definitions/deploy-context.rb
|
109
107
|
- features/support/env.rb
|
@@ -118,6 +116,7 @@ files:
|
|
118
116
|
- libraries/deploy-context/deploy/deployer.rb
|
119
117
|
- libraries/deploy-context/deploy/git.rb
|
120
118
|
- libraries/deploy-context/deploy/ruby.rb
|
119
|
+
- libraries/deploy-context/deploy/vagrant.rb
|
121
120
|
- libraries/deploy-context/helpers/binary.rb
|
122
121
|
- libraries/deploy-context/helpers/command.rb
|
123
122
|
- libraries/deploy-context/helpers/rake_tasks.rb
|
metadata.gz.sig
CHANGED
Binary file
|
@@ -1,22 +0,0 @@
|
|
1
|
-
# language: fr
|
2
|
-
@fr @deploycontext
|
3
|
-
Fonctionnalité: Je suis le testeur du déployeur de deploy-context
|
4
|
-
|
5
|
-
Scénario: Initialisé deploy-context
|
6
|
-
Étant donné que deploy-context est absent localement
|
7
|
-
Alors cloner le projet git@github.com:JimboDragonGit/deploy-context.git
|
8
|
-
|
9
|
-
Scénario: Relâcher deploy-context
|
10
|
-
Étant donné que deploy-context est présent localement
|
11
|
-
Alors compiler deploy-context
|
12
|
-
Et publié deploy-context
|
13
|
-
|
14
|
-
Scénario: Tester deploy-context
|
15
|
-
Étant donné que deploy-context est présent au public
|
16
|
-
Alors installer deploy-context
|
17
|
-
Et tester deploy-context
|
18
|
-
|
19
|
-
Scénario: Bump deploy-context
|
20
|
-
Étant donné que deploy-context est tester avec succès
|
21
|
-
Alors installer deploy-context
|
22
|
-
Et tester deploy-context
|
data/deploy-context.old
DELETED
@@ -1,46 +0,0 @@
|
|
1
|
-
|
2
|
-
# Étantdonnéque('deploy-context est présent localement') do
|
3
|
-
# Dir.chdir deployer.context_folder
|
4
|
-
# end
|
5
|
-
|
6
|
-
# Étantdonnéque('deploy-context est présent au public') do
|
7
|
-
# deployer.wait_until_release_available
|
8
|
-
# end
|
9
|
-
|
10
|
-
# Étantdonnéque('deploy-context est tester avec succès') do
|
11
|
-
# deployer.test_context_successful?
|
12
|
-
# end
|
13
|
-
|
14
|
-
# Alors('compiler deploy-context une seul fois') do
|
15
|
-
# system('deploy-context once')
|
16
|
-
# end
|
17
|
-
|
18
|
-
# Alors('publié deploy-context') do
|
19
|
-
# system('deploy-context once')
|
20
|
-
# end
|
21
|
-
|
22
|
-
# Alors('attendre que deploy-context soit disponible au public') do
|
23
|
-
# deployer.wait_until_release_available
|
24
|
-
# end
|
25
|
-
|
26
|
-
# Alors('installer deploy-context') do
|
27
|
-
# deployer.install
|
28
|
-
# end
|
29
|
-
|
30
|
-
# Alors('tester deploy-context') do
|
31
|
-
# if deployer.test_context_successful?
|
32
|
-
# puts "newer version installed successfully for #{deployer.context_name} and version #{GVB.version}"
|
33
|
-
# deployer.patch_bump
|
34
|
-
# # patch_reset(context)
|
35
|
-
# else
|
36
|
-
# puts "newer version not installed for #{deployer.context_name} and version #{GVB.version}"
|
37
|
-
# end
|
38
|
-
# end
|
39
|
-
|
40
|
-
# Étantdonnéque('deploy-context est absent localement') do
|
41
|
-
# deployer.clean if deployer.present_localy?
|
42
|
-
# end
|
43
|
-
|
44
|
-
# Alors('cloner le projet git@github.com:JimboDragonGit\/deploy-context.git') do
|
45
|
-
# deployer.clean if deployer.present_localy?
|
46
|
-
# end
|