source code missing base dir on the remote storage when deploy at other path(subdir) #13140
Open
3 tasks done
Labels
enhancement
An improvement of an existing feature
needs:triage
Needs feedback from the Prefect product team
First check
Prefect Version
2.x
Describe the current behavior
In current, default upload work dir (
$PWD
) files to remote storage block base path when deploy a pipeline and upload the source code.But we edit some file on sub dir path or other path, So the flow source code not uploaded to remote or only upload sub dir files to remote base path.
$ pwd
/var/work/
$ ls
flows/flow_a.py flows/flow_b.py common/pgsql.py
The remote storage have two dir
flows
andcommon
, and three files isflows/flow_a.py
flows/flow_b.py
common/pgsql.py
.Cleanup the remote storage files,
cd flows
first, then deploy the flow.$ pwd
/var/work/flows
$ ls
flow_a.py flow_b.py
The remote storage not have any dir, only have two files is
flow_a.py
flow_b.py
. But i hope have two subdirflows
andcommon
and them files.Describe the proposed behavior
Hope we can support specify a local location when deploy the pipeline.
The mean that's deploy and upload the flows or pipelines on anywhere. Not need
cd
always.Example Use
e.g:
Additional context
No response
The text was updated successfully, but these errors were encountered: