diff --git a/github/serverless/branch_deployments.yml b/github/serverless/branch_deployments.yml index 6a0f6dc..0a5fce5 100644 --- a/github/serverless/branch_deployments.yml +++ b/github/serverless/branch_deployments.yml @@ -2,7 +2,7 @@ name: Serverless Branch Deployments on: pull_request: types: [opened, synchronize, reopened, closed] - + concurrency: # Cancel in-progress deploys to same branch group: ${{ github.ref }}/branch_deployments @@ -11,16 +11,16 @@ env: DAGSTER_CLOUD_URL: ${{ secrets.DAGSTER_CLOUD_URL }} DAGSTER_CLOUD_API_TOKEN: ${{ secrets.DAGSTER_CLOUD_API_TOKEN }} ENABLE_FAST_DEPLOYS: 'true' - PYTHON_VERSION: '3.8' + PYTHON_VERSION: '3.10' DAGSTER_CLOUD_FILE: 'dagster_cloud.yaml' jobs: dagster_cloud_default_deploy: name: Dagster Serverless Deploy - runs-on: ubuntu-20.04 + runs-on: ubuntu-22.04 outputs: build_info: ${{ steps.parse-workspace.outputs.build_info }} - + steps: - name: Prerun Checks id: prerun @@ -39,7 +39,7 @@ jobs: with: ref: ${{ github.head_ref }} path: project-repo - + - name: Python Executable Deploy if: steps.prerun.outputs.result == 'pex-deploy' uses: dagster-io/dagster-cloud-action/actions/build_deploy_python_executable@v0.1 @@ -75,4 +75,3 @@ jobs: organization_id: ${{ secrets.ORGANIZATION_ID }} env: GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} - diff --git a/github/serverless/deploy.yml b/github/serverless/deploy.yml index ab41916..63b5344 100644 --- a/github/serverless/deploy.yml +++ b/github/serverless/deploy.yml @@ -4,7 +4,7 @@ on: branches: - "main" - "master" - + concurrency: # Cancel in-progress deploys to same branch group: ${{ github.ref }}/deploy @@ -13,16 +13,16 @@ env: DAGSTER_CLOUD_URL: ${{ secrets.DAGSTER_CLOUD_URL }} DAGSTER_CLOUD_API_TOKEN: ${{ secrets.DAGSTER_CLOUD_API_TOKEN }} ENABLE_FAST_DEPLOYS: 'true' - PYTHON_VERSION: '3.8' + PYTHON_VERSION: '3.10' DAGSTER_CLOUD_FILE: 'dagster_cloud.yaml' jobs: dagster_cloud_default_deploy: name: Dagster Serverless Deploy - runs-on: ubuntu-20.04 + runs-on: ubuntu-22.04 outputs: build_info: ${{ steps.parse-workspace.outputs.build_info }} - + steps: - name: Prerun Checks id: prerun @@ -41,7 +41,7 @@ jobs: with: ref: ${{ github.head_ref }} path: project-repo - + - name: Python Executable Deploy if: steps.prerun.outputs.result == 'pex-deploy' uses: dagster-io/dagster-cloud-action/actions/build_deploy_python_executable@v0.1 @@ -77,4 +77,3 @@ jobs: organization_id: ${{ secrets.ORGANIZATION_ID }} env: GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} -