Skip to content
This repository has been archived by the owner on Apr 4, 2024. It is now read-only.

Pass erlang VM arguments to bors #1696

Open
diraol opened this issue Jul 25, 2023 · 1 comment
Open

Pass erlang VM arguments to bors #1696

diraol opened this issue Jul 25, 2023 · 1 comment

Comments

@diraol
Copy link
Contributor

diraol commented Jul 25, 2023

Hi, here I am again :)

I'd like some help to understand how can I pass some erlang VM tunning arguments to bors VM.

Would it be enough to just /usr/local/bin/bors-ng-entrypoint ./bors/bin/bors foreground +sbwt none +S ${SCHEDULERS} or /usr/local/bin/bors-ng-entrypoint ./bors/bin/bors foreground --erl "+sbwt none +S ${SCHEDULERS}" ?
Or can I pass it through environment variables?

I guess there is no way to use vm.args.src settings file, right?

Thanks!

@notriddle
Copy link
Member

Mostly, bors-ng uses Distillery for releases, which documents the various ways of configuring it here:

https://github.com/bors-ng/distillery/blob/8ba8cb437e10e873152f1c44f13c5181752ba142/docs/config/runtime.md?plain=1#L139

In short, you'll want to configure how VM args are passed in config/prod.exs and compile bors-ng with the correct setting.

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

No branches or pull requests

2 participants