mirror of
https://github.com/tendermint/tendermint.git
synced 2026-01-06 21:36:26 +00:00
This pull requests sets up the e2e tests to be able to support multiple versions within the same test network. This is achieved through a few simple changes:
* Each node takes a `version` parameter in the testnet manifest. This dictates which version of the testapp to use. If not set, the locally available version is used.
* Adds a `testapp-docker.yml` workflow that publishes the testapp to docker hub so that tagged versions may be available for use in a multi-version test network.
This change does not actually add a testnetwork that does multi-version testing. Since no previous versions of the testapp have been published to dockerhub, there are not old versions available to test against. We'll either need to configure this after the next minor release which will trigger a testapp to be pushed to dockerhub, or push an image from the previous version of Tendermint so that the multiversion test has an old version to pull.
#### PR checklist
- [ ] Tests written/updated, or no tests needed
- [ ] `CHANGELOG_PENDING.md` updated, or no changelog entry needed
- [ ] Updated relevant documentation (`docs/`) and code comments, or no
documentation updates needed
19 lines
513 B
Makefile
19 lines
513 B
Makefile
all: docker generator runner
|
|
|
|
docker:
|
|
docker build --tag tendermint/e2e-node --tag tendermint/e2e-node:local-version -f docker/Dockerfile ../..
|
|
|
|
# We need to build support for database backends into the app in
|
|
# order to build a binary with a Tendermint node in it (for built-in
|
|
# ABCI testing).
|
|
node:
|
|
go build -o build/node -tags badgerdb,boltdb,cleveldb,rocksdb ./node
|
|
|
|
generator:
|
|
go build -o build/generator ./generator
|
|
|
|
runner:
|
|
go build -o build/runner ./runner
|
|
|
|
.PHONY: all node docker generator runner
|