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

Closed
wants to merge 1 commit into 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
Copy link
Contributor

This pull request is stale because it has been open 14 days with no activity. To keep this pull request open remove stale label or comment.

@github-actions github-actions bot added the status:stale This may not be relevant anymore label May 24, 2024
Copy link
Contributor

github-actions bot commented Jun 7, 2024

This pull request was closed because it has been stale for 14 days with no activity. If this pull request is important or you have more to add feel free to re-open it.

@github-actions github-actions bot closed this Jun 7, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
status:stale This may not be relevant anymore
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