Hi all, We are trying to do the switch from prefec...
# ask-community
m
Hi all, We are trying to do the switch from prefect deployment build to prefect deploy using the yaml file. We are using a docker work pool since we run the flows in docker containers and we use azure blob for storage. However, we are encountering a problem with possibly the push and pull from azure blob resulting in the following error: Our code looks like this:
Copy code
push:
- prefect_azure.deployments.steps.push_to_azure_blob_storage:
    id: push_code
    #requires: prefect-azure==0.2.8
    container: prefect
    folder: dev/introduction/template/test_flow
    credentials: '{{ prefect.blocks.azure-blob-storage-credentials.blob }}'
# pull section allows you to provide instructions for cloning this project in remote locations
pull:
- prefect_azure.deployments.steps.pull_from_azure_blob_storage:
    id: pull_code
    #requires: prefect-azure==0.2.8
    container: prefect
    folder: dev/introduction/template/test_flow
    credentials: '{{ prefect.blocks.azure-blob-storage-credentials.blob }}'
# the deployments section allows you to provide configuration for deploying flows
deployments:
- name: test1213
  version: test_new_deploy_flow
  tags:
  - '1'
  entrypoint: introduction/template/test_flow/flow.py:test_new_deploy_flow
  parameters: {}
  work_pool:
    name: dev
    work_queue_name: default
    job_variables:
      image: imagerepo/analyticsfoundation:5.0
  schedules: []
Can anyone help?
We found that we needed to use a docker image running on prefect 3>= Would have been nice info to have somewhere 😅