Manish Khatri
02/27/2023, 3:05 PMdagster-cloud
CLI tool like so:
dagster-cloud serverless deploy
--location-name "mypackage"
--package-name mypackage
--deployment $BRANCH_DEPLOYMENT_NAME
--commit-hash $CI_COMMIT_SHA
--env KEY1=VALUE1
--env KEY2=VALUE2
--image $CI_COMMIT_SHA
--base-image python:3.9-slim
How can we turn this into a fast deployment so our dev branches can be quickly pushed to the cloud without the whole docker build process that happens using the above?daniel
02/27/2023, 3:59 PMdagster-cloud serverless deploy-python-executable
command for this here: https://docs.dagster.io/dagster-cloud/deployment/serverless#without-github-gitlab-bitbucket-or-local-development
does that help?Shalabh Chaturvedi
02/27/2023, 4:58 PM--env
is not supported because there is no custom built docker image. However you can set environment variables in the dagster cloud UI. Also instead of --base-image=python:3.9-slim
you should use --python-version=3.9
.Manish Khatri
03/01/2023, 4:00 PM