Skip to content

Commit

Permalink
Point at dogfood deployment
Browse files Browse the repository at this point in the history
So we can stress test dagster-io/internal#5762
  • Loading branch information
jmsanders committed Jun 27, 2023
1 parent fbfb5ec commit 2e592ba
Show file tree
Hide file tree
Showing 8 changed files with 14 additions and 120 deletions.
52 changes: 0 additions & 52 deletions .github/workflows/hybrid_branch_deployments.yml

This file was deleted.

54 changes: 0 additions & 54 deletions .github/workflows/hybrid_deploy.yml

This file was deleted.

4 changes: 2 additions & 2 deletions .github/workflows/serverless_branch_custom_base_image.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ on:
pull_request:
types: [opened, synchronize, reopened, closed]
env:
DAGSTER_CLOUD_URL: ${{ secrets.DAGSTER_CLOUD_SERVERLESS_URL }}
DAGSTER_CLOUD_URL: ${{ secrets.DAGSTER_CLOUD_SERVERLESS_URL_DOGFOOD }}

jobs:
parse_workspace:
Expand Down Expand Up @@ -35,7 +35,7 @@ jobs:
- name: Build and deploy to Dagster Cloud serverless
uses: ./actions/serverless_branch_deploy
with:
dagster_cloud_api_token: ${{ secrets.DAGSTER_CLOUD_SERVERLESS_API_TOKEN }}
dagster_cloud_api_token: ${{ secrets.DAGSTER_CLOUD_SERVERLESS_API_TOKEN_DOGFOOD }}
location: ${{ toJson(matrix.location) }}
env_vars: ${{ toJson(secrets) }}
base_image: "ghcr.io/dagster-io/dagster-cloud-action:test_custom_base_image"
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/serverless_branch_deployments.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ on:
pull_request:
types: [opened, synchronize, reopened, closed]
env:
DAGSTER_CLOUD_URL: ${{ secrets.DAGSTER_CLOUD_SERVERLESS_URL }}
DAGSTER_CLOUD_URL: ${{ secrets.DAGSTER_CLOUD_SERVERLESS_URL_DOGFOOD }}

jobs:
parse_workspace:
Expand Down Expand Up @@ -35,7 +35,7 @@ jobs:
- name: Build and deploy to Dagster Cloud serverless
uses: ./actions/serverless_branch_deploy
with:
dagster_cloud_api_token: ${{ secrets.DAGSTER_CLOUD_SERVERLESS_API_TOKEN }}
dagster_cloud_api_token: ${{ secrets.DAGSTER_CLOUD_SERVERLESS_API_TOKEN_DOGFOOD }}
location: ${{ toJson(matrix.location) }}
env_vars: ${{ toJson(secrets) }}
env:
Expand Down
6 changes: 3 additions & 3 deletions .github/workflows/serverless_custom_image.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,8 +4,8 @@ on:
branches:
- "main"
env:
DAGSTER_CLOUD_URL: ${{ secrets.DAGSTER_CLOUD_SERVERLESS_URL }}
DAGSTER_CLOUD_API_TOKEN: ${{ secrets.DAGSTER_CLOUD_SERVERLESS_API_TOKEN }}
DAGSTER_CLOUD_URL: ${{ secrets.DAGSTER_CLOUD_SERVERLESS_URL_DOGFOOD }}
DAGSTER_CLOUD_API_TOKEN: ${{ secrets.DAGSTER_CLOUD_SERVERLESS_API_TOKEN_DOGFOOD }}

jobs:
parse_workspace:
Expand Down Expand Up @@ -36,7 +36,7 @@ jobs:
- name: Build and deploy to Dagster Cloud serverless
uses: ./actions/serverless_prod_deploy
with:
dagster_cloud_api_token: ${{ secrets.DAGSTER_CLOUD_SERVERLESS_API_TOKEN }}
dagster_cloud_api_token: ${{ secrets.DAGSTER_CLOUD_SERVERLESS_API_TOKEN_DOGFOOD }}
location: ${{ toJson(matrix.location) }}
env_vars: ${{ toJson(secrets) }}
base_image: "ghcr.io/dagster-io/dagster-cloud-action:test_custom_base_image"
Expand Down
6 changes: 3 additions & 3 deletions .github/workflows/serverless_deploy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,8 +4,8 @@ on:
branches:
- "main"
env:
DAGSTER_CLOUD_URL: ${{ secrets.DAGSTER_CLOUD_SERVERLESS_URL }}
DAGSTER_CLOUD_API_TOKEN: ${{ secrets.DAGSTER_CLOUD_SERVERLESS_API_TOKEN }}
DAGSTER_CLOUD_URL: ${{ secrets.DAGSTER_CLOUD_SERVERLESS_URL_DOGFOOD }}
DAGSTER_CLOUD_API_TOKEN: ${{ secrets.DAGSTER_CLOUD_SERVERLESS_API_TOKEN_DOGFOOD }}

jobs:
parse_workspace:
Expand Down Expand Up @@ -36,7 +36,7 @@ jobs:
- name: Build and deploy to Dagster Cloud serverless
uses: ./actions/serverless_prod_deploy
with:
dagster_cloud_api_token: ${{ secrets.DAGSTER_CLOUD_SERVERLESS_API_TOKEN }}
dagster_cloud_api_token: ${{ secrets.DAGSTER_CLOUD_SERVERLESS_API_TOKEN_DOGFOOD }}
location: ${{ toJson(matrix.location) }}
env_vars: ${{ toJson(secrets) }}
env:
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/serverless_launch_job.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ on:
pull_request:
types: [opened, synchronize, reopened, closed]
env:
DAGSTER_CLOUD_URL: ${{ secrets.DAGSTER_CLOUD_SERVERLESS_URL }}
DAGSTER_CLOUD_URL: ${{ secrets.DAGSTER_CLOUD_SERVERLESS_URL_DOGFOOD }}

jobs:
dagster_cloud_launch:
Expand All @@ -23,5 +23,5 @@ jobs:
repository_name: repo
job_name: simple_job
env:
DAGSTER_CLOUD_API_TOKEN: ${{ secrets.DAGSTER_CLOUD_SERVERLESS_API_TOKEN }}
DAGSTER_CLOUD_API_TOKEN: ${{ secrets.DAGSTER_CLOUD_SERVERLESS_API_TOKEN_DOGFOOD }}
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
4 changes: 2 additions & 2 deletions .github/workflows/serverless_launch_job_definitions.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ on:
pull_request:
types: [opened, synchronize, reopened, closed]
env:
DAGSTER_CLOUD_URL: ${{ secrets.DAGSTER_CLOUD_SERVERLESS_URL }}
DAGSTER_CLOUD_URL: ${{ secrets.DAGSTER_CLOUD_SERVERLESS_URL_DOGFOOD }}

jobs:
dagster_cloud_launch:
Expand All @@ -23,5 +23,5 @@ jobs:
location_name: from_gh_action_for_launch_definitions
job_name: simple_job
env:
DAGSTER_CLOUD_API_TOKEN: ${{ secrets.DAGSTER_CLOUD_SERVERLESS_API_TOKEN }}
DAGSTER_CLOUD_API_TOKEN: ${{ secrets.DAGSTER_CLOUD_SERVERLESS_API_TOKEN_DOGFOOD }}
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}

0 comments on commit 2e592ba

Please sign in to comment.