Sebastian Delgado von Euw
01/30/2023, 10:06 PMShalabh Chaturvedi
01/30/2023, 10:19 PMENABLE_FAST_DEPLOYS: 'true'
in your .github/workflows/deploy.yml
, see Using a different base image... Note that you must install the dagster-cloud[serverless]
package in the image you upload.
If you don't have fast deploys enabled (if you have an older account or disabled fast deploys for some reason), see Disabled PEX-based deploys, under Change the base image.Sebastian Delgado von Euw
01/30/2023, 10:20 PMShalabh Chaturvedi
01/30/2023, 10:28 PMIs it possible to use our own registry to host base images when using serverless?No, the images run in serverless must be hosted in dagster cloud.
I want to know where the base image will be hosted and how to push it to the registryCan you tell me a bit more about about what you are trying to do? Our standard quickstart repos have github workflows that build and push your code but without building a new docker image each time. We run it on a standard docker image that we build.
Sebastian Delgado von Euw
01/30/2023, 10:33 PMcodeA/
codeB/
dagster_folder/
----/dagster_project/
--------/repository.py
--------/assets/
--------/jobs/
----/workspace.yml
----/setup.py
----/dagster_cloud_post_install.sh
----/dbt_project/
dagster_cloud.yml
We would like to use the code located in codeA
directory (which is in the parent directory of dagster_project
) in one of our dagster jobs. We currently use the serverless solution and we use the slow deploy option.
Whats the best way to do this?Shalabh Chaturvedi
01/30/2023, 10:49 PMbase_image:
parameter (screenshot of docs attached). This requires you upload the image to your own registry and allow the github workflow to pull this image.
A simpler option might be to just copy the codeA
directory into the dagster_project
but let me think about how this can be achieved.Sebastian Delgado von Euw
01/30/2023, 11:02 PMCodeA
folder to dagster_project
. We just need to add another step before deploying to dagsterShalabh Chaturvedi
01/30/2023, 11:11 PM