Add arm64 platform support to dagster-cloud.pex, do the build inside a manylinux builder image #591
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
name: Serverless Branch Deployments | |
on: | |
pull_request: | |
types: [opened, synchronize, reopened, closed] | |
env: | |
DAGSTER_CLOUD_URL: ${{ secrets.DAGSTER_CLOUD_SERVERLESS_URL }} | |
jobs: | |
parse_workspace: | |
runs-on: ubuntu-latest | |
outputs: | |
build_info: ${{ steps.parse-workspace.outputs.build_info }} | |
secrets_set: ${{ steps.parse-workspace.outputs.secrets_set }} | |
steps: | |
- uses: actions/checkout@v3 | |
- name: Parse cloud workspace | |
id: parse-workspace | |
uses: ./actions/utils/parse_workspace | |
with: | |
dagster_cloud_file: sample-repo/dagster_cloud.yaml | |
dagster_cloud_build_push: | |
runs-on: ubuntu-latest | |
needs: parse_workspace | |
name: Dagster Serverless Branch Deployments | |
strategy: | |
fail-fast: false | |
matrix: | |
location: ${{ fromJSON(needs.parse_workspace.outputs.build_info) }} | |
steps: | |
- name: Checkout | |
uses: actions/checkout@v3 | |
with: | |
ref: ${{ github.sha }} | |
- name: Build and deploy to Dagster Cloud serverless | |
uses: ./actions/serverless_branch_deploy | |
with: | |
dagster_cloud_api_token: ${{ secrets.DAGSTER_CLOUD_SERVERLESS_API_TOKEN }} | |
location: ${{ toJson(matrix.location) }} | |
env_vars: ${{ toJson(secrets) }} | |
base_image: "ghcr.io/dagster-io/dagster-cloud-action:test_custom_base_image" | |
env: | |
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} |