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

add more docker spin-up time for mix's laptop #440

Open
wants to merge 4 commits into
base: main
Choose a base branch
from

Conversation

mixmix
Copy link
Collaborator

@mixmix mixmix commented Dec 12, 2024

my little laptop needs 11s to spin up the docker containers 😢

I've been hacking the node_modules but it's annoying, so here we go!

@mixmix mixmix removed the request for review from rh0delta December 12, 2024 03:02
Copy link
Collaborator

@frankiebee frankiebee left a comment

Choose a reason for hiding this comment

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

Id prefer this as a ENV var now that you set in a dot file or somthing in the dir and we default to 10

@frankiebee
Copy link
Collaborator

frankiebee commented Dec 18, 2024

to clarify what i mean https://www.npmjs.com/package/dotenv

@mixmix
Copy link
Collaborator Author

mixmix commented Dec 18, 2024

Yeah this crossed my mind. Good call

@@ -21,8 +19,6 @@ test('test the four-nodes docker script', async (t) => {
// context: all run does is checks that it runs
await run('network up', spinNetworkUp(networkType))

await sleep(process.env.GITHUB_WORKSPACE ? 30_000 * 2 : 5_000 * 2)
Copy link
Collaborator Author

Choose a reason for hiding this comment

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

this is now in spinNetworkUp , I think removing this line is gonna save us 60s in CI 😆

@mixmix mixmix requested a review from frankiebee January 12, 2025 22:34
@mixmix
Copy link
Collaborator Author

mixmix commented Jan 12, 2025

Ready for re-review @frankiebee

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants