Rasmus Lindqvist
07/11/2023, 7:44 AMprefect.exceptions.ScriptError: Script at 'src/flows/flow.py' encountered an exception: FileNotFoundError(2, 'No such file or directory')deployment = Deployment.build_from_flow(
        flow=flow,
        name=target_env,
        version=3,
        path="pipeline",
        work_queue_name=target_env,
        tags=[target_env],
        infrastructure=infrastructure_block,
        storage=storage_block,
    )Christopher Boyd
07/11/2023, 1:37 PMpath="pipeline"Christopher Boyd
07/11/2023, 1:38 PMpathRasmus Lindqvist
07/11/2023, 3:33 PMRasmus Lindqvist
07/11/2023, 3:37 PMRasmus Lindqvist
07/11/2023, 3:38 PMRasmus Lindqvist
07/11/2023, 3:56 PMstorageFileNotFoundError: [Errno 2] No such file or directory: '/home/runner/work/backend/backend/pipeline'Christopher Boyd
07/11/2023, 6:04 PM/opt/prefectCOPY flow.py /opt/prefect/flows/deployment = Deployment.build_from_flow(
    flow=flow,
    name="Test HealthCheck Deployment",
    version=1,
    flow_name="healthcheck",
    work_queue_name="kubernetes",
    infrastructure=k8s_job,
    #Add Docker path to flow
    path="/opt/prefect/flows",
    #Add Docker entrypoint relative to path
    entrypoint="healthcheck.py:healthcheck"
)Christopher Boyd
07/11/2023, 6:04 PMRasmus Lindqvist
07/12/2023, 6:28 AM'home/runner/work'