You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Keep in mind that `refs` should be present in regsitry you are testing against, the first (oldest) `ref` should also have a valid end-to-end test that works.
@@ -32,27 +33,52 @@ In CI we detect SemVer tags automatically, whenever a new tag appears we select
32
33
33
34
```bash
34
35
ctf compat backward \
35
-
--registry <sdlc_ecr_registry> \
36
+
--registry <sdlc_ecr_chainlink_registry> \
36
37
--buildcmd "just cli" \
37
-
--envcmd "cl r" \
38
+
--envcmd "cl r env.toml,products/ocr2/basic.toml" \
38
39
--testcmd "cl test ocr2 TestSmoke/rounds" \
39
-
--nodes 3 \
40
-
--versions-back 3
40
+
--strip-image-suffix v \
41
+
--upgrade-nodes 2 \
42
+
--versions-back 2
41
43
```
42
44
43
45
In case you have multiple DONs in your product and names of nodes are different please use `--node-name-template custom-cl-node-%d` option
44
46
45
-
## Modelling Node Operators Cluster
47
+
## Modelling Node Operators Cluster (WIP)
46
48
47
-
It is possible to fetch versions node operators are currently running and model DON upgrade sequence locally. Logic is the same, get all the versions, rollback to the oldest one, setup product, verify, try to upgrade all the versions running the oldest test for each upgrade.
49
+
It is possible to fetch versions node operators are currently running and model DON upgrade sequence locally. When `product`is specified, `compat` will fetch the current versions from the RANE SOT data source and model the upgrade sequence for versions found on real DONs up to the latest one, each node one at a time.
48
50
49
51
```bash
50
52
ctf compat backward \
51
-
--registry <sdlc_ecr_registry>\
53
+
--registry <sdlc_ecr_chainlink_registry>\
52
54
--buildcmd "just cli" \
53
-
--envcmd "cl r" \
55
+
--envcmd "cl r env.toml,products/ocr2/basic.toml" \
56
+
--testcmd "cl test ocr2 TestSmoke/rounds" \
57
+
--product data-feeds \
58
+
--no-git-rollback \
59
+
--don_nodes 5
60
+
```
61
+
62
+
The tool will check out earliest Git `ref` and setup environment and tests.
63
+
64
+
If you don't have tests on this tag you can use `--no-git-rollback` to skip the rollback step.
65
+
66
+
Since not all the versions from SOT are currently having corresponding Git tags or images, you can provide refs directly using `--refs` flag, useful for testing.
67
+
68
+
```bash
69
+
ctf compat backward \
70
+
--registry <sdlc_ecr_chainlink_registry>\
71
+
--buildcmd "just cli" \
72
+
--envcmd "cl r env.toml,products/ocr2/basic.toml" \
0 commit comments