-
-
Notifications
You must be signed in to change notification settings - Fork 13
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
The workflow did not pull the remote image to create a docker container when it was running. #271
Comments
Hey @lanzhixi, sorry you are facing issues in creating pieces, I'll try to help you to debug what is happening.
|
Hey @vinicvaz ,Thank you for your reminder, I will standardize my questioning method next time. |
thanks for spotting the issue @lanzhixi ! Can you confirm you're now able to run your Pieces? |
@luiztauffer , @vinicvaz After successfully trying to use the template, my confidence increased and I started to create my own lightGBMPiece. However, the lightGBMPiece I wrote had problems running. After adding tests, I found that the problem was not in the code. I'd like to ask you to help me take a look.(I think I may have missed something, but I checked it many times and it is consistent with the format of the case.) thanks! |
Hey @lanzhixi , thanks for reporting this.
This command should fix it.
This is the way we've found to run the pieces in their isolated environment, the problems with that are:
Additional information / Alternative Solution
This might be useful for tests that you can't run yet in github actions but want to run locally, like here. I know this is a lot of information to get so if you have any questions feel free to send it here. |
Hey @vinicvaz ,Thank you very much for your detailed answer, it's very useful to me! |
awesome job @lanzhixi! let us know how your ML pieces evolve, we would be happy to integrate them into existing repos or to juts list them in the open source gallery! I suggest you also take a look into how to display results from your piece at the GUI, it can be very useful for ML pieces such as LightGBM: https://docs.domino-workflows.io/pieces/create_pieces#piecepy |
I successfully imported the piece I made into the platform and created the workflow. An error occurred during runtime. The rest log did not report an error message. However, after troubleshooting, I found that the piece I made did not create a docker container (image publish was successful).
So I copied ml_domino_pieces , and only modified the REGISTRY_NAME in config.toml to be my own account name (this is just to ensure that the publish image is successful). The rest of the places were not modified. After importing to the platform, it is still the same. No docker container is created when running the workflow.
No errors were reported throughout the process, but the docker container did not run and the cloud image was not pulled. What could be the reason? Are there any other operations required to import the piece I made to work properly?
Thanks for your answer!
The text was updated successfully, but these errors were encountered: