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: introduce dev mode with allowing all effectors #2127

Merged
merged 13 commits into from
Mar 1, 2024
Merged

Conversation

kmd-fl
Copy link
Contributor

@kmd-fl kmd-fl commented Mar 1, 2024

Description

Introduce developer mod to allow any effectors

Motivation

Need less secure node for local developing.

Proposed Changes

  • add new flag --dev-mode to enter the developer mode
  • add mounted binaries configuration with binary names and their pathes to be able to generate marine configs for them

Additional Notes

I'll make it look nicer when there's time to think.

Example

To enable dev mode you can either use the --dev-mode flag or write it in the Config.toml file

[dev_mode]
enable = true
[dev_mode.binaries]
ls = "/bin/ls"

By default, the dev mode is disabled. Also, we provide settings for curl and ipfs by default.

You can also provide only config for your binaries and then regulate the mode by the --dev-mode flag

[dev_mode.binaries]
ls = "/bin/ls"

Or you can set the dev mode enabled in the config without providing the setting for the mounted binaries. In this case the default ones will be used.

[dev_mode]
enable = true

@kmd-fl kmd-fl requested a review from justprosh March 1, 2024 15:31
@kmd-fl kmd-fl changed the title Allow effectors feat: introduce dev mode with allowing all effectors Mar 1, 2024
@kmd-fl
Copy link
Contributor Author

kmd-fl commented Mar 1, 2024

Re-opened PR to fix broken GitHub

@kmd-fl kmd-fl added the e2e Run e2e workflow label Mar 1, 2024
@kmd-fl kmd-fl enabled auto-merge (squash) March 1, 2024 18:57
@kmd-fl kmd-fl merged commit 0eee6bf into master Mar 1, 2024
17 checks passed
@kmd-fl kmd-fl deleted the allow-effectors branch March 1, 2024 19:08
justprosh pushed a commit to fluencelabs/cli that referenced this pull request Mar 1, 2024
…g by default (#822)

- bump deal-ts-clients to 0.7.1
- bump nox 0.21.3
- enable dev-mode for local up fluencelabs/nox#2127
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
e2e Run e2e workflow
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants