Skip to content

refactor: e2e-node docker build (backport #5176)#5178

Merged
mergify[bot] merged 2 commits intov0.38.xfrom
mergify/bp/v0.38.x/pr-5176
Jun 5, 2025
Merged

refactor: e2e-node docker build (backport #5176)#5178
mergify[bot] merged 2 commits intov0.38.xfrom
mergify/bp/v0.38.x/pr-5176

Conversation

@mergify
Copy link
Copy Markdown
Contributor

@mergify mergify bot commented Jun 5, 2025


The way the old docker file worked, it would build images and tag them, but that tag gets overwritten by the multi-architecture build.

This is very confusing because there is times during build where the multi-architecture build only has amd64 for a minute or so, then it only has arm64 for a minute or so, and assuming the job doesn't fail, it eventually becomes a true multi architecture image.

This PR instead creates a separate tag for the single architecture build to make the intermediate steps a bit clearer, and in case of failure doesn't accidently leave a multi-arch build in a single-arch state.

This can safely be backported to v1.x and v0.38.x

PR checklist

  • Tests written/updated
  • Changelog entry added in .changelog (we use unclog to manage our changelog)
  • Updated relevant documentation (docs/ or spec/) and code comments

This is an automatic backport of pull request #5176 done by [Mergify](https://mergify.com).

---

The way the old docker file worked, it would build images and tag them,
but that tag gets overwritten by the multi-architecture build.

This is very confusing because there is times during build where the
multi-architecture build only has amd64 for a minute or so, then it only
has arm64 for a minute or so, and assuming the job doesn't fail, it
eventually becomes a true multi architecture image.

This PR instead creates a separate tag for the single architecture build
to make the intermediate steps a bit clearer, and in case of failure
doesn't accidently leave a multi-arch build in a single-arch state.

This can safely be backported to v1.x and v0.38.x

#### PR checklist

- [x] Tests written/updated
- [x] Changelog entry added in `.changelog` (we use
[unclog](https://github.com/informalsystems/unclog) to manage our
changelog)
- [x] Updated relevant documentation (`docs/` or `spec/`) and code
comments

(cherry picked from commit a7fd3a9)

# Conflicts:
#	.github/workflows/testapp-docker.yml
@mergify mergify bot added the conflicts label Jun 5, 2025
@mergify mergify bot requested review from a team as code owners June 5, 2025 16:05
@mergify mergify bot added the conflicts label Jun 5, 2025
@mergify
Copy link
Copy Markdown
Contributor Author

mergify bot commented Jun 5, 2025

Cherry-pick of a7fd3a9 has failed:

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

You are currently cherry-picking commit a7fd3a99.
  (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:
	new file:   .github/workflows/docker-build-e2e-node.yml

Unmerged paths:
  (use "git add/rm <file>..." as appropriate to mark resolution)
	deleted by them: .github/workflows/testapp-docker.yml

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

@ironbird-prod
Copy link
Copy Markdown

ironbird-prod bot commented Jun 5, 2025

Ironbird - launch a network To use Ironbird, you can use the following commands:
  • /ironbird start OR /ironbird start --load-test-config= - Launch a testnet with the specified chain and load test configuration.
  • /ironbird chains - List of chain images that ironbird can use to spin-up testnet
  • /ironbird loadtests - List of load test modes that ironbird can run against testnet
Custom Load Test Configuration You can provide a custom load test configuration using the `--load-test-config=` flag:
/ironbird start cosmos --load-test-config={
  "block_gas_limit_target": 0.75,
  "num_of_blocks": 50,
  "msgs": [
    {"weight": 0.3, "type": "MsgSend"},
    {"weight": 0.3, "type": "MsgMultiSend"},
	{"weight": 0.4, "type": "MsgArr", "ContainedType": "MsgSend", "NumMsgs": 3300}
  ]
}

Use /ironbird loadtests to see more examples.

@mergify mergify bot merged commit 6d8801c into v0.38.x Jun 5, 2025
18 checks passed
@mergify mergify bot deleted the mergify/bp/v0.38.x/pr-5176 branch June 5, 2025 16:16
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