Hello everyone, an unorthodox question, but if I have an ECS push workpool set up with Prefect, and I specify a node base image, can I prefect deploy a NodeJs job (script in gitlab), using deployments.git pull? So when deployment is run, ECS would launch a node container, git clone repo, and execute nodejs script? Or does the entrypoint in the prefect deployment file has to be a python script?
k
Kevin Grismore
09/20/2024, 6:02 PM
You could theoretically do this, but then you'll have to change the command on the work pool/deployment and the flow run will never actually enter a running state because no flow-decorated function was executed
m
Moe
09/20/2024, 6:47 PM
Understood, thank you. I am planning on using another Python script to prefect deploy, which will then be used to trigger the Node script.
Bring your towel and join one of the fastest growing data communities. Welcome to our second-generation open source orchestration platform, a completely rethought approach to dataflow automation.