-
Notifications
You must be signed in to change notification settings - Fork 717
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
tilt: even more multi-platform support #4186
base: main
Are you sure you want to change the base?
tilt: even more multi-platform support #4186
Conversation
402fba1
to
0bd109b
Compare
0bd109b
to
8f1f3aa
Compare
TL;DR I can't get a local build to work but I think it's because my machine doesn't have the resources to run the example commands. If I run just Things tried:
wormchain itself actually shows up green for the tests, but generally I can't do My suspicion is that my computer is too resource-constrained and the various errors are basically bogus but I'm curious about your thoughts. eth-devnet and Wormchain fail with 'disk pressure' problems:
Wormchain
Algorand
NEAR
Terra2
|
@johnsaigle how much disk space do you have available to docker (in settings > resources)? May need 200 GB to be safe. I run with 400 GB set. I don’t think it should require nearly that much, but it’s definitely more than 20. The disk pressure errors make me think you’re OOSing the vm. Also just to double check, if you’re on a Mac, that you’re using the Apple Virtualization framework (settings > general). I can detail settings that work for me if it’s none of these. |
8f1f3aa
to
dd5b21c
Compare
This PR adds more multi-platform support. With this PR,
tilt up -- --ci
should come up green! You may want to add--maxWorkers=2
too keep the memory consumption down on thesdk-ci-tests
container.As noted in the markdown file, I ran into an issue doing the multi-platform build from a Mac, likely due to lack of AVX support - not an issue, just something for folks to be aware of should that image ever need to be updated. I simply built from a native arm64 machine and then a native amd64 machine, pushed them both, and made an index from those.
As of this writing, Foundry does not provide arm64 docker images on ghcr, just amd64 😿 So I just built the multi-platform image from the matching commit and pushed it here.