-
Notifications
You must be signed in to change notification settings - Fork 129
Description
Is your feature request related to a problem? Please describe.
When users have to install custom jobs, they have to add them to the install_data-section:
install_jobs:
- name: forward_model
source: r{{configpath}}/../input/forward_modelwhere source points to a file, which is typically just EXECUTABLE forward_model.exe, but can also have some other config options.
This causes the user to have to manage extra external files.
Describe the solution you'd like
This should be inlined into the install_jobs section with no need for an external file:
install_jobs:
- name: forward_model
executable: r{{configpath}}/../input/forward_model.exethe optional settings, stdout_file, stderr_file etc. should also be possible to configure here. We should be able to use the dataclass from ert directly:
ert/src/ert/config/forward_model_step.py
Line 100 in 95ac0fa
| class ForwardModelStep: |
After this change, we should still parse the deprecated source for a while, notifying the users that it is deprecated, and show them what the new configuration should look like, for the example above:
The source keyword in install_data is deprecated, you should instead do:
install_jobs:
- name: forward_model
executable: r{{configpath}}/../input/forward_model.exeDoes not have to be that exactly, but something along those lines.
Metadata
Metadata
Assignees
Labels
Type
Projects
Status