Skip to content

Commit

Permalink
Merge branch 'master' into log-format
Browse files Browse the repository at this point in the history
  • Loading branch information
szalai1 authored Nov 17, 2022
2 parents 4cfbab9 + d3174e7 commit f8de114
Show file tree
Hide file tree
Showing 725 changed files with 107,895 additions and 61,487 deletions.
16 changes: 8 additions & 8 deletions .github/pr-labeler-config.yml
Original file line number Diff line number Diff line change
@@ -1,15 +1,15 @@
ingestion:
- 'metadata-ingestion/**/*'
- "metadata-ingestion/**/*"

devops:
- 'docker/**/*'
- '.github/**/*'
- "docker/**/*"
- ".github/**/*"

product:
- 'datahub-web-react/**/*'
- 'datahub-frontend/**/*'
- 'datahub-graphql-core/**/*'
- 'metadata-io/**/*'
- "datahub-web-react/**/*"
- "datahub-frontend/**/*"
- "datahub-graphql-core/**/*"
- "metadata-io/**/*"

docs:
- 'docs/**/*'
- "docs/**/*"
4 changes: 2 additions & 2 deletions .github/pull_request_template.md
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@


## Checklist

- [ ] The PR conforms to DataHub's [Contributing Guideline](https://github.com/datahub-project/datahub/blob/master/docs/CONTRIBUTING.md) (particularly [Commit Message Format](https://github.com/datahub-project/datahub/blob/master/docs/CONTRIBUTING.md#commit-message-format))
- [ ] Links to related issues (if applicable)
- [ ] Tests for the changes have been added/updated (if applicable)
- [ ] Docs related to the changes have been added/updated (if applicable). If a new feature has been added a Usage Guide has been added for the same.
- [ ] For any breaking change/potential downtime/deprecation/big changes an entry has been made in [Updating DataHub](https://github.com/datahub-project/datahub/blob/master/docs/how/updating-datahub.md)
- [ ] For any breaking change/potential downtime/deprecation/big changes an entry has been made in [Updating DataHub](https://github.com/datahub-project/datahub/blob/master/docs/how/updating-datahub.md)
15 changes: 8 additions & 7 deletions .github/workflows/build-and-test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -24,20 +24,21 @@ jobs:
runs-on: ubuntu-latest
timeout-minutes: 60
steps:
- uses: actions/checkout@v2
- uses: actions/checkout@v3
with:
fetch-depth: 0
- name: Set up JDK 11
uses: actions/setup-java@v1
uses: actions/setup-java@v3
with:
distribution: "zulu"
java-version: 11
- uses: actions/setup-python@v2
- uses: actions/setup-python@v4
with:
python-version: "3.7"
- name: Gradle build (and test)
run: |
./gradlew build -x :metadata-ingestion:build -x :metadata-ingestion:check -x docs-website:build -x :metadata-integration:java:spark-lineage:test -x :metadata-io:test
- uses: actions/upload-artifact@v2
- uses: actions/upload-artifact@v3
if: always()
with:
name: Test Results (build)
Expand All @@ -58,8 +59,8 @@ jobs:
quickstart-compose-validation:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- uses: actions/setup-python@v2
- uses: actions/checkout@v3
- uses: actions/setup-python@v4
with:
python-version: "3.7"
- name: Quickstart Compose Validation
Expand All @@ -69,7 +70,7 @@ jobs:
runs-on: ubuntu-latest
steps:
- name: Upload
uses: actions/upload-artifact@v2
uses: actions/upload-artifact@v3
with:
name: Event File
path: ${{ github.event_path }}
8 changes: 4 additions & 4 deletions .github/workflows/check-datahub-jars.yml
Original file line number Diff line number Diff line change
Expand Up @@ -23,18 +23,18 @@ concurrency:
cancel-in-progress: true

jobs:

check_jars:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- uses: actions/checkout@v3
with:
fetch-depth: 0
- name: Set up JDK 11
uses: actions/setup-java@v1
uses: actions/setup-java@v3
with:
distribution: "zulu"
java-version: 11
- uses: actions/setup-python@v2
- uses: actions/setup-python@v4
with:
python-version: "3.7"
- name: check datahub-client jar
Expand Down
55 changes: 27 additions & 28 deletions .github/workflows/check-quickstart.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,6 @@ concurrency:
group: ${{ github.workflow }}-${{ github.event.pull_request.number || github.ref }}
cancel-in-progress: true


jobs:
test-quickstart:
strategy:
Expand All @@ -18,30 +17,30 @@ jobs:
os: [ubuntu-20.04]
runs-on: ${{ matrix.os }}
steps:
- uses: actions/setup-python@v2
with:
python-version: "3.10"
- name: Install acryl-datahub
run: |
pip install --upgrade acryl-datahub
datahub version
python -c "import platform; print(platform.platform())"
- name: Run quickstart
run: |
datahub docker quickstart
- name: Ingest sample data
run: |
datahub docker ingest-sample-data
- name: See status
run: |
docker ps -a && datahub docker check
- name: store logs
if: failure()
run: |
docker logs datahub-gms >& quickstart-gms.log
- name: Upload logs
uses: actions/upload-artifact@v2
if: failure()
with:
name: docker-quickstart-logs-${{ matrix.os }}
path: "*.log"
- uses: actions/setup-python@v4
with:
python-version: "3.10"
- name: Install acryl-datahub
run: |
pip install --upgrade acryl-datahub
datahub version
python -c "import platform; print(platform.platform())"
- name: Run quickstart
run: |
datahub docker quickstart
- name: Ingest sample data
run: |
datahub docker ingest-sample-data
- name: See status
run: |
docker ps -a && datahub docker check
- name: store logs
if: failure()
run: |
docker logs datahub-gms >& quickstart-gms.log
- name: Upload logs
uses: actions/upload-artifact@v3
if: failure()
with:
name: docker-quickstart-logs-${{ matrix.os }}
path: "*.log"
2 changes: 1 addition & 1 deletion .github/workflows/close-stale-issues.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ jobs:
issues: write
pull-requests: write
steps:
- uses: actions/stale@v5
- uses: actions/stale@v6
with:
ascending: true
operations-per-run: 100
Expand Down
8 changes: 4 additions & 4 deletions .github/workflows/delete-artifacts.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ jobs:
timeout-minutes: 10

steps:
- name: Remove old artifacts
uses: c-hive/gha-remove-artifacts@v1
with:
age: '1 second'
- name: Remove old artifacts
uses: c-hive/gha-remove-artifacts@v1
with:
age: "1 second"
12 changes: 6 additions & 6 deletions .github/workflows/docker-feast-source.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,14 +4,14 @@ on:
branches:
- master
paths:
- 'metadata-ingestion/src/datahub/ingestion/source/feast_image/**'
- '.github/workflows/docker-feast-source.yml'
- "metadata-ingestion/src/datahub/ingestion/source/feast_image/**"
- ".github/workflows/docker-feast-source.yml"
pull_request:
branches:
- master
paths:
- 'metadata-ingestion/src/datahub/ingestion/source/feast_image/**'
- '.github/workflows/docker-feast-source.yml'
- "metadata-ingestion/src/datahub/ingestion/source/feast_image/**"
- ".github/workflows/docker-feast-source.yml"
release:
types: [published, edited]

Expand All @@ -27,7 +27,7 @@ jobs:
publish: ${{ steps.publish.outputs.publish }}
steps:
- name: Checkout
uses: actions/checkout@v2
uses: actions/checkout@v3
- name: Compute Tag
id: tag
run: |
Expand All @@ -51,7 +51,7 @@ jobs:
needs: setup
steps:
- name: Check out the repo
uses: actions/checkout@v2
uses: actions/checkout@v3
with:
fetch-depth: 0
- name: Docker meta
Expand Down
3 changes: 1 addition & 2 deletions .github/workflows/docker-ingestion-base.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,13 +15,12 @@ concurrency:
cancel-in-progress: true

jobs:

build-base:
name: Build and Push Docker Image to Docker Hub
runs-on: ubuntu-latest
steps:
- name: Check out the repo
uses: actions/checkout@v2
uses: actions/checkout@v3
with:
fetch-depth: 0
- name: Set up QEMU
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/docker-ingestion-smoke.yml
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ jobs:
publish: ${{ steps.publish.outputs.publish }}
steps:
- name: Checkout
uses: actions/checkout@v2
uses: actions/checkout@v3
- name: Compute Tag
id: tag
run: |
Expand Down Expand Up @@ -55,7 +55,7 @@ jobs:
image_name: ${{ env.IMAGE }}
steps:
- name: Check out the repo
uses: actions/checkout@v2
uses: actions/checkout@v3
with:
fetch-depth: 0
- name: Build and push
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/docker-ingestion.yml
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ jobs:
python_release_version: ${{ steps.python_release_version.outputs.release_version }}
steps:
- name: Checkout
uses: actions/checkout@v2
uses: actions/checkout@v3
- name: Compute Tag
id: tag
run: |
Expand Down Expand Up @@ -60,7 +60,7 @@ jobs:
needs: setup
steps:
- name: Check out the repo
uses: actions/checkout@v2
uses: actions/checkout@v3
with:
fetch-depth: 0
- name: Docker meta
Expand Down
12 changes: 6 additions & 6 deletions .github/workflows/docker-postgres-setup.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,14 +4,14 @@ on:
branches:
- master
paths:
- 'docker/postgres-setup/**'
- '.github/workflows/docker-postgres-setup.yml'
- "docker/postgres-setup/**"
- ".github/workflows/docker-postgres-setup.yml"
pull_request:
branches:
- master
paths:
- 'docker/postgres-setup/**'
- '.github/workflows/docker-postgres-setup.yml'
- "docker/postgres-setup/**"
- ".github/workflows/docker-postgres-setup.yml"
release:
types: [published, edited]

Expand All @@ -27,7 +27,7 @@ jobs:
publish: ${{ steps.publish.outputs.publish }}
steps:
- name: Checkout
uses: actions/checkout@v2
uses: actions/checkout@v3
- name: Compute Tag
id: tag
run: |
Expand All @@ -50,7 +50,7 @@ jobs:
needs: setup
steps:
- name: Check out the repo
uses: actions/checkout@v2
uses: actions/checkout@v3
with:
fetch-depth: 0
- name: Docker meta
Expand Down
Loading

0 comments on commit f8de114

Please sign in to comment.