Skip to content

e2e: setup testing for multi-version (backport #9819)#9827

Merged
williambanfield merged 2 commits intov0.34.xfrom
mergify/bp/v0.34.x/pr-9819
Dec 2, 2022
Merged

e2e: setup testing for multi-version (backport #9819)#9827
williambanfield merged 2 commits intov0.34.xfrom
mergify/bp/v0.34.x/pr-9819

Conversation

@mergify
Copy link
Contributor

@mergify mergify bot commented Dec 2, 2022

This is an automatic backport of pull request #9819 done by Mergify.
Cherry-pick of 5ba0d13 has failed:

On branch mergify/bp/v0.34.x/pr-9819
Your branch is up to date with 'origin/v0.34.x'.

You are currently cherry-picking commit 5ba0d131c.
  (fix conflicts and run "git cherry-pick --continue")
  (use "git cherry-pick --skip" to skip this patch)
  (use "git cherry-pick --abort" to cancel the cherry-pick operation)

Changes to be committed:
	renamed:    .github/workflows/docker.yml -> .github/workflows/tendermint-docker.yml
	new file:   .github/workflows/testapp-docker.yml
	modified:   test/e2e/Makefile
	modified:   test/e2e/pkg/infra/docker/docker.go
	modified:   test/e2e/pkg/testnet.go

Unmerged paths:
  (use "git add <file>..." to mark resolution)
	both modified:   test/e2e/pkg/manifest.go

To fix up this pull request, you can check it out locally. See documentation: https://docs.github.com/en/github/collaborating-with-pull-requests/reviewing-changes-in-pull-requests/checking-out-pull-requests-locally


Mergify commands and options

More conditions and actions can be found in the documentation.

You can also trigger Mergify actions by commenting on this pull request:

  • @Mergifyio refresh will re-evaluate the rules
  • @Mergifyio rebase will rebase this PR on its base branch
  • @Mergifyio update will merge the base branch into this PR
  • @Mergifyio backport <destination> will backport this PR on <destination> branch

Additionally, on Mergify dashboard you can:

  • look at your merge queues
  • generate the Mergify configuration with the config editor.

Finally, you can contact us on https://mergify.com

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

(cherry picked from commit 5ba0d13)

# Conflicts:
#	test/e2e/pkg/manifest.go
@mergify mergify bot requested a review from ebuchman as a code owner December 2, 2022 18:37
@mergify mergify bot requested a review from a team December 2, 2022 18:37
@mergify mergify bot requested review from adizere and lasarojc as code owners December 2, 2022 18:37
@mergify mergify bot added the conflicts label Dec 2, 2022
@williambanfield williambanfield merged commit 01d904b into v0.34.x Dec 2, 2022
@williambanfield williambanfield deleted the mergify/bp/v0.34.x/pr-9819 branch December 2, 2022 19:55
@moul moul mentioned this pull request Mar 6, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant