Faheem Khan
04/07/2023, 3:20 AMZanie
04/07/2023, 4:16 AMFaheem Khan
04/07/2023, 4:19 AMChris White
04/07/2023, 4:26 AMFaheem Khan
04/07/2023, 4:30 AMprefect deployment build src/downloader_0.8.py:main_downloader --name downloader_0.8 --tag dev --work-queue q1 --output deployments/downloader_0.8.yaml -sb remote-file-system/minio1 -ib docker-container/docker-custom-image
prefect deployment apply deployments/downloader_0.8.yaml
name: downloader_0.8
description: null
version: 94d93d577332f48f00736e5e7c038598
# The work queue that will handle this deployment's runs
work_queue_name: q1
work_pool_name: default-agent-pool
tags:
- dev
parameters: {}
schedule: null
is_schedule_active: true
infra_overrides: {}
###
### DO NOT EDIT BELOW THIS LINE
###
flow_name: Main downloader
manifest_path: null
infrastructure:
type: docker-container
env: {}
labels: {}
name: null
command: null
image: prefect2
image_pull_policy: NEVER
image_registry: null
networks:
- prefect-server
network_mode: null
auto_remove: true
volumes:
- /home/dev/projects/SDA-Rail-0.4/flows:/flows
- /home/dev/Sharedstorage/mnt/logs:/data_source/logs
stream_output: true
memswap_limit: null
mem_limit: null
privileged: false
_block_document_id: edbdb1ba-1d3e-4c14-b70a-f57fb0a3794b
_block_document_name: docker-custom-image
_is_anonymous: false
block_type_slug: docker-container
_block_type_slug: docker-container
storage:
basepath: <s3://prefect-flows1/>
settings:
use_ssl: false
key: abc
secret: abc
client_kwargs:
endpoint_url: <http://minio:9000>
_block_document_id: 09f7e8f0-dc8a-4f03-86c1-f837b5bc8384
_block_document_name: minio1
_is_anonymous: false
block_type_slug: remote-file-system
_block_type_slug: remote-file-system
path: ''
entrypoint: src/downloader_0.8.py:main_downloader
parameter_openapi_schema:
title: Parameters
type: object
properties: {}
required: null
definitions: null
timestamp: '2023-04-07T03:53:07.772296+00:00'
Chris White
04/07/2023, 4:39 AMcode.py
in your deployment.yaml
so I don't think this is coming from within Prefect's engineFaheem Khan
04/07/2023, 4:49 AMChris White
04/07/2023, 4:56 AMFaheem Khan
04/07/2023, 5:07 AMChris White
04/07/2023, 5:34 AMFaheem Khan
04/07/2023, 5:52 AMChris White
04/07/2023, 3:27 PMFaheem Khan
04/08/2023, 11:15 PM