mirror of
https://github.com/open-metadata/OpenMetadata.git
synced 2025-11-03 03:59:12 +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-clients/**"
|
||||
- "common/**"
|
||||
- "pom.xml"
|
||||
- "yarn.lock"
|
||||
- "Makefile"
|
||||
- "bootstrap/**"
|
||||
|
||||
jobs:
|
||||
test:
|
||||
|
||||
2
.github/workflows/maven-build.yml
vendored
2
.github/workflows/maven-build.yml
vendored
@ -26,6 +26,7 @@ on:
|
||||
- "pom.xml"
|
||||
- "yarn.lock"
|
||||
- "Makefile"
|
||||
- "bootstrap/**"
|
||||
pull_request_target:
|
||||
types: [labeled, opened, synchronize, reopened]
|
||||
paths:
|
||||
@ -38,6 +39,7 @@ on:
|
||||
- "pom.xml"
|
||||
- "yarn.lock"
|
||||
- "Makefile"
|
||||
- "bootstrap/**"
|
||||
|
||||
permissions:
|
||||
contents: read
|
||||
|
||||
@ -188,15 +188,15 @@ and json#>'{connection,config,personalAccessTokenSecret}' is not null;
|
||||
|
||||
-- Removed property from metadataService.json
|
||||
UPDATE metadata_service_entity
|
||||
SET json = json::jsonb #- '{,allowServiceCreation}'
|
||||
SET json = json::jsonb #- '{allowServiceCreation}'
|
||||
WHERE serviceType in ('Amundsen', 'Atlas', 'MetadataES', 'OpenMetadata');
|
||||
|
||||
UPDATE metadata_service_entity
|
||||
SET json = JSONB_SET(json::jsonb, '{provider}', 'system')
|
||||
SET json = JSONB_SET(json::jsonb, '{provider}', '"system"')
|
||||
WHERE name = 'OpenMetadata';
|
||||
|
||||
-- Fix Glue sample data endpoint URL to be a correct URI
|
||||
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'
|
||||
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