-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
1ee307e
commit 3fbe1c3
Showing
2 changed files
with
13 additions
and
15 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -2,25 +2,25 @@ 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 | ||
cancel-in-progress: true | ||
env: | ||
DAGSTER_CLOUD_URL: "http://test-dagster-openai.dagster.cloud" | ||
DAGSTER_CLOUD_URL: "http://maxime-dbt-doc-test.dagster.cloud" | ||
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/[email protected] | ||
|
@@ -75,4 +75,3 @@ jobs: | |
organization_id: ${{ secrets.ORGANIZATION_ID }} | ||
env: | ||
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -4,25 +4,25 @@ on: | |
branches: | ||
- "main" | ||
- "master" | ||
|
||
concurrency: | ||
# Cancel in-progress deploys to same branch | ||
group: ${{ github.ref }}/deploy | ||
cancel-in-progress: true | ||
env: | ||
DAGSTER_CLOUD_URL: "http://test-dagster-openai.dagster.cloud" | ||
DAGSTER_CLOUD_URL: "http://maxime-dbt-doc-test.dagster.cloud" | ||
DAGSTER_CLOUD_API_TOKEN: ${{ secrets.DAGSTER_CLOUD_API_TOKEN }} | ||
ENABLE_FAST_DEPLOYS: 'true' | ||
PYTHON_VERSION: '3.11' | ||
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/[email protected] | ||
|
@@ -67,7 +67,7 @@ jobs: | |
with: | ||
ref: ${{ github.head_ref }} | ||
- name: Build and deploy to Dagster Cloud serverless | ||
uses: dagster-io/dagster-cloud-action/actions/[email protected].43 | ||
uses: dagster-io/dagster-cloud-action/actions/[email protected] | ||
with: | ||
dagster_cloud_api_token: ${{ secrets.DAGSTER_CLOUD_API_TOKEN }} | ||
location: ${{ toJson(matrix.location) }} | ||
|
@@ -77,4 +77,3 @@ jobs: | |
organization_id: ${{ secrets.ORGANIZATION_ID }} | ||
env: | ||
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} | ||
|