Jane Jeong
05/26/2023, 9:07 PMNate
05/27/2023, 12:39 AMcommand
is responsible for starting the prefect engine, so depending on what you replaced it with, that might explain the behavior you're seeing
what did you change the command
field to on your infra block?Jane Jeong
05/30/2023, 3:38 PMNate
05/30/2023, 4:29 PMpython -m prefect.engine
. Im pretty sure that bypassing this explains the behaviour you're seeing (here are some docs on what prefect.engine
is doing)
what was your reason for overriding the command?Jane Jeong
05/30/2023, 6:04 PMalex
06/01/2023, 1:33 PMJane Jeong
06/01/2023, 5:50 PMproject-name
../dockerfiles
..../flow-1
......Dockerfile
..../flow-2
......Dockerfile
../local-package
....__init__.py
....dependency.py
../flows
....__init__.py
....flow-util.py
....../flow-1
.........flow-1.py
....../flow-2
.........flow-2.py
• Dockerfiles stored in GCP artifact registry
• flow-1.py and flow-2.py use local-package/dependency.py and flows/flow-util
• flow-1/Dockerfile has CMD ["python", "flows/flow-1/flow-1.py"] (same thing for flow-2, respectively)
@alexalex
06/02/2023, 2:40 PMentrypoint
for each deployment would be different for the different flows.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.
Powered by