Skip to content
This repository has been archived by the owner on Aug 21, 2024. It is now read-only.

Commit

Permalink
Debug statements
Browse files Browse the repository at this point in the history
  • Loading branch information
barankyle committed Feb 20, 2024
1 parent 326dbb2 commit d3c1df2
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 1 deletion.
4 changes: 4 additions & 0 deletions packages/server-core/src/projects/project/project-helper.ts
Original file line number Diff line number Diff line change
Expand Up @@ -1794,13 +1794,17 @@ export const uploadLocalProjectToProvider = async (
}
}
results.push(getCachedURL(`projects/${projectName}${filePathRelative}`, cacheDomain))
console.log('pushed to results', getCachedURL(`projects/${projectName}${filePathRelative}`, cacheDomain))
} catch (e) {
logger.error(e)
results.push(null)
}
}
console.log('Finished uploading all file for project', projectName)
if (!hasResourceDB) {
console.log('Making projectResource for', projectName)
await app.service(projectResourcesPath).create({ project: projectName })
console.log('finish')
}
logger.info(`uploadLocalProjectToProvider for project "${projectName}" ended at "${new Date()}".`)
return results.filter((success) => !!success) as string[]
Expand Down
2 changes: 1 addition & 1 deletion scripts/run-builder.sh
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ npx cross-env ts-node --swc scripts/check-db-exists.ts
npm run prepare-database
npm run create-build-status
BUILDER_RUN=$(tail -1 builder-run.txt)
npx ts-node --swc --transpile-only scripts/install-projects.js >project-install-build-logs.txt 2>project-install-build-error.txt || npm run record-build-error -- --service=project-install
NODE_OPTIONS="--max-old-space-size=4096" npx ts-node --swc --transpile-only scripts/install-projects.js >project-install-build-logs.txt 2>project-install-build-error.txt || npm run record-build-error -- --service=project-install
test -s project-install-build-error.txt && npm run record-build-error -- --service=project-install
npx cross-env ts-node --swc scripts/create-root-package-json.ts
mv package.json package.jsonmoved
Expand Down

0 comments on commit d3c1df2

Please sign in to comment.