forked from datahub-project/datahub
-
Notifications
You must be signed in to change notification settings - Fork 0
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Update internal 0.12.1 #52
Merged
Merged
Changes from all commits
Commits
Show all changes
655 commits
Select commit
Hold shift + click to select a range
2c01914
fix(metadata-ingestion): adds default value to _resolved_domain_urn i…
alexklavensnyt f5c8192
ci: tweak to only run relevant workflows (#9052)
anshbansal 9c72bd9
fix(test): Fix for flaky download_lineage_results cypress test (#9132)
kkorchak 300cea3
docs: Update updating-datahub.md (#9131)
pedro93 58bcedc
fix(ingest/clickhouse): pin version to solve column reflection regres…
hsheth2 51d6d1f
feat(ingest/looker): cleanup error handling (#9135)
hsheth2 0bd2d9a
feat(ingest): add `entity_supports_aspect` helper (#9120)
hsheth2 ce0f36b
feat(sqlparser): support more update syntaxes + fix bug with subqueri…
hsheth2 94d438d
docs: correct broken doc links (#9137)
sachinsaju ea12732
feat(ingest): sql parser perf + asyncio fixes (#9119)
hsheth2 b565a65
feat(quickstart): fix broker InconsistentClusterIdException issues (#…
hsheth2 2e8954f
fix(policies): remove non-existent policies, fix name (#9150)
anshbansal b8dcc86
refactor(smoke): Fix for a test that passed on Oss and failed on Saas…
kkorchak dae320c
docs(teradata): teradata doc external link 404 fix (#9152)
sachinsaju 7a31950
fix(datahub-client): Include relocation for snakeyaml dependency. (#8…
jiateoh 73514ad
fix(ingest): cleanup large images in CI (#9153)
hsheth2 d231497
build: increase gradle retries (#9091)
hsheth2 55f1453
feat(ingest): bump sqlglot parser (#9155)
hsheth2 876de21
feat(ingest/mongodb): support stateful ingestion (#9118)
TonyOuyangGit f2eb0cf
smoke-test: API test for managing secrets privilege (#9121)
kkorchak 95d9ff2
fix(ingest): handle exceptions in min, max, mean profiling (#9129)
mayurinehate 932eebe
feat: rename Assets tab to Owner Of (#9141)
kushagra-apptware 5078922
fix(ingest/mongodb): fix schema inference for lists of values (#9145)
hsheth2 f7cd802
fix(ingest/db2): fix handling for table properties (#9128)
deepgarg-visa bab9d1c
fix(ingest): fully support MCPs in urn_iter primitive (#9157)
hsheth2 12b4171
fix(ingest/bigquery): use correct row count in null count profiling c…
mayurinehate 11d8988
docs: add feature guides for subscriptions and notifications (#9122)
yoonhyejin f42cb95
docs: unify oidc guides using tabs (#9068)
yoonhyejin ec97250
chore(ingest): remove legacy memory_leak_detector (#9158)
hsheth2 148ad1a
feat(ingest/looker): support emitting unused explores (#9159)
hsheth2 7ff48b3
refactor(policy): refactor policy locking, no functional difference (…
david-leifker 0731111
API test for managing access token privilege (#9167)
kkorchak ddb4e1b
fix(mysql-setup): quote database name (#9169)
darnaut c2bc41d
fix(health): fix health check url authentication (#9117)
david-leifker efd73a5
fix(elasticsearch): fix elasticsearch-setup for dropped 000001 index …
david-leifker ac1a5a6
fix(tests): Origin/fix flaky glossary navigation cypress test (#9175)
kkorchak 60131a8
fix: bad lineage link in `LineageGraphOnboardingConfig.tsx` (#9162)
walter9388 7cfe3c7
OBS-191 | Viewing domains page should not require Manage Domains priv…
sumitappt 81daae8
fix: expand the stats row in search preview cards (#9140)
gaurav2733 0215666
docs(ingest): clarify adding source guide (#9161)
hsheth2 4a4c290
chore: stop ingestion-smoke CI errors on forks (#9160)
hsheth2 86d2b08
docs(ingest): inherit capabilities from superclasses (#9174)
hsheth2 2c58c63
fix(ingest/datahub-source): Order by version in memory (#9185)
asikowitz f2ce3ab
lint(frontend): fix HeaderLinks lint error (#9189)
david-leifker 34aa08b
refactor(ui): Refactor entity page loading indicators (#9195)
jjoyce0510 279fdd5
fix(security): fix for zookeeper CVE-2023-44981 (#9190)
david-leifker ac9a014
refactor(ui): Rename "dataset details" button text to "view details" …
jjoyce0510 4577001
feat(ui): Add command-k icons to search bar (#9194)
jjoyce0510 88cde08
feat(ui): Update Apollo cache to work with union types (#9193)
chriscollins3456 23c98ec
feat(policy): enable support for 10k+ policies (#9177)
david-leifker 353584c
feat(browsepathv2): Allow system-update to reprocess browse paths v2 …
david-leifker e73e926
feat(integration/fivetran): Fivetran connector integration (#9018)
shubhamjagtap639 399e032
feat(neo4j): Allow datahub to connect to specific neo4j database (#9179)
deepgarg-visa 332d4af
feat(subtypes): support subtypes for charts in the UI (#9186)
gabe-lyons 7213591
feat(ui) Debounce auto-complete in search bar (#9205)
chriscollins3456 70692b4
fix(lineage): magical lineage layout fix (#9187)
gabe-lyons f87983d
refactor(pdl): Refactoring Assertion model enums out (#9191)
jjoyce0510 f38c808
feat(auth): Add roles to policy engine validation logic (#9178)
pedro93 f73ecfd
style(ingest/tableau): Rename tableau_constant to c (#9207)
asikowitz 9174301
docs: update broken link in metadata-modelling (#9184)
sachinsaju e494a9c
test(): Test policy to create and manage privileges (#9173)
kkorchak 2187d24
docs(security): add security doc to website (#9209)
RyanHolstien 5911a7b
docs(java-sdk-dataset): add dataset via java sdk example (#9136)
sachinsaju d6cb106
doc(java-sdk-example):example to create tag via java-sdk (#9151)
sachinsaju 1077138
fix(ingest/powerbi): use dataset workspace id as key for parent conta…
looppi bfa1769
refactor(schema tab): Remove last observed timestamps from schema tab…
jjoyce0510 9c0f4de
docs: adjust sidebar & create new admin section (#9064)
yoonhyejin 179f103
fix(metadata-io): in Neo4j service use proper algorithm to get lineag…
lix-mms b851d59
Managed Ingestion UX Improvements (#9216)
purnimagarg1 89dff8f
chore(ingest): start working on pydantic v2 support (#9220)
hsheth2 a187127
feat(ingestion): file-based state checkpoint provider (#9029)
shubhamjagtap639 bb73002
feat(ingestion/airflow): support datajobs as task inlets (#9211)
shubhamjagtap639 0e3efab
fix(build): set `@cliMajorVersion@` correctly (#9228)
hsheth2 ebd2e23
fix(datahub-ingestion): remove old jars, sync pyspark version (#9217)
david-leifker 7ba54fd
fix: re-add security.md to sidebar (#9229)
yoonhyejin 582eebe
feat(policies): reduce default access for all users (#9067)
RyanHolstien 4461b60
Update add new company s7 airlines (#9019)
YuriyGavrilov 3844b78
docs(debug): add debug information for cli (#9208)
RyanHolstien ff90fb6
fix(datahub-ingestion): prevent transitive deps, bump addtional pyspa…
david-leifker 19aa215
feat(ingest/dbt): dbt column-level lineage (#8991)
hsheth2 906a5b9
chore(ingest): cleanup various methods (#9221)
hsheth2 f1b6aa7
docs: clarify how to disable telemetry (#9236)
hsheth2 cfeecd7
feat(ingest/mongodb): support AWS DocumentDB for MongoDB (#9201)
TonyOuyangGit ec13847
feat(airflow): make RUN_IN_THREAD configurable (#9226)
hsheth2 486e394
fix(signup): prevent invalid email signup (#9234)
RyanHolstien f70d8a4
chore(security): version adjustments for security vulns (#9243)
david-leifker 8475fc9
docs(ingest): fix typo in snowflake ingestion docs (#9239)
PGuiv 4201e54
chore(security): jre to headless, removes x11 dependency (#9245)
david-leifker 6655918
feat(recomendations): Make top platforms account only for searchable …
pedro93 5dd09dd
Feature/prd 770 (#9224)
gaurav2733 8451c75
fix(search): fix search on paginated lists (#9198)
Salman-Apptware ee9ee40
fix(): increase the search bar highlight border to double the width (…
gaurav2733 e6305c0
feat: Add loading indicator to Manage Domains sidebar (#9142)
sumitappt 15efa72
fix(ui): show external url also in entity profile of containers (#8834)
Masterchen09 78abeb9
feat(ingest/unity): Support specifying catalogs directly; pass env co…
asikowitz e15e28e
refactor(datahub-web-react): allows proxying to external datahub-fron…
PatrickfBraz cd789b8
chore(node): update node to non-EOL version (#9252)
david-leifker 9d41a8f
fix(ingest): drop redshift-legacy and redshift-usage-legacy sources (…
hsheth2 417ffb1
feat(ingest): support advanced configs for aws (#9237)
hsheth2 d0fa5de
fix(sql-parser): convert platform instance to lowercase when building…
Starkie 5cb0498
test(ingest/unity): Update goldens (#9254)
asikowitz b778def
build(ingest/hive): Update thrift pin (#8964)
asikowitz c348f84
docs(airflow): update plugin setup docs to include UI setup approach …
jiateoh b03515f
feat(usageclient): updates for usageclient (#9255)
david-leifker bc89a1c
fix(graphql): prevent duplicate index queries for dataproducts (#9260)
david-leifker 2b0811b
logging(search): log level highlight value urn detection (#9262)
david-leifker d2ca2dd
docs(development): Add Python version in Developer README (#9268)
kevin1chun b7df9e0
Sync datahub-head on merge (#9267)
noggi a704290
PRD-742/fix:Settings tab should have 2 scrollable sections (#9218)
Salman-Apptware 1ad4f96
feat: add ingestion overview pages (#9210)
yoonhyejin 0187480
fix(ingest/athena): detect decimal type correctly (#9270)
bossenti d9de854
fix(ui): Do not show manage in settings when no permissions for it Fi…
gaurav2733 b51cfc3
build(deps): bump @babel/traverse from 7.22.11 to 7.23.2 in /docs-web…
dependabot[bot] 38adff8
fix(gha): fix gha for single tag (#9283)
david-leifker 15e68bb
fix(node): fix node_options (#9281)
david-leifker fd129c7
fix: Revamp features page (#8839)
yoonhyejin cda980b
docs(acryl cloud): release notes 0.2.13 (#9291)
anshbansal 308de49
fix(): stats are spaced out too far (#9292)
gaurav2733 a62d52e
feat(mysql): upgrade to version 8.2 for quickstart (#9241)
RyanHolstien 37ea292
feat: add townhall RSVP link on the main page (#9277)
yoonhyejin f794a90
fix(ingest/snowflake): Apply email filter on all usage metrics (#9269)
treff7es 1c5871c
docs(ingestion): Added mention of host without protocol (#9301)
SimonOsipov 5ccb30e
fix(ingest/teradata): Teradata speed up changes (#9059)
treff7es 514c2fb
fix(kafka): fix consumer properties on due consumer (#9304)
david-leifker 298b9be
fix(dbt-cloud): do not pass macros to sorting nodes (#9302)
anshbansal a34fdfd
fix(ingest/lookml): emit all views with same name and different file …
mayurinehate cacddf7
fix(deprecation): bring frontend in-sync with model (#9303)
anshbansal ae5969f
fix(settings): fix the settings height when there are not many items …
Salman-Apptware 3806dc1
docs: update recommended CLI (#9307)
anshbansal a9650b6
feat(ui): bump frontend dependencies (#8353)
ngamanda 27127eb
fix(java) Fixes NPE ES service (#9311)
chriscollins3456 03be68c
feat(config): Configurable bootstrap of ownership types (#9308)
skrydal ac7fa56
fix(sec): update the "json-schema" version from package.json to solve…
kushagra-apptware ff9876f
fix(ingest/mssql): Add MONEY and SMALLMONEY data types as Number (#9313)
terratrue-daniel 08fb730
fix(ingest): drop deprecated database_alias from sql sources (#9299)
mayurinehate 966cb17
feat(dev): Make repositories configurable for enterprise developers (…
githendrik 3d7962c
fix(ingest/sql): improve handling of views with dots in their names (…
Starkie 2031bd4
docs(ingest): update docs on adding stateful ingestion (#9327)
hsheth2 3a84037
fix(docker): docker compose health checks port fix (#9326)
david-leifker bc24136
fix(ui): vulnerability (React): Inefficient Regular Expression Comple…
gaurav2733 e4c05fa
fix(ui): Fix UI glitch in policies creator (#9266)
chriscollins3456 10b7a95
fix(sidebar): remove a space reserved for scroll bars when sidebar is…
allizex ab10e6b
feat(ingest/mssql): enable TLS encryption for SQLServer using pytds (…
terratrue-daniel c946d26
fix(datahub-frontend): Add playCaffeine as replacement for removed pl…
4dd6738
fix(ingest): bump pyhive to fix headers issue (#9328)
hsheth2 0795f0b
feat(gradle): quickstart postgres gradle task (#9329)
david-leifker f8db909
Upload metadata model to s3 (#9325)
noggi fe444af
fix(ui) Set explicit height on logo images to fix render bug (#9344)
chriscollins3456 5e52e31
fix(ingest/browse): Re-emit browse path v2 aspects to avoid race cond…
asikowitz 863894b
feat(ingest/ldap): make ingestion robust to string departmentId (#9258)
hsheth2 dd09f5e
doc(ingest/teradata): Adding Teradata to list of Integrations (#9336)
treff7es c00ce51
fix(ui): Complexity in chalk/ansi-regex and minimatch ReDoS Vulnera…
kushagra-apptware cb72253
build(deps): bump tmpl from 1.0.4 to 1.0.5 in /datahub-web-react (#9345)
dependabot[bot] c3499f8
fix(): Address @babel/traverse vulnerabilities (#9343)
Salman-Apptware efaf21d
docs(ingest/looker): mark platform instance as a supported capability…
hsheth2 65d5034
fix(): Address HIGH vulnerability with Axios (#9353)
Salman-Apptware ae1169d
fix(ui): show formatted total result count in Search (#9356)
gaurav2733 a7dc9c9
feat(sdk): autogenerate urn types (#9257)
hsheth2 a8476ee
fix(airflow): support inlet datajobs correctly in v1 plugin (#9331)
hsheth2 f9fd946
feat(ingest): clean up DataHubRestEmitter return type (#9286)
hsheth2 4d9eb12
feat(ingest/dbt): support custom ownership types in dbt meta (#9332)
hsheth2 82f375d
docs(ingest/lookml): clarify that ssh key has no passphrase (#9348)
hsheth2 3142efc
fix(migrate): connect with token without dry-run (#9317)
anshbansal 864d3df
fix(ui): Minor: fix unnecessary lineage tab scroll by removing -1 mar…
jjoyce0510 36c7813
feat(ui): Support dynamic entity profile tab names (#9352)
kushagra-apptware 7b0a8f4
docs: add setup instructions for mac dependencies (#9346)
hsheth2 f3abfd1
feat(ui): Add caching to search, entity profile for better UX (#9362)
jjoyce0510 4562d79
refactor(ui): Remove primary color for sort selector + add t… (#9363)
jjoyce0510 14a463b
feat(ui): Supporting subtypes for data jobs (#9361)
jjoyce0510 f7f25bd
fix(ingest/bigquery): Fix format arguments for table lineage test (#9…
middagj 7857944
fix(siblingsHook): add logic to account for non dbt upstreams (#9154)
ethan-cartwright f9b24e0
feat: Support CSV ingestion through the UI (#9280)
purnimagarg1 6a18010
fix(vulns): node-fetch forwards secure headers to untrusted sites (#9…
Salman-Apptware c0ef728
fix(ingest/powerbi): Allow old parser to parse [db].[schema].[table] …
asikowitz 4ec3208
feat(ingest): support stdin in `datahub put` (#9359)
hsheth2 7517c77
fix(ingest): resolve issue with caplog and asyncio (#9377)
hsheth2 0d9aa26
fix(ingest/airflow): compat with pluggy 1.0 (#9365)
hsheth2 d123b61
feat(ingest/athena): Enable Athena view ingestion and view lineage (#…
treff7es 3ee8259
fix(ingest/redshift): Identify materialized views properly + fix conn…
treff7es 806f09a
test(ingest/unity): Unity catalog data generation (#8949)
asikowitz c66619c
fix(elasticsearch): set datahub usage events shard & replica count (#…
david-leifker 7fb6086
feat(gms/search): Adding support for DOUBLE Searchable type (#9369)
siladitya2 e144741
feat(lint): add spotless for java lint (#9373)
anshbansal 3c0727e
feat(ci): split no cypress test suite (#9387)
anshbansal a9c5c39
fix(ingest/redshift): too many values unpack (#9394)
anshbansal 2eee333
fix(ingest/redshift): Fix psycopg2 removal from Redshift Source (#9395)
treff7es 7a2b8bf
fix(ui): fixed font src spelling mistake (#9204)
accso-jo 27f23ec
feat(ingest/unity): GE Profiling (#8951)
asikowitz 16fe22a
feat(ui/last-updated): Calculate last updated time as max(properties …
asikowitz dc6f169
docs: add youtube link to townhall button on docs (#9381)
yoonhyejin 1ce752e
fix: set new sidebar section (#9393)
yoonhyejin 1b48877
fix(ingest/json-schema): take into account environment (#9385)
matthiasdg 4c348a8
feat(datahub-frontend): make Java memory options configurable via ENV…
haeniya a6726c1
docs(ingest/sql-queries): Add documentation (#9406)
asikowitz 923e76d
docs: fix duplicated overview link for api section (#9402)
yoonhyejin 3096aa6
feat(glossary): add toggle sidebar button and functionality to Busine…
olgadimova d182667
refactor(ui): Refactor entity registry to be inside App Providers (#9…
jjoyce0510 81a93dc
feat(ui): handle content prop changes in Editor component (#9400)
hsheth2 e3e9904
fix(ingest/profiling): Add back db_name to sql_generic_profiler metho…
asikowitz 7247369
feat(observability): add actor urn to GraphQL spans (#9382)
ngamanda f03c66c
fix(ingest/lookml): make deploy key optional (#9378)
hsheth2 0e40d38
fix(ingest/powerbi): fix powerbi chart input handling (#9415)
looppi d52f030
fix(ingest): fix metadata for custom python packages (#9391)
hsheth2 08a9b9b
fix(ingest): bug fixes and docs updates (#9422)
hsheth2 3e79a13
Pin alpine base image version to 3.18 (#9421)
noggi 159a013
fix(cypress) Fix flakiness of cypress test for glossary navigation (#…
chriscollins3456 b4e9d3b
[GDP-1363] Switch on nested meta-mapping permanently (#15)
YusufMahtab 4885ae6
Add custom Okta functionality for OAuth tokens and team attribute
luos-fc d1f494f
Add src/datahub/metadata
maiarareinaldo 86b210d
Set DataHub version to prevent vuln flags
maiarareinaldo 0426011
Add department into user's custom properties
YusufMahtab 2e95556
Add jinja substitution for meta mapping
luos-fc d84337e
Add platform_instance to browse path for Tableau source and linting
maiarareinaldo d6e5339
Update tests for okta and kafka
maiarareinaldo 1e26e69
Use schema field path V2 for dbt schema fields
maiarareinaldo 718c890
Fix flake8 issues
maiarareinaldo 2b771c9
Add support for parsing custom Athena SQL
luos-fc 5f55b7e
Update dbt schema field metadata
maiarareinaldo 2350396
Add athena lineage for upstream external tables
luos-fc 3271612
Apply lineage_platform_instance for all upstreams
luos-fc 590a3b8
Allow ignoring of certain upstream lineage platforms (#15)
luos-fc 04b1e13
Revert "feat: add dbt-athena adapter support for column types mapping…
maiarareinaldo 3df187d
Add jinja substitution for meta mapping
luos-fc 1ca0a3b
Allow ignoring of certain upstream lineage platforms (#15)
luos-fc eea3ef0
Update src/datahub/metadata folder
maiarareinaldo d07d919
Update datahub cli version
maiarareinaldo 59cd18a
feat(tableau): emit browsePathsV2 for upstream tables
maiarareinaldo 267c1ea
feat(dbt): emit browsePathsV2 for dbt nodes
maiarareinaldo 0914fa1
feat(kafka): emit browsePathsV2
maiarareinaldo 4d943dc
feat(tableau): emit browsePathsV2 for datasources and custom sql
maiarareinaldo a348afa
Build frontend images (internal branch)
danielcmessias 097ce93
Setup Amplitude in the frontend
danielcmessias a99c38f
Add departmentName when getting user data for identify calls
danielcmessias c2628e2
fix: set ignore_upstream_lineage_platforms to [] if unset
danielfordfc aa043ad
feat: add upstream postgres db whitelisting feature
danielfordfc 7d86089
Apply suggestions from code review
danielfordfc c913f98
test: fix tests for upstream_lineage and new whitelist feature
danielfordfc 21a70f8
fix(dbt): Test ingestion assertee urn issues
maiarareinaldo 29794a2
Update src/datahub/metadata autogenerated files
maiarareinaldo 80b62f5
Linting
maiarareinaldo 41cb4da
Resolve merge conflicts
maiarareinaldo 4b84c14
Switch on nested metamapping
maiarareinaldo d13b779
Update datahub version on __init__
maiarareinaldo ce86642
fix(ingest): avoid git dependency in dbt (#9447)
hsheth2 5c6015f
feat(ingest/dbt): speed up dbt CLL (#9617)
hsheth2 4d07a84
Fix tableau bug
maiarareinaldo 290ff47
Fix frontend docker build
maiarareinaldo 9b8933b
feat(ingest/glue): add catalog alias to the urn
maiarareinaldo 4970750
fix(ingest/tableau): add database to upstream Athena tables
maiarareinaldo 8f2a7d4
fix(ingest): fix inferred column lineage for upstream Athena tables
maiarareinaldo File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
The table of contents is too big for display.
Diff view
Diff view
The diff you're trying to view is too large. We only load the first 3000 changed files.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,90 @@ | ||
name: Airflow Plugin | ||
on: | ||
push: | ||
branches: | ||
- master | ||
paths: | ||
- ".github/workflows/airflow-plugin.yml" | ||
- "metadata-ingestion-modules/airflow-plugin/**" | ||
- "metadata-ingestion/**" | ||
- "metadata-models/**" | ||
pull_request: | ||
branches: | ||
- "**" | ||
paths: | ||
- ".github/workflows/airflow-plugin.yml" | ||
- "metadata-ingestion-modules/airflow-plugin/**" | ||
- "metadata-ingestion/**" | ||
- "metadata-models/**" | ||
release: | ||
types: [published] | ||
|
||
concurrency: | ||
group: ${{ github.workflow }}-${{ github.event.pull_request.number || github.ref }} | ||
cancel-in-progress: true | ||
|
||
jobs: | ||
airflow-plugin: | ||
runs-on: ubuntu-latest | ||
env: | ||
SPARK_VERSION: 3.0.3 | ||
DATAHUB_TELEMETRY_ENABLED: false | ||
strategy: | ||
matrix: | ||
include: | ||
- python-version: "3.8" | ||
extra_pip_requirements: "apache-airflow~=2.1.4" | ||
extra_pip_extras: plugin-v1 | ||
- python-version: "3.8" | ||
extra_pip_requirements: "apache-airflow~=2.2.4" | ||
extra_pip_extras: plugin-v1 | ||
- python-version: "3.10" | ||
extra_pip_requirements: "apache-airflow~=2.4.0" | ||
extra_pip_extras: plugin-v2 | ||
- python-version: "3.10" | ||
extra_pip_requirements: "apache-airflow~=2.6.0" | ||
extra_pip_extras: plugin-v2 | ||
- python-version: "3.10" | ||
extra_pip_requirements: "apache-airflow>=2.7.0" | ||
extra_pip_extras: plugin-v2 | ||
fail-fast: false | ||
steps: | ||
- uses: actions/checkout@v3 | ||
- uses: actions/setup-python@v4 | ||
with: | ||
python-version: ${{ matrix.python-version }} | ||
cache: "pip" | ||
- name: Install dependencies | ||
run: ./metadata-ingestion/scripts/install_deps.sh | ||
- name: Install airflow package and test (extras ${{ matrix.extra_pip_requirements }}) | ||
run: ./gradlew -Pextra_pip_requirements='${{ matrix.extra_pip_requirements }}' -Pextra_pip_extras='${{ matrix.extra_pip_extras }}' :metadata-ingestion-modules:airflow-plugin:lint :metadata-ingestion-modules:airflow-plugin:testQuick | ||
- name: pip freeze show list installed | ||
if: always() | ||
run: source metadata-ingestion-modules/airflow-plugin/venv/bin/activate && pip freeze | ||
- uses: actions/upload-artifact@v3 | ||
if: ${{ always() && matrix.python-version == '3.10' && matrix.extra_pip_requirements == 'apache-airflow>=2.7.0' }} | ||
with: | ||
name: Test Results (Airflow Plugin ${{ matrix.python-version}}) | ||
path: | | ||
**/build/reports/tests/test/** | ||
**/build/test-results/test/** | ||
**/junit.*.xml | ||
- name: Upload coverage to Codecov | ||
if: always() | ||
uses: codecov/codecov-action@v3 | ||
with: | ||
token: ${{ secrets.CODECOV_TOKEN }} | ||
directory: . | ||
fail_ci_if_error: false | ||
flags: airflow-${{ matrix.python-version }}-${{ matrix.extraPythonRequirement }} | ||
name: pytest-airflow | ||
verbose: true | ||
|
||
event-file: | ||
runs-on: ubuntu-latest | ||
steps: | ||
- name: Upload | ||
uses: actions/upload-artifact@v3 | ||
with: | ||
name: Event File | ||
path: ${{ github.event_path }} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -8,7 +8,7 @@ on: | |
- "**.md" | ||
pull_request: | ||
branches: | ||
- master | ||
- "**" | ||
paths-ignore: | ||
- "docs/**" | ||
- "**.md" | ||
|
@@ -24,37 +24,37 @@ jobs: | |
strategy: | ||
fail-fast: false | ||
matrix: | ||
command: | ||
[ | ||
"./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 -x :metadata-ingestion-modules:airflow-plugin:build -x :datahub-frontend:build -x :datahub-web-react:build --parallel", | ||
"./gradlew :datahub-frontend:build :datahub-web-react:build --parallel", | ||
"./gradlew :metadata-ingestion-modules:airflow-plugin:build --parallel" | ||
] | ||
timezone: | ||
[ | ||
"UTC", | ||
"America/New_York", | ||
command: [ | ||
# metadata-ingestion and airflow-plugin each have dedicated build jobs | ||
"except_metadata_ingestion", | ||
"frontend", | ||
] | ||
timezone: ["UTC", "America/New_York"] | ||
runs-on: ubuntu-latest | ||
timeout-minutes: 60 | ||
steps: | ||
- uses: szenius/[email protected] | ||
with: | ||
timezoneLinux: ${{ matrix.timezone }} | ||
- uses: actions/checkout@v3 | ||
with: | ||
fetch-depth: 800 | ||
- uses: hsheth2/sane-checkout-action@v1 | ||
- name: Set up JDK 11 | ||
uses: actions/setup-java@v3 | ||
with: | ||
distribution: "zulu" | ||
java-version: 11 | ||
- uses: actions/setup-python@v4 | ||
with: | ||
python-version: "3.7" | ||
- name: Gradle build (and test) | ||
python-version: "3.10" | ||
cache: pip | ||
- name: Gradle build (and test) for metadata ingestion | ||
# we only need the timezone runs for frontend tests | ||
if: ${{ matrix.command == 'except_metadata_ingestion' && matrix.timezone == 'America/New_York' }} | ||
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 -x :metadata-ingestion-modules:airflow-plugin:build -x :metadata-ingestion-modules:airflow-plugin:check -x :datahub-frontend:build -x :datahub-web-react:build --parallel | ||
- name: Gradle build (and test) for frontend | ||
if: ${{ matrix.command == 'frontend' }} | ||
run: | | ||
${{ matrix.command }} | ||
./gradlew :datahub-frontend:build :datahub-web-react:build --parallel | ||
env: | ||
NODE_OPTIONS: "--max-old-space-size=3072" | ||
- uses: actions/upload-artifact@v3 | ||
|
@@ -81,7 +81,7 @@ jobs: | |
- uses: actions/checkout@v3 | ||
- uses: actions/setup-python@v4 | ||
with: | ||
python-version: "3.7" | ||
python-version: "3.10" | ||
- name: Download YQ | ||
uses: chrisdickinson/[email protected] | ||
with: | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
[actionlint] reported by reviewdog 🐶
property "extrapythonrequirement" is not defined in object type {extra_pip_extras: string; extra_pip_requirements: string; python-version: number} [expression]