mirror of
https://github.com/open-metadata/OpenMetadata.git
synced 2025-11-16 02:42:00 +00:00
Fix postgres migrations & Update maven CI triggers (#11087)
* Fix postgres migrations * Update workflow trigger
This commit is contained in:
parent
b82abd5047
commit
b34786f6d6
4
.github/workflows/maven-build-skip.yml
vendored
4
.github/workflows/maven-build-skip.yml
vendored
@ -24,6 +24,10 @@ on:
|
|||||||
- "openmetadata-dist/**"
|
- "openmetadata-dist/**"
|
||||||
- "openmetadata-clients/**"
|
- "openmetadata-clients/**"
|
||||||
- "common/**"
|
- "common/**"
|
||||||
|
- "pom.xml"
|
||||||
|
- "yarn.lock"
|
||||||
|
- "Makefile"
|
||||||
|
- "bootstrap/**"
|
||||||
|
|
||||||
jobs:
|
jobs:
|
||||||
test:
|
test:
|
||||||
|
|||||||
2
.github/workflows/maven-build.yml
vendored
2
.github/workflows/maven-build.yml
vendored
@ -26,6 +26,7 @@ on:
|
|||||||
- "pom.xml"
|
- "pom.xml"
|
||||||
- "yarn.lock"
|
- "yarn.lock"
|
||||||
- "Makefile"
|
- "Makefile"
|
||||||
|
- "bootstrap/**"
|
||||||
pull_request_target:
|
pull_request_target:
|
||||||
types: [labeled, opened, synchronize, reopened]
|
types: [labeled, opened, synchronize, reopened]
|
||||||
paths:
|
paths:
|
||||||
@ -38,6 +39,7 @@ on:
|
|||||||
- "pom.xml"
|
- "pom.xml"
|
||||||
- "yarn.lock"
|
- "yarn.lock"
|
||||||
- "Makefile"
|
- "Makefile"
|
||||||
|
- "bootstrap/**"
|
||||||
|
|
||||||
permissions:
|
permissions:
|
||||||
contents: read
|
contents: read
|
||||||
|
|||||||
@ -188,15 +188,15 @@ and json#>'{connection,config,personalAccessTokenSecret}' is not null;
|
|||||||
|
|
||||||
-- Removed property from metadataService.json
|
-- Removed property from metadataService.json
|
||||||
UPDATE metadata_service_entity
|
UPDATE metadata_service_entity
|
||||||
SET json = json::jsonb #- '{,allowServiceCreation}'
|
SET json = json::jsonb #- '{allowServiceCreation}'
|
||||||
WHERE serviceType in ('Amundsen', 'Atlas', 'MetadataES', 'OpenMetadata');
|
WHERE serviceType in ('Amundsen', 'Atlas', 'MetadataES', 'OpenMetadata');
|
||||||
|
|
||||||
UPDATE metadata_service_entity
|
UPDATE metadata_service_entity
|
||||||
SET json = JSONB_SET(json::jsonb, '{provider}', 'system')
|
SET json = JSONB_SET(json::jsonb, '{provider}', '"system"')
|
||||||
WHERE name = 'OpenMetadata';
|
WHERE name = 'OpenMetadata';
|
||||||
|
|
||||||
-- Fix Glue sample data endpoint URL to be a correct URI
|
-- Fix Glue sample data endpoint URL to be a correct URI
|
||||||
UPDATE dbservice_entity
|
UPDATE dbservice_entity
|
||||||
SET json = JSONB_SET(json::jsonb, '{connection,config,awsConfig,endPointURL}', 'https://glue.region_name.amazonaws.com/')
|
SET json = JSONB_SET(json::jsonb, '{connection,config,awsConfig,endPointURL}', '"https://glue.region_name.amazonaws.com/"')
|
||||||
WHERE serviceType = 'Glue'
|
WHERE serviceType = 'Glue'
|
||||||
AND json#>'{connection,config,awsConfig,endPointURL}' = 'https://glue.<region_name>.amazonaws.com/';
|
AND json#>'{connection,config,awsConfig,endPointURL}' = '"https://glue.<region_name>.amazonaws.com/"';
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user