Skip to content

Commit

Permalink
tools/docker: remove abci-harness
Browse files Browse the repository at this point in the history
The abci-harness image was used to test the terdermint-abci crate
which has been removed in transition to cometbft-rs.
  • Loading branch information
mzabaluev committed Dec 14, 2023
1 parent 341c741 commit d784dcf
Show file tree
Hide file tree
Showing 8 changed files with 0 additions and 178 deletions.
24 changes: 0 additions & 24 deletions tools/docker/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -43,27 +43,3 @@ Both wallets have an initial signed transaction created for easier population of
the network before testing. These transactions will send uatom tokens from c0 ->
c1 and vice versa. They are both signed as `sequence 0` in the wallet, so they
can only be executed as the first transaction of the corresponding wallet.

## abci-harness

This image is used during CI testing in the abci-rs crate. It tests
compatibility with the CometBFT Go implementation. It derives from the
CometBFT Docker image above, but it expects a volume attached at `/abci` that
contains the ABCI application to be tested. The name of the ABCI application is
`kvstore-rs` by default. This can be changed by setting the `ABCI_APP`
environment variable.

The image will fire up a CometBFT node (auto-creating the configuration) and
then execute the ABCI application from the attached volume. It logs the
CometBFT node log into kvstore-rs.cometbft and the ABCI application log into
kvstore-rs.log on the attached volume.

This image has both the `muslc` and `glibc` libraries installed for easy testing
of dynamically linked binaries.

Example:
```bash
docker run -it --rm -v $PWD/target/debug:/abci -p 26657:26657 informaldev/abci-harness:0.34.0
```

The image version reflects the CometBFT Go binary version.
1 change: 0 additions & 1 deletion tools/docker/abci-harness-custom-bin/.gitignore

This file was deleted.

30 changes: 0 additions & 30 deletions tools/docker/abci-harness-custom-bin/Dockerfile

This file was deleted.

40 changes: 0 additions & 40 deletions tools/docker/abci-harness-custom-bin/entrypoint

This file was deleted.

1 change: 0 additions & 1 deletion tools/docker/abci-harness/.gitignore

This file was deleted.

35 changes: 0 additions & 35 deletions tools/docker/abci-harness/Dockerfile

This file was deleted.

40 changes: 0 additions & 40 deletions tools/docker/abci-harness/entrypoint

This file was deleted.

7 changes: 0 additions & 7 deletions tools/docker/build-images.sh
Original file line number Diff line number Diff line change
Expand Up @@ -6,13 +6,6 @@ CMTVERSION=${CMTVERSION:-0.34.21}

echo "Building for CometBFT v${CMTVERSION}..."

# Build the ABCI test harness
docker build \
-f abci-harness/Dockerfile \
--build-arg CMTVERSION=${CMTVERSION} \
--tag informaldev/cometbft:${CMTVERSION} \
./abci-harness/

# Build the CometBFT development image
docker build \
-f cometbft/Dockerfile \
Expand Down

0 comments on commit d784dcf

Please sign in to comment.