mirror of
https://github.com/datahub-project/datahub.git
synced 2025-08-15 12:46:53 +00:00
feat(ci): enable ci to run on PR-s targeting all branches (#8933)
This commit is contained in:
parent
6310e51eb0
commit
c9309ff157
2
.github/workflows/airflow-plugin.yml
vendored
2
.github/workflows/airflow-plugin.yml
vendored
@ -10,7 +10,7 @@ on:
|
||||
- "metadata-models/**"
|
||||
pull_request:
|
||||
branches:
|
||||
- master
|
||||
- "**"
|
||||
paths:
|
||||
- ".github/**"
|
||||
- "metadata-ingestion-modules/airflow-plugin/**"
|
||||
|
11
.github/workflows/build-and-test.yml
vendored
11
.github/workflows/build-and-test.yml
vendored
@ -8,7 +8,7 @@ on:
|
||||
- "**.md"
|
||||
pull_request:
|
||||
branches:
|
||||
- master
|
||||
- "**"
|
||||
paths-ignore:
|
||||
- "docs/**"
|
||||
- "**.md"
|
||||
@ -24,17 +24,12 @@ jobs:
|
||||
strategy:
|
||||
fail-fast: false
|
||||
matrix:
|
||||
command:
|
||||
[
|
||||
command: [
|
||||
# metadata-ingestion and airflow-plugin each have dedicated build jobs
|
||||
"except_metadata_ingestion",
|
||||
"frontend"
|
||||
]
|
||||
timezone:
|
||||
[
|
||||
"UTC",
|
||||
"America/New_York",
|
||||
]
|
||||
timezone: ["UTC", "America/New_York"]
|
||||
runs-on: ubuntu-latest
|
||||
timeout-minutes: 60
|
||||
steps:
|
||||
|
9
.github/workflows/check-datahub-jars.yml
vendored
9
.github/workflows/check-datahub-jars.yml
vendored
@ -10,7 +10,7 @@ on:
|
||||
- "**.md"
|
||||
pull_request:
|
||||
branches:
|
||||
- master
|
||||
- "**"
|
||||
paths-ignore:
|
||||
- "docker/**"
|
||||
- "docs/**"
|
||||
@ -28,12 +28,7 @@ jobs:
|
||||
max-parallel: 1
|
||||
fail-fast: false
|
||||
matrix:
|
||||
command:
|
||||
[
|
||||
"datahub-client",
|
||||
"datahub-protobuf",
|
||||
"spark-lineage"
|
||||
]
|
||||
command: ["datahub-client", "datahub-protobuf", "spark-lineage"]
|
||||
runs-on: ubuntu-latest
|
||||
steps:
|
||||
- uses: actions/checkout@v3
|
||||
|
4
.github/workflows/close-stale-issues.yml
vendored
4
.github/workflows/close-stale-issues.yml
vendored
@ -18,7 +18,9 @@ jobs:
|
||||
days-before-issue-stale: 30
|
||||
days-before-issue-close: 30
|
||||
stale-issue-label: "stale"
|
||||
stale-issue-message: "This issue is stale because it has been open for 30 days with no activity. If you believe this is still an issue on the latest DataHub release please leave a comment with the version that you tested it with. If this is a question/discussion please head to https://slack.datahubproject.io. For feature requests please use https://feature-requests.datahubproject.io"
|
||||
stale-issue-message:
|
||||
"This issue is stale because it has been open for 30 days with no activity. If you believe this is still an issue on the latest DataHub release please leave a comment with the version that you tested it with. If this is a question/discussion please head to https://slack.datahubproject.io.\
|
||||
\ For feature requests please use https://feature-requests.datahubproject.io"
|
||||
close-issue-message: "This issue was closed because it has been inactive for 30 days since being marked as stale."
|
||||
days-before-pr-stale: -1
|
||||
days-before-pr-close: -1
|
||||
|
13
.github/workflows/code-checks.yml
vendored
13
.github/workflows/code-checks.yml
vendored
@ -10,7 +10,7 @@ on:
|
||||
- ".github/workflows/code-checks.yml"
|
||||
pull_request:
|
||||
branches:
|
||||
- master
|
||||
- "**"
|
||||
paths:
|
||||
- "metadata-io/**"
|
||||
- "datahub-web-react/**"
|
||||
@ -21,17 +21,12 @@ concurrency:
|
||||
group: ${{ github.workflow }}-${{ github.event.pull_request.number || github.ref }}
|
||||
cancel-in-progress: true
|
||||
|
||||
|
||||
jobs:
|
||||
code_check:
|
||||
strategy:
|
||||
fail-fast: false
|
||||
matrix:
|
||||
command:
|
||||
[
|
||||
"check_event_type.py",
|
||||
"check_policies.py"
|
||||
]
|
||||
command: ["check_event_type.py", "check_policies.py"]
|
||||
name: run code checks
|
||||
runs-on: ubuntu-latest
|
||||
steps:
|
||||
@ -43,5 +38,5 @@ jobs:
|
||||
with:
|
||||
python-version: "3.10"
|
||||
- name: run check ${{ matrix.command }}
|
||||
run: |
|
||||
python .github/scripts/${{ matrix.command }}
|
||||
run: |-
|
||||
python .github/scripts/${{ matrix.command }}
|
||||
|
3
.github/workflows/docker-postgres-setup.yml
vendored
3
.github/workflows/docker-postgres-setup.yml
vendored
@ -8,7 +8,7 @@ on:
|
||||
- ".github/workflows/docker-postgres-setup.yml"
|
||||
pull_request:
|
||||
branches:
|
||||
- master
|
||||
- "**"
|
||||
paths:
|
||||
- "docker/postgres-setup/**"
|
||||
- ".github/workflows/docker-postgres-setup.yml"
|
||||
@ -61,4 +61,3 @@ jobs:
|
||||
context: .
|
||||
file: ./docker/postgres-setup/Dockerfile
|
||||
platforms: linux/amd64,linux/arm64
|
||||
|
||||
|
7
.github/workflows/docker-unified.yml
vendored
7
.github/workflows/docker-unified.yml
vendored
@ -8,7 +8,7 @@ on:
|
||||
- "**.md"
|
||||
pull_request:
|
||||
branches:
|
||||
- master
|
||||
- "**"
|
||||
paths-ignore:
|
||||
- "docs/**"
|
||||
- "**.md"
|
||||
@ -545,7 +545,6 @@ jobs:
|
||||
id: tag
|
||||
run: echo "tag=${{ steps.filter.outputs.datahub-ingestion-base == 'true' && needs.setup.outputs.unique_full_tag || 'head' }}" >> $GITHUB_OUTPUT
|
||||
|
||||
|
||||
datahub_ingestion_slim_build:
|
||||
name: Build and Push DataHub Ingestion Docker Images
|
||||
runs-on: ubuntu-latest
|
||||
@ -809,8 +808,8 @@ jobs:
|
||||
DATAHUB_VERSION: ${{ needs.setup.outputs.unique_tag }}
|
||||
DATAHUB_ACTIONS_IMAGE: ${{ env.DATAHUB_INGESTION_IMAGE }}
|
||||
ACTIONS_VERSION: ${{ needs.datahub_ingestion_slim_build.outputs.tag }}
|
||||
ACTIONS_EXTRA_PACKAGES: 'acryl-datahub-actions[executor]==0.0.13 acryl-datahub-actions==0.0.13 acryl-datahub==0.10.5'
|
||||
ACTIONS_CONFIG: 'https://raw.githubusercontent.com/acryldata/datahub-actions/main/docker/config/executor.yaml'
|
||||
ACTIONS_EXTRA_PACKAGES: "acryl-datahub-actions[executor]==0.0.13 acryl-datahub-actions==0.0.13 acryl-datahub==0.10.5"
|
||||
ACTIONS_CONFIG: "https://raw.githubusercontent.com/acryldata/datahub-actions/main/docker/config/executor.yaml"
|
||||
run: |
|
||||
./smoke-test/run-quickstart.sh
|
||||
- name: sleep 60s
|
||||
|
2
.github/workflows/documentation.yml
vendored
2
.github/workflows/documentation.yml
vendored
@ -3,7 +3,7 @@ name: documentation
|
||||
on:
|
||||
pull_request:
|
||||
branches:
|
||||
- master
|
||||
- "**"
|
||||
push:
|
||||
branches:
|
||||
- master
|
||||
|
4
.github/workflows/lint-actions.yml
vendored
4
.github/workflows/lint-actions.yml
vendored
@ -2,8 +2,10 @@ name: Lint actions
|
||||
on:
|
||||
pull_request:
|
||||
paths:
|
||||
- '.github/workflows/**'
|
||||
- ".github/workflows/**"
|
||||
|
||||
branches:
|
||||
- "**"
|
||||
jobs:
|
||||
actionlint:
|
||||
runs-on: ubuntu-latest
|
||||
|
2
.github/workflows/metadata-ingestion.yml
vendored
2
.github/workflows/metadata-ingestion.yml
vendored
@ -9,7 +9,7 @@ on:
|
||||
- "metadata-models/**"
|
||||
pull_request:
|
||||
branches:
|
||||
- master
|
||||
- "**"
|
||||
paths:
|
||||
- ".github/**"
|
||||
- "metadata-ingestion/**"
|
||||
|
2
.github/workflows/metadata-io.yml
vendored
2
.github/workflows/metadata-io.yml
vendored
@ -10,7 +10,7 @@ on:
|
||||
- "metadata-io/**"
|
||||
pull_request:
|
||||
branches:
|
||||
- master
|
||||
- "**"
|
||||
paths:
|
||||
- "**/*.gradle"
|
||||
- "li-utils/**"
|
||||
|
2
.github/workflows/spark-smoke-test.yml
vendored
2
.github/workflows/spark-smoke-test.yml
vendored
@ -12,7 +12,7 @@ on:
|
||||
- ".github/workflows/spark-smoke-test.yml"
|
||||
pull_request:
|
||||
branches:
|
||||
- master
|
||||
- "**"
|
||||
paths:
|
||||
- "metadata_models/**"
|
||||
- "metadata-integration/java/datahub-client/**"
|
||||
|
Loading…
x
Reference in New Issue
Block a user