mirror of
https://github.com/open-metadata/OpenMetadata.git
synced 2025-11-06 13:31:28 +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 [[ $skipMaven == "false" ]]; then
|
||||||
if [[ $mode == "no-ui" ]]; then
|
if [[ $mode == "no-ui" ]]; then
|
||||||
echo "Maven Build - Skipping Tests and UI"
|
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
|
else
|
||||||
echo "Maven Build - Skipping Tests"
|
echo "Maven Build - Skipping Tests"
|
||||||
mvn -q -DskipTests clean package
|
mvn -DskipTests clean package
|
||||||
fi
|
fi
|
||||||
else
|
else
|
||||||
echo "Skipping Maven Build"
|
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")
|
for file_with_dir in $(find $tmp_dir -name "*.json" | sed -e "s/${escaped_tmp_dir}//g")
|
||||||
do
|
do
|
||||||
joblist=$(jobs | wc -l)
|
joblist=$(jobs | wc -l)
|
||||||
while [ ${joblist} -ge 30 ]
|
while [ ${joblist} -ge 10 ]
|
||||||
do
|
do
|
||||||
sleep 1
|
sleep 1
|
||||||
joblist=$(jobs | wc -l)
|
joblist=$(jobs | wc -l)
|
||||||
|
|||||||
@ -14,7 +14,7 @@
|
|||||||
"scripts": {
|
"scripts": {
|
||||||
"start": "NODE_ENV=development BABEL_ENV=development webpack serve --config ./webpack.config.dev.js --env development",
|
"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",
|
"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",
|
"postinstall": "yarn run build-check",
|
||||||
"pre-commit": "lint-staged --concurrent false",
|
"pre-commit": "lint-staged --concurrent false",
|
||||||
"test": "jest --passWithNoTests --maxWorkers=3 --silent",
|
"test": "jest --passWithNoTests --maxWorkers=3 --silent",
|
||||||
|
|||||||
@ -23,7 +23,6 @@ import {
|
|||||||
LabelType,
|
LabelType,
|
||||||
State,
|
State,
|
||||||
TagSource,
|
TagSource,
|
||||||
TypeEnum,
|
|
||||||
} from '../generated/entity/services/databaseService';
|
} from '../generated/entity/services/databaseService';
|
||||||
import {
|
import {
|
||||||
MessagingService,
|
MessagingService,
|
||||||
@ -80,7 +79,7 @@ export const MOCK_DATABASE_SERVICE: DatabaseService = {
|
|||||||
hostPort: 'localhost:1234',
|
hostPort: 'localhost:1234',
|
||||||
credentials: {
|
credentials: {
|
||||||
gcpConfig: {
|
gcpConfig: {
|
||||||
type: TypeEnum.ServiceAccount,
|
type: 'service_account',
|
||||||
projectId: ['projectID'],
|
projectId: ['projectID'],
|
||||||
privateKeyId: 'privateKeyId',
|
privateKeyId: 'privateKeyId',
|
||||||
privateKey: '*********',
|
privateKey: '*********',
|
||||||
|
|||||||
@ -11,10 +11,11 @@
|
|||||||
"url": "https://github.com/open-metadata/OpenMetadata.git"
|
"url": "https://github.com/open-metadata/OpenMetadata.git"
|
||||||
},
|
},
|
||||||
"devDependencies": {
|
"devDependencies": {
|
||||||
"quicktype": "^23.0.170"
|
"quicktype": "^17.0.6",
|
||||||
|
"node-gyp": "^10.0.1"
|
||||||
},
|
},
|
||||||
"scripts": {
|
"scripts": {
|
||||||
"preinstall": "yarn global add node-gyp",
|
"preinstall": "yarn global add node-gyp",
|
||||||
"test": "echo \"Error: no test specified\" && exit 1"
|
"test": "echo \"Error: no test specified\" && exit 1"
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user