mirror of
https://github.com/datahub-project/datahub.git
synced 2025-09-22 07:28:46 +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 }}
|
||||
cancel-in-progress: true
|
||||
|
||||
env:
|
||||
DEPOT_PROJECT_ID: "${{ vars.DEPOT_PROJECT_ID }}"
|
||||
|
||||
jobs:
|
||||
airflow-plugin:
|
||||
runs-on: ubuntu-latest
|
||||
runs-on: ${{ vars.DEPOT_PROJECT_ID != '' && 'depot-ubuntu-latest' || 'ubuntu-latest' }}
|
||||
env:
|
||||
DATAHUB_TELEMETRY_ENABLED: false
|
||||
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 }}
|
||||
cancel-in-progress: true
|
||||
|
||||
env:
|
||||
DEPOT_PROJECT_ID: "${{ vars.DEPOT_PROJECT_ID }}"
|
||||
|
||||
jobs:
|
||||
setup:
|
||||
runs-on: ubuntu-latest
|
||||
@ -54,7 +57,7 @@ jobs:
|
||||
# We only need the timezone variation for frontend tests.
|
||||
- command: "frontend"
|
||||
timezone: "America/New_York"
|
||||
runs-on: ubuntu-latest
|
||||
runs-on: ${{ vars.DEPOT_PROJECT_ID != '' && 'depot-ubuntu-latest-2' || 'ubuntu-latest' }}
|
||||
timeout-minutes: 60
|
||||
needs: setup
|
||||
steps:
|
||||
@ -200,7 +203,7 @@ jobs:
|
||||
override_branch: ${{ github.head_ref || github.ref_name }}
|
||||
|
||||
docker-codegen-validation:
|
||||
runs-on: ubuntu-latest
|
||||
runs-on: ${{ vars.DEPOT_PROJECT_ID != '' && 'depot-ubuntu-24.04' || 'ubuntu-latest' }}
|
||||
needs: setup
|
||||
if: ${{ needs.setup.outputs.docker_change == 'true' }}
|
||||
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 }}
|
||||
cancel-in-progress: true
|
||||
|
||||
env:
|
||||
DEPOT_PROJECT_ID: "${{ vars.DEPOT_PROJECT_ID }}"
|
||||
|
||||
jobs:
|
||||
dagster-plugin:
|
||||
runs-on: ubuntu-latest
|
||||
runs-on: ${{ vars.DEPOT_PROJECT_ID != '' && 'depot-ubuntu-latest' || 'ubuntu-latest' }}
|
||||
env:
|
||||
DATAHUB_TELEMETRY_ENABLED: false
|
||||
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 }}
|
||||
cancel-in-progress: true
|
||||
|
||||
env:
|
||||
DEPOT_PROJECT_ID: "${{ vars.DEPOT_PROJECT_ID }}"
|
||||
|
||||
jobs:
|
||||
gx-plugin:
|
||||
runs-on: ubuntu-latest
|
||||
runs-on: ${{ vars.DEPOT_PROJECT_ID != '' && 'depot-ubuntu-latest' || 'ubuntu-latest' }}
|
||||
env:
|
||||
DATAHUB_TELEMETRY_ENABLED: false
|
||||
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 }}
|
||||
cancel-in-progress: true
|
||||
|
||||
env:
|
||||
DEPOT_PROJECT_ID: "${{ vars.DEPOT_PROJECT_ID }}"
|
||||
|
||||
jobs:
|
||||
metadata-ingestion:
|
||||
runs-on: ubuntu-latest
|
||||
runs-on: ${{ vars.DEPOT_PROJECT_ID != '' && 'depot-ubuntu-latest' || 'ubuntu-latest' }}
|
||||
timeout-minutes: 60
|
||||
env:
|
||||
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 }}
|
||||
cancel-in-progress: true
|
||||
|
||||
env:
|
||||
DEPOT_PROJECT_ID: "${{ vars.DEPOT_PROJECT_ID }}"
|
||||
|
||||
jobs:
|
||||
setup:
|
||||
runs-on: ubuntu-latest
|
||||
runs-on: ${{ vars.DEPOT_PROJECT_ID != '' && 'depot-ubuntu-latest' || 'ubuntu-latest' }}
|
||||
outputs:
|
||||
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' }}
|
||||
@ -47,7 +50,7 @@ jobs:
|
||||
- uses: ./.github/actions/ci-optimization
|
||||
id: ci-optimize
|
||||
build:
|
||||
runs-on: ubuntu-latest
|
||||
runs-on: ${{ vars.DEPOT_PROJECT_ID != '' && 'depot-ubuntu-24.04' || 'ubuntu-latest' }}
|
||||
timeout-minutes: 60
|
||||
needs: setup
|
||||
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 }}
|
||||
cancel-in-progress: true
|
||||
|
||||
env:
|
||||
DEPOT_PROJECT_ID: "${{ vars.DEPOT_PROJECT_ID }}"
|
||||
|
||||
jobs:
|
||||
prefect-plugin:
|
||||
runs-on: ubuntu-latest
|
||||
runs-on: ${{ vars.DEPOT_PROJECT_ID != '' && 'depot-ubuntu-latest' || 'ubuntu-latest' }}
|
||||
env:
|
||||
DATAHUB_TELEMETRY_ENABLED: false
|
||||
strategy:
|
||||
|
Loading…
x
Reference in New Issue
Block a user