mirror of
https://github.com/datahub-project/datahub.git
synced 2025-06-27 05:03:31 +00:00
ci(smoke-tests): run tests on push to release branches (#13629)
This commit is contained in:
parent
650cff172d
commit
79ff05abcd
1
.github/workflows/actions.yml
vendored
1
.github/workflows/actions.yml
vendored
@ -3,6 +3,7 @@ on:
|
||||
push:
|
||||
branches:
|
||||
- master
|
||||
- releases/**
|
||||
paths:
|
||||
- ".github/workflows/actions.yml"
|
||||
- "datahub-actions/**"
|
||||
|
1
.github/workflows/airflow-plugin.yml
vendored
1
.github/workflows/airflow-plugin.yml
vendored
@ -3,6 +3,7 @@ on:
|
||||
push:
|
||||
branches:
|
||||
- master
|
||||
- releases/**
|
||||
paths:
|
||||
- ".github/workflows/airflow-plugin.yml"
|
||||
- "metadata-ingestion-modules/airflow-plugin/**"
|
||||
|
7
.github/workflows/build-and-test.yml
vendored
7
.github/workflows/build-and-test.yml
vendored
@ -3,6 +3,7 @@ on:
|
||||
push:
|
||||
branches:
|
||||
- master
|
||||
- releases/**
|
||||
paths-ignore:
|
||||
- "docs/**"
|
||||
- "**.md"
|
||||
@ -21,10 +22,10 @@ jobs:
|
||||
setup:
|
||||
runs-on: ubuntu-latest
|
||||
outputs:
|
||||
frontend_change: ${{ steps.ci-optimize.outputs.frontend-change == 'true' }}
|
||||
frontend_change: ${{ steps.ci-optimize.outputs.frontend-change == 'true' || github.event_name != 'pull_request' }}
|
||||
ingestion_change: ${{ steps.ci-optimize.outputs.ingestion-change == 'true' }}
|
||||
backend_change: ${{ steps.ci-optimize.outputs.backend-change == 'true' }}
|
||||
docker_change: ${{ steps.ci-optimize.outputs.docker-change == 'true' }}
|
||||
backend_change: ${{ steps.ci-optimize.outputs.backend-change == 'true' || github.event_name != 'pull_request'}}
|
||||
docker_change: ${{ steps.ci-optimize.outputs.docker-change == 'true' || github.event_name != 'pull_request' }}
|
||||
frontend_only: ${{ steps.ci-optimize.outputs.frontend-only == 'true' }}
|
||||
ingestion_only: ${{ steps.ci-optimize.outputs.ingestion-only == 'true' }}
|
||||
kafka_setup_change: ${{ steps.ci-optimize.outputs.kafka-setup-change == 'true' }}
|
||||
|
1
.github/workflows/check-datahub-jars.yml
vendored
1
.github/workflows/check-datahub-jars.yml
vendored
@ -4,6 +4,7 @@ on:
|
||||
push:
|
||||
branches:
|
||||
- master
|
||||
- releases/**
|
||||
paths:
|
||||
- "metadata-integration/**"
|
||||
pull_request:
|
||||
|
1
.github/workflows/dagster-plugin.yml
vendored
1
.github/workflows/dagster-plugin.yml
vendored
@ -3,6 +3,7 @@ on:
|
||||
push:
|
||||
branches:
|
||||
- master
|
||||
- releases/**
|
||||
paths:
|
||||
- ".github/workflows/dagster-plugin.yml"
|
||||
- "metadata-ingestion-modules/dagster-plugin/**"
|
||||
|
12
.github/workflows/docker-unified.yml
vendored
12
.github/workflows/docker-unified.yml
vendored
@ -6,6 +6,7 @@ on:
|
||||
push:
|
||||
branches:
|
||||
- master
|
||||
- releases/**
|
||||
pull_request:
|
||||
branches:
|
||||
- "**"
|
||||
@ -48,11 +49,11 @@ jobs:
|
||||
python_release_version: ${{ steps.tag.outputs.python_release_version }}
|
||||
branch_name: ${{ steps.tag.outputs.branch_name }}
|
||||
repository_name: ${{ steps.tag.outputs.repository_name }}
|
||||
frontend_change: ${{ steps.ci-optimize.outputs.frontend-change == 'true' || github.event_name == 'release' }}
|
||||
actions_change: ${{ steps.ci-optimize.outputs.actions-change == 'true' || github.event_name == 'release' }}
|
||||
ingestion_change: ${{ steps.ci-optimize.outputs.ingestion-change == 'true' || github.event_name == 'release' }}
|
||||
frontend_change: ${{ steps.ci-optimize.outputs.frontend-change == 'true' || github.event_name != 'pull_request' }}
|
||||
actions_change: ${{ steps.ci-optimize.outputs.actions-change == 'true' || github.event_name != 'pull_request'}}
|
||||
ingestion_change: ${{ steps.ci-optimize.outputs.ingestion-change == 'true' || github.event_name != 'pull_request' }}
|
||||
ingestion_base_change: ${{ steps.ci-optimize.outputs.ingestion-base-change == 'true' }}
|
||||
backend_change: ${{ steps.ci-optimize.outputs.backend-change == 'true' || github.event_name == 'release' }}
|
||||
backend_change: ${{ steps.ci-optimize.outputs.backend-change == 'true' || github.event_name != 'pull_request' }}
|
||||
frontend_only: ${{ steps.ci-optimize.outputs.frontend-only == 'true' }}
|
||||
ingestion_only: ${{ steps.ci-optimize.outputs.ingestion-only == 'true' }}
|
||||
backend_only: ${{ steps.ci-optimize.outputs.backend-only == 'true' }}
|
||||
@ -101,7 +102,7 @@ jobs:
|
||||
env:
|
||||
ENABLE_PUBLISH: >-
|
||||
${{
|
||||
(github.event_name == 'workflow_dispatch' || github.event_name == 'schedule' || github.event_name == 'release' || (github.event_name == 'push' && github.ref == 'refs/heads/master'))
|
||||
(github.event_name != 'pull_request'))
|
||||
&& ( secrets.ACRYL_DOCKER_PASSWORD != '' )
|
||||
}}
|
||||
run: |
|
||||
@ -306,7 +307,6 @@ jobs:
|
||||
smoke_test_matrix:
|
||||
runs-on: ${{ needs.setup.outputs.test_runner_type_small }}
|
||||
needs: setup
|
||||
if: ${{ (github.event_name == 'pull_request' || github.event_name == 'push' || github.event_name == 'release') }}
|
||||
outputs:
|
||||
matrix: ${{ steps.set-matrix.outputs.matrix }}
|
||||
cypress_batch_count: ${{ steps.set-batch-count.outputs.cypress_batch_count }}
|
||||
|
1
.github/workflows/gx-plugin.yml
vendored
1
.github/workflows/gx-plugin.yml
vendored
@ -3,6 +3,7 @@ on:
|
||||
push:
|
||||
branches:
|
||||
- master
|
||||
- releases/**
|
||||
paths:
|
||||
- ".github/workflows/gx-plugin.yml"
|
||||
- "metadata-ingestion-modules/gx-plugin/**"
|
||||
|
1
.github/workflows/metadata-ingestion.yml
vendored
1
.github/workflows/metadata-ingestion.yml
vendored
@ -3,6 +3,7 @@ on:
|
||||
push:
|
||||
branches:
|
||||
- master
|
||||
- releases/**
|
||||
paths:
|
||||
- ".github/workflows/metadata-ingestion.yml"
|
||||
- "metadata-ingestion/**"
|
||||
|
1
.github/workflows/metadata-io.yml
vendored
1
.github/workflows/metadata-io.yml
vendored
@ -3,6 +3,7 @@ on:
|
||||
push:
|
||||
branches:
|
||||
- master
|
||||
- releases/**
|
||||
paths:
|
||||
- "**/*.gradle"
|
||||
- "li-utils/**"
|
||||
|
1
.github/workflows/prefect-plugin.yml
vendored
1
.github/workflows/prefect-plugin.yml
vendored
@ -3,6 +3,7 @@ on:
|
||||
push:
|
||||
branches:
|
||||
- master
|
||||
- releases/**
|
||||
paths:
|
||||
- ".github/workflows/prefect-plugin.yml"
|
||||
- "metadata-ingestion-modules/prefect-plugin/**"
|
||||
|
1
.github/workflows/spark-smoke-test.yml
vendored
1
.github/workflows/spark-smoke-test.yml
vendored
@ -5,6 +5,7 @@ on:
|
||||
push:
|
||||
branches:
|
||||
- master
|
||||
- releases/**
|
||||
paths:
|
||||
- "metadata_models/**"
|
||||
- "metadata-integration/java/datahub-client/**"
|
||||
|
Loading…
x
Reference in New Issue
Block a user