Skip to content

refactor: cometbft image build#5179

Merged
zrbecker merged 1 commit intomainfrom
zrb/refactor_cometbft_docker_build
Jun 5, 2025
Merged

refactor: cometbft image build#5179
zrbecker merged 1 commit intomainfrom
zrb/refactor_cometbft_docker_build

Conversation

@zrbecker
Copy link
Copy Markdown

@zrbecker zrbecker commented Jun 5, 2025


This is a refactor of the CometBFT docker image build.

The current state of this build is completely broken. It builds an amd64 and an arm64 version, and publishes each of them individually without doing a multi-arch image. The result is only the arch that finishes last ends up tagged.

This PR will make the single-arch builds tagged with arch specific labels, and the current labels with be multi-arch builds.

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

@zrbecker zrbecker requested review from a team as code owners June 5, 2025 16:41
@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 loadtests - List of load test modes that ironbird can run against testnet
  • /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
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.

@zrbecker zrbecker enabled auto-merge (squash) June 5, 2025 16:47
@zrbecker zrbecker added backport-to-v0.38.x Tell Mergify to backport the PR to v0.38.x backport-to-v1.x labels Jun 5, 2025
@zrbecker zrbecker merged commit fa76e35 into main Jun 5, 2025
33 checks passed
@zrbecker zrbecker deleted the zrb/refactor_cometbft_docker_build branch June 5, 2025 16:49
mergify bot pushed a commit that referenced this pull request Jun 5, 2025
---

This is a refactor of the CometBFT docker image build.

The current state of this build is completely broken. It builds an amd64
and an arm64 version, and publishes each of them individually without
doing a multi-arch image. The result is only the arch that finishes last
ends up tagged.

This PR will make the single-arch builds tagged with arch specific
labels, and the current labels with be multi-arch builds.

#### 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 fa76e35)

# Conflicts:
#	.github/workflows/cometbft-docker.yml
mergify bot pushed a commit that referenced this pull request Jun 5, 2025
---

This is a refactor of the CometBFT docker image build.

The current state of this build is completely broken. It builds an amd64
and an arm64 version, and publishes each of them individually without
doing a multi-arch image. The result is only the arch that finishes last
ends up tagged.

This PR will make the single-arch builds tagged with arch specific
labels, and the current labels with be multi-arch builds.

#### 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 fa76e35)

# Conflicts:
#	.github/workflows/cometbft-docker.yml
mergify bot added a commit that referenced this pull request Jun 5, 2025
---

This is a refactor of the CometBFT docker image build.

The current state of this build is completely broken. It builds an amd64
and an arm64 version, and publishes each of them individually without
doing a multi-arch image. The result is only the arch that finishes last
ends up tagged.

This PR will make the single-arch builds tagged with arch specific
labels, and the current labels with be multi-arch builds.

#### 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
<hr>This is an automatic backport of pull request #5179 done by
[Mergify](https://mergify.com).

---------

Co-authored-by: Zachary Becker <zachary@interchainlabs.io>
mergify bot added a commit that referenced this pull request Jun 5, 2025
---

This is a refactor of the CometBFT docker image build.

The current state of this build is completely broken. It builds an amd64
and an arm64 version, and publishes each of them individually without
doing a multi-arch image. The result is only the arch that finishes last
ends up tagged.

This PR will make the single-arch builds tagged with arch specific
labels, and the current labels with be multi-arch builds.

#### 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
<hr>This is an automatic backport of pull request #5179 done by
[Mergify](https://mergify.com).

---------

Co-authored-by: Zachary Becker <zachary@interchainlabs.io>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

backport-to-v0.38.x Tell Mergify to backport the PR to v0.38.x

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants