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
Copy file name to clipboardExpand all lines: tests/antithesis/README.md
+10Lines changed: 10 additions & 0 deletions
Original file line number
Diff line number
Diff line change
@@ -11,6 +11,14 @@ make antithesis-build-client-docker-image
11
11
make antithesis-build-etcd-image
12
12
```
13
13
14
+
Both commands build etcd-server and etcd-client from the current branch. To build a different version of etcd you can use:
15
+
16
+
```bash
17
+
make antithesis-build-etcd-image REF=${YOUR_GIT_REF_OR_BRANCH} DOCKERFILE=${PATH_TO_etcd_DOCKERFILE}
18
+
```
19
+
20
+
By default, REF is set to `HEAD` and DOCKERFILE is `./Dockerfile`. The etcd Dockerfile location might not be at the same location or have the same name (for example, compare its location `release-3.4` between `release-3.5`). If the file location or name is different than the default in the target ref or branch, change it accordingly.
21
+
14
22
### 2. (Optional) Check the Image Locally
15
23
16
24
You can verify your new image is built:
@@ -33,6 +41,8 @@ Run the following command from the root directory for Antithesis tests (`tests/a
33
41
make antithesis-docker-compose-up
34
42
```
35
43
44
+
The command uses the etcd client and server images built from step 1.
45
+
36
46
The client will continuously check the health of the etcd nodes and print logs similar to:
0 commit comments