Hello, I've deployed a datahub custom action by mo...
# troubleshoot
h
Hello, I've deployed a datahub custom action by mounting a configuration and definition file inside my
datahub actions
container. To run the action, I exec into the container and run
datahub actions -c my_custom_action.yaml
. This starts up the action successfully. Can I run this same actions from outside the container ? ie without the need to exec into the container? Is this the recommended way to deploy actions? I followed the documentation here https://github.com/acryldata/datahub-actions/blob/main/docs/guides/developing-an-action.md#step-2-installing-the-action. thank you
a
Hi Carl, this repo contains instructions for building and running actions locally! https://github.com/acryldata/datahub-actions/tree/main/datahub-actions
h
Hi Paul, thank you. From the examples you share, it's only using the
hello_world
example which is not very useful for my use case. I am developing a custom action, as found here in the docs here https://datahubproject.io/docs/actions/guides/developing-an-action. The action fails to run even though I have the definition file in the same folder as the configuration file - ie I have
custom_action.py
and
custom_action.yaml
in the same folder, as stated in the docs. Do I need to do any additional set up ? I get the error
ModuleNotFoundError: No module named 'custom_action'
.