Is there a way to run flyte validation prior to th...
# ask-the-community
s
Is there a way to run flyte validation prior to the build process? Based on the docs, I have to currently build an image before I can attempt to package/register the workflow to flyte. Since build can take a long time, it’d be great to be able to validate the workflow beforehand - is there a best practice for doing this?
y
you don’t need to build the image before registering
you can always register first, and then build the image.
s
ohhh interesting
But doesn’t registering require image field?
y
fast register also works.
it does
s
Do I give it a url that I’m planning to use to build?
y
but it’s just a string… it won’t check for existence.
s
aha
y
you can even run it
and you’ll just get a run-time error
s
Oh right
Interesting
y
imagepullbackoff, which will timeout and eventually fail
s
Didn’t think this was possible
Wait
By running it, you mean execute the workflow?
y
yeah
s
OK this is great - let me try this. Thank you!!!
101 Views