Brendan Jackson
08/17/2023, 5:16 PMZach
08/17/2023, 5:32 PMBrendan Jackson
08/17/2023, 5:35 PMBrendan Jackson
08/17/2023, 5:35 PMsean
08/18/2023, 3:17 PMsean
08/18/2023, 3:17 PMBrendan Jackson
08/18/2023, 3:19 PMShalabh Chaturvedi
08/18/2023, 4:35 PMPYTHON_VERSION
that you set to the version you want here (major.minor
only): https://github.com/dagster-io/dagster-cloud-action/blob/b38fdd8492435a226aa89ec14c765884a0860fb4/github/serverless/deploy.yml#L16
I've linked the latest github action yaml above - if you have an earlier version you can still set the python version here if you're using fast deploys, or here if you're not using the fast deploys.Brendan Jackson
08/18/2023, 6:46 PMBrendan Jackson
08/21/2023, 9:22 AMdagster_cloud:
stage: deploy
image: <http://ghcr.io/dagster-io/dagster-cloud-action:0.1.26|ghcr.io/dagster-io/dagster-cloud-action:0.1.26>
script:
- /gitlab_action/deploy.py ./dagster_cloud.yml
I can't see anything in the deploy.py
that would work with different python versions - is this not supported for gitlab?Shalabh Chaturvedi
08/21/2023, 4:40 PM--python-version
flag to the deploy-python-executable
command here: https://github.com/dagster-io/dagster-cloud-action/blob/b38fdd8492435a226aa89ec14c765884a0860fb4/src/gitlab_action/deploy.py#L35. I'll work on that.
In the meantime you could directly call dagster-cloud
in your script:
section, with the additional flag. However it does get a little verbose, specially if you handle the branch deployments.