Commit Graph
17 Commits
Author SHA1 Message Date
William Banfield b378a2b59d use --no-start 2022-12-09 16:21:26 -05:00
William Banfield 64a65c75f1 use correct variable in e2e compose 2022-12-08 15:27:57 -05:00
William Banfield ad9c3140fb Merge remote-tracking branch 'origin/main' into wb/issue-9790 2022-12-05 11:52:28 -05:00
William BanfieldandGitHub 5ba0d131c4 e2e: setup testing for multi-version (#9819)
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
2022-12-02 18:37:33 +00:00
William Banfield eec848b408 add create node to infra provider 2022-12-01 11:17:03 -05:00
William Banfield 9e4a24681c docker.exec takes context 2022-12-01 11:17:03 -05:00
William Banfield eb46fdc720 compose verbose takes context 2022-12-01 11:17:03 -05:00
William Banfield be8d980f83 exec compose takes context 2022-12-01 11:17:03 -05:00
William Banfield 6415af6b92 functionality in place for start kill terminate 2022-12-01 11:17:03 -05:00
William Banfield 55c0e472c9 all exec switched to docker package 2022-12-01 11:17:03 -05:00
William Banfield 241c96a96e switch exec compose to docker pkg 2022-12-01 11:17:03 -05:00
William Banfield 11ca11a8cc add param names 2022-12-01 11:17:03 -05:00
William Banfield 23cb6ad834 add terminate vs kill 2022-12-01 11:17:03 -05:00
William Banfield 64b0340251 rename to 'kill tendermint' 2022-12-01 11:17:03 -05:00
William Banfield 1a831b2fcb rename to 'tendermint' 2022-12-01 11:17:03 -05:00
William Banfield e49f6aecdb shim in start and stop methods 2022-12-01 11:17:03 -05:00
William BanfieldandGitHub f6709208b0 e2e: configurable IP addresses for e2e testnet generator (#9592)
* add the infrastructure types

* add infra data to testnetload

* extract infrastructure generation from manifest creation

* add infrastructure type and data flags

* rename docker ifd constructor

* implement read ifd from file

* add 'provider' field to the infrastructure data file to disable ip range check

* return error from infrastructure from data file function

* remove ifd from Setup

* implement a basic infra provider with a simple setup command

* remove misbehavior remnants

* use manifest instead of file in all places

* include cidr block range in the infrastructure data

* nolint gosec

* gosec

* lint
2022-10-25 10:19:10 -04:00