Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat: wiring for additional start args and env #933

Merged
merged 2 commits into from
Jan 11, 2024

Conversation

Reecepbcups
Copy link
Member

@Reecepbcups Reecepbcups commented Jan 4, 2024

From Andrew's branch andrew/env_and_args

I cherry-picked not sure why he is not in the commit

@Reecepbcups Reecepbcups changed the title v8: Writing for additional start args and env feat: writing for additional start args and env Jan 4, 2024
@Reecepbcups Reecepbcups marked this pull request as ready for review January 5, 2024 00:30
@Reecepbcups Reecepbcups requested a review from a team as a code owner January 5, 2024 00:30
@Reecepbcups Reecepbcups added the BACKPORT backport into all maintained branches label Jan 5, 2024
@Reecepbcups Reecepbcups changed the title feat: writing for additional start args and env feat: wiring for additional start args and env Jan 5, 2024
@Reecepbcups Reecepbcups added BACKPORT backport into all maintained branches and removed BACKPORT backport into all maintained branches labels Jan 5, 2024
@@ -1306,7 +1314,7 @@ func (tn *ChainNode) CreateNodeContainer(ctx context.Context) error {
fmt.Printf("Port Overrides: %v. Using: %v\n", chainCfg.HostPortOverride, usingPorts)
}

return tn.containerLifecycle.CreateContainer(ctx, tn.TestName, tn.NetworkID, tn.Image, usingPorts, tn.Bind(), nil, tn.HostName(), cmd, nil)
return tn.containerLifecycle.CreateContainer(ctx, tn.TestName, tn.NetworkID, tn.Image, usingPorts, tn.Bind(), nil, tn.HostName(), cmd, chainCfg.Env)
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Nice.
This is a bug fix right?
Good eye.

@Reecepbcups Reecepbcups enabled auto-merge (squash) January 11, 2024 03:46
@Reecepbcups Reecepbcups merged commit 0a8a8a2 into main Jan 11, 2024
11 checks passed
@Reecepbcups Reecepbcups deleted the reece/env-and-args-backport branch January 11, 2024 04:00
mergify bot pushed a commit that referenced this pull request Jan 11, 2024
(cherry picked from commit 0a8a8a2)

# Conflicts:
#	chain/cosmos/chain_node.go
#	chain/cosmos/sidecar.go
#	ibc/types.go
Reecepbcups added a commit that referenced this pull request Feb 2, 2024
* andrew's writing for additional start args and env (#933)

(cherry picked from commit 0a8a8a2)

# Conflicts:
#	chain/cosmos/chain_node.go
#	chain/cosmos/sidecar.go
#	ibc/types.go

* merge v7 + portmap changes

* iter for `usingPorts`

---------

Co-authored-by: Reece Williams <[email protected]>
Co-authored-by: Reece Williams <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
BACKPORT backport into all maintained branches
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants