Commit 936221e
e2e: Add multi-version support to generator (backport of tendermint#9933 to v0.34) (tendermint#9935)
* e2e: Improve help for multi-version CLI param
Signed-off-by: Thane Thomson <connect@thanethomson.com>
* e2e: Rename multiversion to multiVersion
Signed-off-by: Thane Thomson <connect@thanethomson.com>
* e2e: Extract generator params into struct
Signed-off-by: Thane Thomson <connect@thanethomson.com>
* e2e: Add support for more than 2 versions in multi-version tests
Signed-off-by: Thane Thomson <connect@thanethomson.com>
* e2e: Add generator logic to extract latest release tag from Git repo
Signed-off-by: Thane Thomson <connect@thanethomson.com>
* e2e: Cater for "dev-" prefixes in tags
Signed-off-by: Thane Thomson <connect@thanethomson.com>
* e2e: Add sophisticated weighted version parsing to generator
Signed-off-by: Thane Thomson <connect@thanethomson.com>
* e2e: Add note to E2E readme about multi-version testing
Signed-off-by: Thane Thomson <connect@thanethomson.com>
* e2e: Expand on Docker image comment in readme
Signed-off-by: Thane Thomson <connect@thanethomson.com>
* e2e: Replace "HEAD" keyword with "local"
Also add the version weighting printout when generating a testnet for
informational purposes.
Signed-off-by: Thane Thomson <connect@thanethomson.com>
* e2e: Update readme to reflect "HEAD" -> "local" keyword change and expand on examples
Signed-off-by: Thane Thomson <connect@thanethomson.com>
* e2e: Clarify comment relating to Docker image versions
Signed-off-by: Thane Thomson <connect@thanethomson.com>
* Apply suggestions from code review
Co-authored-by: Sergio Mena <sergio@informal.systems>
* e2e: Skip invalid tags instead of erroring in generator
Signed-off-by: Thane Thomson <connect@thanethomson.com>
* e2e: Add comment in version selection code
Signed-off-by: Thane Thomson <connect@thanethomson.com>
* e2e: Use error format specifier when returning wrapped error
Signed-off-by: Thane Thomson <connect@thanethomson.com>
Signed-off-by: Thane Thomson <connect@thanethomson.com>
Co-authored-by: Sergio Mena <sergio@informal.systems>1 parent 7056368 commit 936221e
6 files changed
Lines changed: 324 additions & 36 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
35 | 35 | | |
36 | 36 | | |
37 | 37 | | |
38 | | - | |
39 | | - | |
| 38 | + | |
| 39 | + | |
40 | 40 | | |
41 | 41 | | |
42 | 42 | | |
| |||
52 | 52 | | |
53 | 53 | | |
54 | 54 | | |
| 55 | + | |
55 | 56 | | |
56 | 57 | | |
| 58 | + | |
57 | 59 | | |
58 | 60 | | |
59 | 61 | | |
| |||
72 | 74 | | |
73 | 75 | | |
74 | 76 | | |
| 77 | + | |
| 78 | + | |
75 | 79 | | |
76 | 80 | | |
77 | 81 | | |
| |||
90 | 94 | | |
91 | 95 | | |
92 | 96 | | |
| 97 | + | |
93 | 98 | | |
94 | 99 | | |
95 | 100 | | |
| |||
108 | 113 | | |
109 | 114 | | |
110 | 115 | | |
| 116 | + | |
111 | 117 | | |
112 | 118 | | |
113 | 119 | | |
| |||
117 | 123 | | |
118 | 124 | | |
119 | 125 | | |
| 126 | + | |
| 127 | + | |
120 | 128 | | |
121 | 129 | | |
122 | 130 | | |
| |||
154 | 162 | | |
155 | 163 | | |
156 | 164 | | |
| 165 | + | |
157 | 166 | | |
| 167 | + | |
158 | 168 | | |
159 | 169 | | |
160 | 170 | | |
161 | 171 | | |
162 | 172 | | |
163 | 173 | | |
| 174 | + | |
164 | 175 | | |
165 | 176 | | |
166 | 177 | | |
| |||
202 | 213 | | |
203 | 214 | | |
204 | 215 | | |
| 216 | + | |
205 | 217 | | |
206 | 218 | | |
207 | 219 | | |
| |||
222 | 234 | | |
223 | 235 | | |
224 | 236 | | |
| 237 | + | |
225 | 238 | | |
226 | 239 | | |
227 | 240 | | |
228 | 241 | | |
229 | 242 | | |
| 243 | + | |
230 | 244 | | |
231 | 245 | | |
232 | 246 | | |
| |||
247 | 261 | | |
248 | 262 | | |
249 | 263 | | |
| 264 | + | |
250 | 265 | | |
251 | 266 | | |
252 | 267 | | |
| |||
261 | 276 | | |
262 | 277 | | |
263 | 278 | | |
264 | | - | |
265 | | - | |
266 | | - | |
267 | | - | |
268 | | - | |
269 | | - | |
| 279 | + | |
| 280 | + | |
| 281 | + | |
| 282 | + | |
| 283 | + | |
| 284 | + | |
270 | 285 | | |
271 | 286 | | |
| 287 | + | |
272 | 288 | | |
273 | 289 | | |
274 | 290 | | |
| |||
0 commit comments