-
Notifications
You must be signed in to change notification settings - Fork 48
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
[BUG] make release-prod can not work properly #444
Comments
Thanks for submitting this @Taction, unfortunately OTP 25 is not supported by distillery bitwalker/distillery#744 and we'll likely move to mix releases as a way to compensate. Distillery has gradually become less maintained as the official tooling caught up to its revolutionary features. If you'd like to try, I'd be curious if this occurs for you with OTP 24, but if not I'd love to learn about your use case for building a release manually and see if I can help |
@brooksmtownsend Thanks for your reply. I am kindly new to the elixir, and I failed to downgrade the OTP to 24. 😭
I would like to build my own image for I may change the source code. But since I am in china so there are some network issues with the command |
@Taction If you're looking to contribute, that's fantastic! If you'd like to build on your local machine, you can use the Elixir toolchain to do so. Check out https://github.com/wasmCloud/wasmcloud-otp/tree/main/wasmcloud_host#starting-the-host-and-web-ui-dashboard for instructions there 😄 Let me know how these steps work for you! I'll take a look at the release prod script in the meantime |
Signed-off-by: Brooks Townsend <[email protected]>
Signed-off-by: Brooks Townsend <[email protected]>
I can start successfully with Also, is it possible to move |
@Taction I did just want to point you to https://hub.docker.com/r/wasmcloud/wasmcloud_host, we publish a docker image with each release so you should be able to use that for your k8s test environment. However, if you're looking to contribute your own changes and test for k8s, I would recommend using the
Unfortunately the dart_sass package doesn't have support for aarch64-unknown-linux-gnu so it's not possible to build it into the Docker image 😢. That being said, the only time the static assets need to be updated are when there are CSS/JS changes, so we could explore committing those files. I'm also open to changing the tooling to a different bundler if that is available |
@brooksmtownsend Thanks for your reply. We would like to test it in k8s if the changes work correctly. Waiting for the official image to be released is a bit slow behind and some of the custom modifications are not always accepted. I've tried
getting the error:
|
Ah @Taction this was a measure to speed up CI builds since that's generally the only reason we build containers nowadays. I'm actually looking into our CI this week thanks to a few bugs in OTP 24, so I'll look into a fallback that can build the NIF inside of the container if it's not supplied. |
Closing as the new make targets like |
Describe the bug
When running
make release-prod
I encountered the following error:To Reproduce
Steps to reproduce the behavior:
Expected behavior
A clear and concise description of what you expected to happen.
Environment (please complete the following information)
If you ran into this issue while developing a feature for wasmCloud:
elixir --version
e.g.:cargo --version
e.g.:Additional context
The makefile seems to have some typo error, and I changed it to the following:
The text was updated successfully, but these errors were encountered: