Commit 79aabb6
committed
CT: Introduce SECONDARY_DIST_VSN for easier testing
SECONDARY_DIST_VSN takes a version of RabbitMQ to download and
use for the SECONDARY_DIST environment. For example:
SECONDARY_DIST_VSN=4.2.3
The dist environment is only setup once and is not downloaded
again as long as it remains available (ie not deleted).
By default the dist environments are in the secondary_dist/
folder at the root of the RabbitMQ repository. This location
can be changed using the SECONDARY_DIST_DIR variable which
must contain an absolute path to the directory. For example:
SECONDARY_DIST_DIR=/home/`whoami`/rabbitmq/secondary_dist/
Combined we can run mixed version tests using a command like:
SECONDARY_DIST_VSN=4.2.0 SECONDARY_DIST_DIR=/home/`whoami`/rabbitmq/secondary_dist/ make -C deps/rabbit ct
Although SECONDARY_DIST_DIR is best exported from your own
shell's rc file if you're going to use it, as this allows
sharing the same secondary_dist/ directory across all RabbitMQ
clones and worktrees.1 parent acdb36a commit 79aabb6
3 files changed
Lines changed: 19 additions & 1 deletion
File tree
- deps
- rabbit_common/mk
- rabbitmq_ct_helpers/src
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
116 | 116 | | |
117 | 117 | | |
118 | 118 | | |
| 119 | + | |
119 | 120 | | |
120 | 121 | | |
121 | 122 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
42 | 42 | | |
43 | 43 | | |
44 | 44 | | |
| 45 | + | |
| 46 | + | |
| 47 | + | |
| 48 | + | |
| 49 | + | |
| 50 | + | |
| 51 | + | |
| 52 | + | |
| 53 | + | |
| 54 | + | |
| 55 | + | |
| 56 | + | |
| 57 | + | |
| 58 | + | |
| 59 | + | |
| 60 | + | |
| 61 | + | |
| 62 | + | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
339 | 339 | | |
340 | 340 | | |
341 | 341 | | |
342 | | - | |
343 | 342 | | |
344 | 343 | | |
345 | 344 | | |
| |||
0 commit comments