Commit 483f2f9
authored
Ensure docker-compose runs down process if any error setting up service or agents (#3207)
Ensures that the tear down process (specially docker-compose down
command) is executed if there is any failure in the SetUp process of
Service and Agent deployers based on docker-compose. Running this
tear down process ensures that there are no stale docker resources,
e.g. docker networks, if containers failed to start.1 parent 5685a34 commit 483f2f9
File tree
5 files changed
+71
-13
lines changed- internal
- agentdeployer
- cobraext
- servicedeployer
5 files changed
+71
-13
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
177 | 177 | | |
178 | 178 | | |
179 | 179 | | |
| 180 | + | |
| 181 | + | |
| 182 | + | |
| 183 | + | |
| 184 | + | |
| 185 | + | |
| 186 | + | |
| 187 | + | |
| 188 | + | |
| 189 | + | |
| 190 | + | |
| 191 | + | |
| 192 | + | |
| 193 | + | |
| 194 | + | |
| 195 | + | |
| 196 | + | |
| 197 | + | |
| 198 | + | |
| 199 | + | |
180 | 200 | | |
181 | 201 | | |
182 | 202 | | |
| |||
194 | 214 | | |
195 | 215 | | |
196 | 216 | | |
197 | | - | |
198 | | - | |
199 | | - | |
200 | 217 | | |
201 | 218 | | |
202 | 219 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
275 | 275 | | |
276 | 276 | | |
277 | 277 | | |
278 | | - | |
| 278 | + | |
279 | 279 | | |
280 | 280 | | |
281 | 281 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
118 | 118 | | |
119 | 119 | | |
120 | 120 | | |
| 121 | + | |
| 122 | + | |
| 123 | + | |
| 124 | + | |
| 125 | + | |
| 126 | + | |
| 127 | + | |
| 128 | + | |
| 129 | + | |
| 130 | + | |
| 131 | + | |
| 132 | + | |
| 133 | + | |
| 134 | + | |
| 135 | + | |
| 136 | + | |
| 137 | + | |
| 138 | + | |
| 139 | + | |
| 140 | + | |
121 | 141 | | |
122 | 142 | | |
123 | 143 | | |
| |||
130 | 150 | | |
131 | 151 | | |
132 | 152 | | |
133 | | - | |
134 | | - | |
135 | | - | |
136 | 153 | | |
137 | 154 | | |
138 | 155 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
156 | 156 | | |
157 | 157 | | |
158 | 158 | | |
| 159 | + | |
| 160 | + | |
| 161 | + | |
| 162 | + | |
| 163 | + | |
| 164 | + | |
| 165 | + | |
| 166 | + | |
| 167 | + | |
| 168 | + | |
| 169 | + | |
| 170 | + | |
| 171 | + | |
| 172 | + | |
| 173 | + | |
| 174 | + | |
| 175 | + | |
| 176 | + | |
| 177 | + | |
| 178 | + | |
159 | 179 | | |
160 | 180 | | |
161 | 181 | | |
| |||
177 | 197 | | |
178 | 198 | | |
179 | 199 | | |
180 | | - | |
181 | | - | |
182 | | - | |
183 | 200 | | |
184 | 201 | | |
185 | 202 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
147 | 147 | | |
148 | 148 | | |
149 | 149 | | |
| 150 | + | |
| 151 | + | |
| 152 | + | |
| 153 | + | |
| 154 | + | |
| 155 | + | |
| 156 | + | |
| 157 | + | |
| 158 | + | |
| 159 | + | |
150 | 160 | | |
151 | 161 | | |
152 | 162 | | |
| |||
159 | 169 | | |
160 | 170 | | |
161 | 171 | | |
162 | | - | |
163 | | - | |
164 | | - | |
165 | 172 | | |
166 | 173 | | |
167 | 174 | | |
| |||
0 commit comments