Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

enhancement: upload workdir anywhere for deploy #13141

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

Ox0400
Copy link

@Ox0400 Ox0400 commented Apr 28, 2024

closes #13140

enhancement: upload workdir anywhere for deploy.

e.g:

    deploy_obj = Deployment.build_from_flow(
        flow=pipeline,
        name=name,
        apply=False,
        parameters = parameters,
        infra_overrides=infra_overrides,
        work_queue_name=ENV.WORK_QUEUE_NAME,
        work_pool_name=ENV.WORK_POOL_NAME,
        storage=file_helpers.get_codes_client(),
        storage_local_path='/var/work/projects/my-project',
    )

Example

Checklist

  • This pull request references any related issue by including "closes <link to issue>"
    • If no issue exists and your change is not a small fix, please create an issue first.
  • If this pull request adds new functionality, it includes unit tests that cover the changes
  • This pull request includes a label categorizing the change e.g. maintenance, fix, feature, enhancement, docs.

For documentation changes:

  • This pull request includes redirect settings in netlify.toml for files that are removed or renamed.

For new functions or classes in the Python SDK:

  • This pull request includes helpful docstrings.
  • If a new Python file was added, this pull request contains a stub page in the Python SDK docs and an entry in mkdocs.yml navigation.

@Ox0400 Ox0400 requested a review from a team as a code owner April 28, 2024 08:45
Copy link

netlify bot commented Apr 28, 2024

👷 Deploy request for prefect-docs-preview pending review.

Visit the deploys page to approve it

Name Link
🔨 Latest commit 94c6b43

@Ox0400 Ox0400 changed the title upload workdir anywhere for deploy #13140 enhancement: upload workdir anywhere for deploy #13140 Apr 28, 2024
@Ox0400 Ox0400 changed the title enhancement: upload workdir anywhere for deploy #13140 enhancement: upload workdir anywhere for deploy Apr 28, 2024
@Ox0400 Ox0400 force-pushed the main branch 3 times, most recently from 6c60957 to 28cff2e Compare April 29, 2024 03:11
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

source code missing base dir on the remote storage when deploy at other path(subdir)
1 participant