mirror of
https://github.com/datahub-project/datahub.git
synced 2025-09-22 15:43:21 +00:00
fix(ci): use depot runners when possible (#14115)
This commit is contained in:
parent
fa1acbc7e0
commit
9a8673c96e
5
.github/workflows/airflow-plugin.yml
vendored
5
.github/workflows/airflow-plugin.yml
vendored
@ -25,9 +25,12 @@ concurrency:
|
|||||||
group: ${{ github.workflow }}-${{ github.event.pull_request.number || github.ref }}
|
group: ${{ github.workflow }}-${{ github.event.pull_request.number || github.ref }}
|
||||||
cancel-in-progress: true
|
cancel-in-progress: true
|
||||||
|
|
||||||
|
env:
|
||||||
|
DEPOT_PROJECT_ID: "${{ vars.DEPOT_PROJECT_ID }}"
|
||||||
|
|
||||||
jobs:
|
jobs:
|
||||||
airflow-plugin:
|
airflow-plugin:
|
||||||
runs-on: ubuntu-latest
|
runs-on: ${{ vars.DEPOT_PROJECT_ID != '' && 'depot-ubuntu-latest' || 'ubuntu-latest' }}
|
||||||
env:
|
env:
|
||||||
DATAHUB_TELEMETRY_ENABLED: false
|
DATAHUB_TELEMETRY_ENABLED: false
|
||||||
strategy:
|
strategy:
|
||||||
|
7
.github/workflows/build-and-test.yml
vendored
7
.github/workflows/build-and-test.yml
vendored
@ -20,6 +20,9 @@ concurrency:
|
|||||||
group: ${{ github.workflow }}-${{ github.event.pull_request.number || github.ref }}
|
group: ${{ github.workflow }}-${{ github.event.pull_request.number || github.ref }}
|
||||||
cancel-in-progress: true
|
cancel-in-progress: true
|
||||||
|
|
||||||
|
env:
|
||||||
|
DEPOT_PROJECT_ID: "${{ vars.DEPOT_PROJECT_ID }}"
|
||||||
|
|
||||||
jobs:
|
jobs:
|
||||||
setup:
|
setup:
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
@ -54,7 +57,7 @@ jobs:
|
|||||||
# We only need the timezone variation for frontend tests.
|
# We only need the timezone variation for frontend tests.
|
||||||
- command: "frontend"
|
- command: "frontend"
|
||||||
timezone: "America/New_York"
|
timezone: "America/New_York"
|
||||||
runs-on: ubuntu-latest
|
runs-on: ${{ vars.DEPOT_PROJECT_ID != '' && 'depot-ubuntu-latest-2' || 'ubuntu-latest' }}
|
||||||
timeout-minutes: 60
|
timeout-minutes: 60
|
||||||
needs: setup
|
needs: setup
|
||||||
steps:
|
steps:
|
||||||
@ -200,7 +203,7 @@ jobs:
|
|||||||
override_branch: ${{ github.head_ref || github.ref_name }}
|
override_branch: ${{ github.head_ref || github.ref_name }}
|
||||||
|
|
||||||
docker-codegen-validation:
|
docker-codegen-validation:
|
||||||
runs-on: ubuntu-latest
|
runs-on: ${{ vars.DEPOT_PROJECT_ID != '' && 'depot-ubuntu-24.04' || 'ubuntu-latest' }}
|
||||||
needs: setup
|
needs: setup
|
||||||
if: ${{ needs.setup.outputs.docker_change == 'true' }}
|
if: ${{ needs.setup.outputs.docker_change == 'true' }}
|
||||||
steps:
|
steps:
|
||||||
|
5
.github/workflows/dagster-plugin.yml
vendored
5
.github/workflows/dagster-plugin.yml
vendored
@ -25,9 +25,12 @@ concurrency:
|
|||||||
group: ${{ github.workflow }}-${{ github.event.pull_request.number || github.ref }}
|
group: ${{ github.workflow }}-${{ github.event.pull_request.number || github.ref }}
|
||||||
cancel-in-progress: true
|
cancel-in-progress: true
|
||||||
|
|
||||||
|
env:
|
||||||
|
DEPOT_PROJECT_ID: "${{ vars.DEPOT_PROJECT_ID }}"
|
||||||
|
|
||||||
jobs:
|
jobs:
|
||||||
dagster-plugin:
|
dagster-plugin:
|
||||||
runs-on: ubuntu-latest
|
runs-on: ${{ vars.DEPOT_PROJECT_ID != '' && 'depot-ubuntu-latest' || 'ubuntu-latest' }}
|
||||||
env:
|
env:
|
||||||
DATAHUB_TELEMETRY_ENABLED: false
|
DATAHUB_TELEMETRY_ENABLED: false
|
||||||
strategy:
|
strategy:
|
||||||
|
5
.github/workflows/gx-plugin.yml
vendored
5
.github/workflows/gx-plugin.yml
vendored
@ -25,9 +25,12 @@ concurrency:
|
|||||||
group: ${{ github.workflow }}-${{ github.event.pull_request.number || github.ref }}
|
group: ${{ github.workflow }}-${{ github.event.pull_request.number || github.ref }}
|
||||||
cancel-in-progress: true
|
cancel-in-progress: true
|
||||||
|
|
||||||
|
env:
|
||||||
|
DEPOT_PROJECT_ID: "${{ vars.DEPOT_PROJECT_ID }}"
|
||||||
|
|
||||||
jobs:
|
jobs:
|
||||||
gx-plugin:
|
gx-plugin:
|
||||||
runs-on: ubuntu-latest
|
runs-on: ${{ vars.DEPOT_PROJECT_ID != '' && 'depot-ubuntu-latest' || 'ubuntu-latest' }}
|
||||||
env:
|
env:
|
||||||
DATAHUB_TELEMETRY_ENABLED: false
|
DATAHUB_TELEMETRY_ENABLED: false
|
||||||
strategy:
|
strategy:
|
||||||
|
5
.github/workflows/metadata-ingestion.yml
vendored
5
.github/workflows/metadata-ingestion.yml
vendored
@ -25,9 +25,12 @@ concurrency:
|
|||||||
group: ${{ github.workflow }}-${{ github.event.pull_request.number || github.ref }}
|
group: ${{ github.workflow }}-${{ github.event.pull_request.number || github.ref }}
|
||||||
cancel-in-progress: true
|
cancel-in-progress: true
|
||||||
|
|
||||||
|
env:
|
||||||
|
DEPOT_PROJECT_ID: "${{ vars.DEPOT_PROJECT_ID }}"
|
||||||
|
|
||||||
jobs:
|
jobs:
|
||||||
metadata-ingestion:
|
metadata-ingestion:
|
||||||
runs-on: ubuntu-latest
|
runs-on: ${{ vars.DEPOT_PROJECT_ID != '' && 'depot-ubuntu-latest' || 'ubuntu-latest' }}
|
||||||
timeout-minutes: 60
|
timeout-minutes: 60
|
||||||
env:
|
env:
|
||||||
DATAHUB_TELEMETRY_ENABLED: false
|
DATAHUB_TELEMETRY_ENABLED: false
|
||||||
|
7
.github/workflows/metadata-io.yml
vendored
7
.github/workflows/metadata-io.yml
vendored
@ -27,9 +27,12 @@ concurrency:
|
|||||||
group: ${{ github.workflow }}-${{ github.event.pull_request.number || github.ref }}
|
group: ${{ github.workflow }}-${{ github.event.pull_request.number || github.ref }}
|
||||||
cancel-in-progress: true
|
cancel-in-progress: true
|
||||||
|
|
||||||
|
env:
|
||||||
|
DEPOT_PROJECT_ID: "${{ vars.DEPOT_PROJECT_ID }}"
|
||||||
|
|
||||||
jobs:
|
jobs:
|
||||||
setup:
|
setup:
|
||||||
runs-on: ubuntu-latest
|
runs-on: ${{ vars.DEPOT_PROJECT_ID != '' && 'depot-ubuntu-latest' || 'ubuntu-latest' }}
|
||||||
outputs:
|
outputs:
|
||||||
frontend_change: ${{ steps.ci-optimize.outputs.frontend-change == 'true' || github.event_name == 'release' }}
|
frontend_change: ${{ steps.ci-optimize.outputs.frontend-change == 'true' || github.event_name == 'release' }}
|
||||||
ingestion_change: ${{ steps.ci-optimize.outputs.ingestion-change == 'true' || github.event_name == 'release' }}
|
ingestion_change: ${{ steps.ci-optimize.outputs.ingestion-change == 'true' || github.event_name == 'release' }}
|
||||||
@ -47,7 +50,7 @@ jobs:
|
|||||||
- uses: ./.github/actions/ci-optimization
|
- uses: ./.github/actions/ci-optimization
|
||||||
id: ci-optimize
|
id: ci-optimize
|
||||||
build:
|
build:
|
||||||
runs-on: ubuntu-latest
|
runs-on: ${{ vars.DEPOT_PROJECT_ID != '' && 'depot-ubuntu-24.04' || 'ubuntu-latest' }}
|
||||||
timeout-minutes: 60
|
timeout-minutes: 60
|
||||||
needs: setup
|
needs: setup
|
||||||
steps:
|
steps:
|
||||||
|
5
.github/workflows/prefect-plugin.yml
vendored
5
.github/workflows/prefect-plugin.yml
vendored
@ -25,9 +25,12 @@ concurrency:
|
|||||||
group: ${{ github.workflow }}-${{ github.event.pull_request.number || github.ref }}
|
group: ${{ github.workflow }}-${{ github.event.pull_request.number || github.ref }}
|
||||||
cancel-in-progress: true
|
cancel-in-progress: true
|
||||||
|
|
||||||
|
env:
|
||||||
|
DEPOT_PROJECT_ID: "${{ vars.DEPOT_PROJECT_ID }}"
|
||||||
|
|
||||||
jobs:
|
jobs:
|
||||||
prefect-plugin:
|
prefect-plugin:
|
||||||
runs-on: ubuntu-latest
|
runs-on: ${{ vars.DEPOT_PROJECT_ID != '' && 'depot-ubuntu-latest' || 'ubuntu-latest' }}
|
||||||
env:
|
env:
|
||||||
DATAHUB_TELEMETRY_ENABLED: false
|
DATAHUB_TELEMETRY_ENABLED: false
|
||||||
strategy:
|
strategy:
|
||||||
|
Loading…
x
Reference in New Issue
Block a user