This commit is contained in:
Vj-L 2022-04-19 11:43:08 +05:30 committed by GitHub
parent 91af412cbf
commit 869a4a193f
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
10 changed files with 31 additions and 1 deletions

View File

@ -17,6 +17,9 @@ on:
pull_request_target: pull_request_target:
branches: [ main ] branches: [ main ]
concurrency:
group: java-checkstyle-${{ github.head_ref }}
cancel-in-progress: true
jobs: jobs:
java-checkstyle: java-checkstyle:
runs-on: ${{matrix.os}} runs-on: ${{matrix.os}}
@ -62,4 +65,4 @@ jobs:
- name: Java checkstyle failed, check the comment in the PR - name: Java checkstyle failed, check the comment in the PR
if: steps.git.outcome != 'success' if: steps.git.outcome != 'success'
run: | run: |
exit 1 exit 1

View File

@ -23,6 +23,9 @@ on:
- "catalog-rest-service/**" - "catalog-rest-service/**"
- "openmetadata-ui/**" - "openmetadata-ui/**"
concurrency:
group: maven-build-${{ github.head_ref || github.run_id }}
cancel-in-progress: true
jobs: jobs:
test: test:
runs-on: ${{matrix.os}} runs-on: ${{matrix.os}}

View File

@ -20,6 +20,9 @@ on:
paths: paths:
- 'catalog-rest-service/src/main/resources/json/schema/**' - 'catalog-rest-service/src/main/resources/json/schema/**'
concurrency:
group: openmetadata-ingestion-core-version-comment-${{ github.head_ref }}
cancel-in-progress: true
jobs: jobs:
py-ingestion-core-comment: py-ingestion-core-comment:
runs-on: ubuntu-latest runs-on: ubuntu-latest

View File

@ -17,6 +17,9 @@ on:
pull_request_target: pull_request_target:
branches: [ main ] branches: [ main ]
concurrency:
group: py-checkstyle-${{ github.head_ref }}
cancel-in-progress: true
jobs: jobs:
py-checkstyle: py-checkstyle:
runs-on: ${{matrix.os}} runs-on: ${{matrix.os}}

View File

@ -18,6 +18,9 @@ on:
paths: paths:
- 'catalog-rest-service/src/main/resources/json/**' - 'catalog-rest-service/src/main/resources/json/**'
concurrency:
group: py-generate-${{ github.head_ref }}
cancel-in-progress: true
jobs: jobs:
validate: validate:
runs-on: ubuntu-latest runs-on: ubuntu-latest

View File

@ -24,6 +24,9 @@ on:
- 'catalog-rest-service/src/main/resources/json/schema/**' - 'catalog-rest-service/src/main/resources/json/schema/**'
- 'ingestion-core/src/metadata/_version.py' - 'ingestion-core/src/metadata/_version.py'
concurrency:
group: py-ingestion-core-publish-${{ github.head_ref || github.run_id }}
cancel-in-progress: true
jobs: jobs:
py-core-build-and-push: py-core-build-and-push:
runs-on: ubuntu-latest runs-on: ubuntu-latest

View File

@ -23,6 +23,9 @@ on:
- ingestion/** - ingestion/**
- catalog-rest-service/** - catalog-rest-service/**
concurrency:
group: py-tests-${{ github.head_ref || github.run_id }}
cancel-in-progress: true
jobs: jobs:
py-run-tests: py-run-tests:
runs-on: ubuntu-latest runs-on: ubuntu-latest

View File

@ -26,6 +26,9 @@ on:
- 'openmetadata-ui/src/main/resources/ui/**' - 'openmetadata-ui/src/main/resources/ui/**'
- 'openmetadata-ui/src/test/java/org/openmetadata/catalog/selenium/pagesWithoutData/**' - 'openmetadata-ui/src/test/java/org/openmetadata/catalog/selenium/pagesWithoutData/**'
concurrency:
group: selenium-noIngestion-tests-${{ github.head_ref || github.run_id }}
cancel-in-progress: true
jobs: jobs:
build: build:

View File

@ -25,6 +25,9 @@ on:
paths: paths:
- 'openmetadata-ui/src/main/resources/ui/**' - 'openmetadata-ui/src/main/resources/ui/**'
- 'openmetadata-ui/src/test/java/org/openmetadata/catalog/selenium/pages/**' - 'openmetadata-ui/src/test/java/org/openmetadata/catalog/selenium/pages/**'
concurrency:
group: selenium-tests-${{ github.head_ref || github.run_id }}
cancel-in-progress: true
jobs: jobs:
build: build:

View File

@ -14,6 +14,9 @@ on:
- openmetadata-ui/src/main/resources/ui/** - openmetadata-ui/src/main/resources/ui/**
env: env:
UI_WORKING_DIRECTORY: openmetadata-ui/src/main/resources/ui UI_WORKING_DIRECTORY: openmetadata-ui/src/main/resources/ui
concurrency:
group: yarn-coverage-${{ github.head_ref || github.run_id }}
cancel-in-progress: true
jobs: jobs:
coverage-tests: coverage-tests:
strategy: strategy: