mirror of
https://github.com/open-metadata/OpenMetadata.git
synced 2025-11-03 12:08:31 +00:00
revert quicktype bump since for CI issue (#17934)
* enable logging for debugging * remove node-gyp * add node-gyp globally before installing deps * reduce quick type to 10 * revert quicktype and node-gyp changes for CI * fix unit tests
This commit is contained in:
parent
13552a6304
commit
b0563ccf98
@ -56,10 +56,10 @@ docker compose -f docker/development/docker-compose.yml down
|
||||
if [[ $skipMaven == "false" ]]; then
|
||||
if [[ $mode == "no-ui" ]]; then
|
||||
echo "Maven Build - Skipping Tests and UI"
|
||||
mvn -q -DskipTests -DonlyBackend clean package -pl !openmetadata-ui
|
||||
mvn -DskipTests -DonlyBackend clean package -pl !openmetadata-ui
|
||||
else
|
||||
echo "Maven Build - Skipping Tests"
|
||||
mvn -q -DskipTests clean package
|
||||
mvn -DskipTests clean package
|
||||
fi
|
||||
else
|
||||
echo "Skipping Maven Build"
|
||||
|
||||
@ -62,7 +62,7 @@ getTypes(){
|
||||
for file_with_dir in $(find $tmp_dir -name "*.json" | sed -e "s/${escaped_tmp_dir}//g")
|
||||
do
|
||||
joblist=$(jobs | wc -l)
|
||||
while [ ${joblist} -ge 30 ]
|
||||
while [ ${joblist} -ge 10 ]
|
||||
do
|
||||
sleep 1
|
||||
joblist=$(jobs | wc -l)
|
||||
|
||||
@ -14,7 +14,7 @@
|
||||
"scripts": {
|
||||
"start": "NODE_ENV=development BABEL_ENV=development webpack serve --config ./webpack.config.dev.js --env development",
|
||||
"build": "NODE_ENV=production BABEL_ENV=production webpack --config ./webpack.config.prod.js --env production",
|
||||
"preinstall": "cd ../../../../.. && yarn install --frozen-lockfile",
|
||||
"preinstall": "cd ../../../../.. && yarn global add node-gyp && yarn install --frozen-lockfile",
|
||||
"postinstall": "yarn run build-check",
|
||||
"pre-commit": "lint-staged --concurrent false",
|
||||
"test": "jest --passWithNoTests --maxWorkers=3 --silent",
|
||||
|
||||
@ -23,7 +23,6 @@ import {
|
||||
LabelType,
|
||||
State,
|
||||
TagSource,
|
||||
TypeEnum,
|
||||
} from '../generated/entity/services/databaseService';
|
||||
import {
|
||||
MessagingService,
|
||||
@ -80,7 +79,7 @@ export const MOCK_DATABASE_SERVICE: DatabaseService = {
|
||||
hostPort: 'localhost:1234',
|
||||
credentials: {
|
||||
gcpConfig: {
|
||||
type: TypeEnum.ServiceAccount,
|
||||
type: 'service_account',
|
||||
projectId: ['projectID'],
|
||||
privateKeyId: 'privateKeyId',
|
||||
privateKey: '*********',
|
||||
|
||||
@ -11,10 +11,11 @@
|
||||
"url": "https://github.com/open-metadata/OpenMetadata.git"
|
||||
},
|
||||
"devDependencies": {
|
||||
"quicktype": "^23.0.170"
|
||||
"quicktype": "^17.0.6",
|
||||
"node-gyp": "^10.0.1"
|
||||
},
|
||||
"scripts": {
|
||||
"preinstall": "yarn global add node-gyp",
|
||||
"test": "echo \"Error: no test specified\" && exit 1"
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user